#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default IF STATEMENT

I NEED HELP WITH THE FOLLOWING IF STATEMENT:
IF A1 IS BETWEEN 1% AND 1.9% =50
IF A1 IS BETWEEN 2% AND 2.9% =100
IF A1 IS 4% OR MORE =150



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 207
Default IF STATEMENT

What if A1 is between 3% and 3.9%?

"TRYIN" wrote in message
...
I NEED HELP WITH THE FOLLOWING IF STATEMENT:
IF A1 IS BETWEEN 1% AND 1.9% =50
IF A1 IS BETWEEN 2% AND 2.9% =100
IF A1 IS 4% OR MORE =150





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default IF STATEMENT

I'll bet this is what you really meant:

=1% but <=1.9% = 50
=2% but <=2.9% = 100
2.9% = 150


=IF(A12.9%,150,IF(A1=2%,100,IF(A1=1%,50,0)))

--
Biff
Microsoft Excel MVP


"TRYIN" wrote in message
...
I NEED HELP WITH THE FOLLOWING IF STATEMENT:
IF A1 IS BETWEEN 1% AND 1.9% =50
IF A1 IS BETWEEN 2% AND 2.9% =100
IF A1 IS 4% OR MORE =150





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 207
Default IF STATEMENT

=IF(AND(A1=0.01,A1<=0.019),50,IF(AND(A1=0.02,A1< =0.03),100,IF(A1=0.04,150,"")))

add the condition for 3%-3.9% and turn off the caps lock if posting back.


"TRYIN" wrote in message
...
I NEED HELP WITH THE FOLLOWING IF STATEMENT:
IF A1 IS BETWEEN 1% AND 1.9% =50
IF A1 IS BETWEEN 2% AND 2.9% =100
IF A1 IS 4% OR MORE =150





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default IF STATEMENT

Not sure about your ranges, but....

Try this:
=LOOKUP(A1*100,{0,1,2,3},{0,50,100,150})

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"TRYIN" wrote in message
...
I NEED HELP WITH THE FOLLOWING IF STATEMENT:
IF A1 IS BETWEEN 1% AND 1.9% =50
IF A1 IS BETWEEN 2% AND 2.9% =100
IF A1 IS 4% OR MORE =150







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
Can an If statement answer an If statement? M.A.Tyler Excel Discussion (Misc queries) 2 June 24th 07 04:14 AM
If Then Statement Add to distribution list without opening Excel Discussion (Misc queries) 4 October 20th 06 12:16 AM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM
If statement and Isblank statement Rodney C. Excel Worksheet Functions 0 January 18th 05 08:39 PM
Help please, IF statement/SUMIF statement Brad_A Excel Worksheet Functions 23 January 11th 05 02:24 PM


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

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

About Us

"It's about Microsoft Excel"