A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

I think I need a multiple IF statement, or is there another way?



 
 
Thread Tools Display Modes
  #1  
Old March 18th, 2010, 09:51 AM posted to microsoft.public.excel.worksheet.functions
Carl Waring
external usenet poster
 
Posts: 2
Default I think I need a multiple IF statement, or is there another way?

I can do the simple stuff, but this is more complicated!

In English, this is what I want to do

If the number in [cell] is =X then take off %
then
If the number in [cell] is =Y then take off a further %
then
If the number in [cell] is =Z then take off a further %
then
Display result

It's probably as nested IF statement, but I don't know how to construct it.

Thanks.
  #2  
Old March 18th, 2010, 10:00 AM posted to microsoft.public.excel.worksheet.functions
Carl Waring
external usenet poster
 
Posts: 2
Default I think I need a multiple IF statement, or is there another way?

Actually, scratch that. I mis-interpreted what I needed to do but I can't
edit or delete the post :-( That said, it still might be useful to know ;-)

This is what I need to know!

If the number in [cell] is =X then take off A%
then
If the number in [cell] is =X then take off B%
then
If the number in [cell] is =X then take off C%
then
Display result


Thanks.
  #3  
Old March 18th, 2010, 10:15 AM posted to microsoft.public.excel.worksheet.functions
Bob Phillips[_3_]
external usenet poster
 
Posts: 489
Default I think I need a multiple IF statement, or is there another way?

Try

=IF(A2=x,A2*90%,IF(A2=Y,A2*80%,IF(A2=Z,A2*75%,A 2)))

--

HTH

Bob

"Carl Waring" wrote in message
...
I can do the simple stuff, but this is more complicated!

In English, this is what I want to do

If the number in [cell] is =X then take off %
then
If the number in [cell] is =Y then take off a further %
then
If the number in [cell] is =Z then take off a further %
then
Display result

It's probably as nested IF statement, but I don't know how to construct
it.

Thanks.



  #4  
Old March 18th, 2010, 10:25 AM posted to microsoft.public.excel.worksheet.functions
Ron Rosenfeld
external usenet poster
 
Posts: 3,719
Default I think I need a multiple IF statement, or is there another way?

On Thu, 18 Mar 2010 03:00:01 -0700, Carl Waring
wrote:

Actually, scratch that. I mis-interpreted what I needed to do but I can't
edit or delete the post :-( That said, it still might be useful to know ;-)

This is what I need to know!

If the number in [cell] is =X then take off A%
then
If the number in [cell] is =X then take off B%
then
If the number in [cell] is =X then take off C%
then
Display result


Thanks.


I'm not sure you've stated it correctly, but something like:

=if(cell=x,(1-a-b-c)*x,x)

--ron
  #5  
Old March 18th, 2010, 10:53 AM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default I think I need a multiple IF statement, or is there another wa

=A1-(A1*IF(A1=50,10%,IF(A1=100,20%,IF(A1=500,30%))) )

--
Jacob


"Carl Waring" wrote:

Actually, scratch that. I mis-interpreted what I needed to do but I can't
edit or delete the post :-( That said, it still might be useful to know ;-)

This is what I need to know!

If the number in [cell] is =X then take off A%
then
If the number in [cell] is =X then take off B%
then
If the number in [cell] is =X then take off C%
then
Display result


Thanks.

  #6  
Old March 18th, 2010, 10:57 AM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default I think I need a multiple IF statement, or is there another wa

One way using IF()

=A1-(A1*IF(A1=50,10%,IF(A1=100,20%,IF(A1=500,30%))) )

--
Jacob


"Carl Waring" wrote:

Actually, scratch that. I mis-interpreted what I needed to do but I can't
edit or delete the post :-( That said, it still might be useful to know ;-)

This is what I need to know!

If the number in [cell] is =X then take off A%
then
If the number in [cell] is =X then take off B%
then
If the number in [cell] is =X then take off C%
then
Display result


Thanks.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:00 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.