Problems with multiple IF statement in one formula

matshovelius

New Member
Joined
Sep 27, 2006
Messages
2
I like to create a formula with three possible outcomes.

If the value in specified cell is less then 50% cellvalue shall be 1
If the cellvalue in a specified cell is larger then 60% cellvalue shall be 1
If the cellvalue in the specified cell not applies to any of the above it shall be 0 (i.e value between 50% and 60%)

Can someone help me to create a formula for this?

Thanks!

Mats
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Something like this?
Code:
=IF(A1<.5,1,IF(A1>.6,1,0))

The key is that you can embed another IF statement in the ELSE portion.

Another option is to use an OR function:

Code:
=IF(OR(A1<0.5,A1>0.6),1,0)

-Tim


[edit] ( I should have read closer )
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,561
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top