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

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

tmcfadden

Board Regular
Joined
Aug 17, 2005
Messages
151
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 )
 

Forum statistics

Threads
1,141,681
Messages
5,707,791
Members
421,527
Latest member
Tamiwsw

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
Top