IF formulas

pmb81

New Member
Joined
Mar 2, 2012
Messages
9
Hello, I need help coming up with the proper IF formula for the 2 below scenarios written out in plan English. Any help is appreciated!!

If D3 is greater than or equal to 90% but less than 100%, E3 = 5. If D3 is greater than or equal to 100% but less than 110%, E3 = 15. If D3 is greater than or equal to 110%, E3 = 25. If D3 is less than 90%, E3 = 0.

If L3 is greater than or equal to 90% but less than or equal to 99%, M3 = 5. If L3 is greater than or equal to 100%, M3 = 10. If L3 is less than 90%, M3 = 0.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
pmb81,

Here's one way. Use this formula in cell E3:
=IF(AND(D3>=0.9,D3<1),5,IF(AND(D3>=1,D3<1.1),15,IF(D3>=1.1,25,0)))
 
Upvote 0
Hi, welcome to the board.

For E3 . . .

=if(D3< .9,0,if(D3< 1,5,if(D3< 1.1,15,25)))

For M3 . . .

=if(L3< .9,0,if(L3<= .99,5,10))

Alternatively, you can do this with LOOKUP formulas, such as VLOOKUP, which would be a good way to go especially if you start adding in more conditions for E3 or M3.
 
Upvote 0
Beautiful! Thank you so much for the help.

I'm hoping you can also help me with this scenario:

in N3 for every multiple of 10,000 I need to enter 3 points in O3.
So:
if N3 = 10,000, then O3 = 3
if N3 = 20,000, then O3 = 6
if N3 = 30,000, then O3 = 9
if N3 = 9,999 then O3 = 0

Is there a formula that would help me accomplish this?
 
Upvote 0
Perhaps something like this
=rounddown(N3/10000,0)*3

This will give 3 for 15,000, which I assume is what you want.
 
Upvote 0
Wonderful. You have know idea how much time you've saved me! Thank you all for your help!
 
Upvote 0
okay hopefully this is my last and final question. I'm not sure if it still qualifies as an IF statement.

I have 4 columns that each could have a 1 or a 0 in it. If all 4 columns have a 1 then i need the 5th column to populate a 5. If even just one of the columns has a 0 (for instance 3 1's and 1 0) then the 5th column should populate a 0.

So:
S4=1, T4=1, U4=1, V4=1. Therefore W4 = 5
S4=1, T4=0, U4=1, V4=1. Therefore W4 = 0
S4=1, T4=0, U4=0, V4=1. Therefore W4 = 0

Does anyone have any idea how to approach this one?
 
Upvote 0
that worked perfectly, what about this?

W10, W11, and W12 could either have a 5 or a 0 as the value. If all 3 of the cells have a 5 in it then I need to place a 5 in X10. If even just one of the cells has a 0 in it (it could be one 0 or up to 3 0's), then I need to place a 0 in X10.
 
Upvote 0

Forum statistics

Threads
1,216,111
Messages
6,128,898
Members
449,477
Latest member
panjongshing

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