Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 42
Default Simple nested if statement

Hi all

Very basic If statement, but my Excel's a bit rubbish!

Trying to get the following result in column B with a whole range of values
in column B:

0-3,500 = 0.5%
3,501-10,000 = 1.0%
10,001-upwards = 1.5%

Using the following formula but some of the results are coming out
incorrectly. Also, I don't think it's the best way to do this?

=IF(A210000,1.5,IF(3500<A2<10000,1,IF(A2<3500,0.5 ,1)))

Thanks in advance,

Mike

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,533
Default Simple nested if statement

Hi Mike

Try this:

=IF(A2<=3500,0.5,IF(A2<=10000,1,1.5))

Regards,
Per

"mike_vr" skrev i meddelelsen
...
Hi all

Very basic If statement, but my Excel's a bit rubbish!

Trying to get the following result in column B with a whole range of
values
in column B:

0-3,500 = 0.5%
3,501-10,000 = 1.0%
10,001-upwards = 1.5%

Using the following formula but some of the results are coming out
incorrectly. Also, I don't think it's the best way to do this?

=IF(A210000,1.5,IF(3500<A2<10000,1,IF(A2<3500,0.5 ,1)))

Thanks in advance,

Mike


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nested If Statement Tracey Excel Discussion (Misc queries) 5 September 3rd 08 01:55 PM
Nested IF/AND Statement buffgirl71 Excel Discussion (Misc queries) 1 October 10th 06 01:59 AM
Nested If Statement guilbj2 Excel Discussion (Misc queries) 4 February 27th 06 04:01 PM
NESTED IF STATEMENT jmsbert Excel Worksheet Functions 10 October 10th 05 04:25 PM
Nested If statement rsbergeron Excel Worksheet Functions 1 June 30th 05 10:19 PM


All times are GMT +1. The time now is 02:13 PM.

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

About Us

"It's about Microsoft Excel"