Nested Excel IF Statement Issues

TanishaS09

New Member
Joined
Jun 3, 2019
Messages
6
Hello,

I am having problems trying to get this statement to work; specifically for the portion that is supposed to look for any numbers between 1 and 2 and then perform the calcualtion. Can someone take a look to see what I am doing incorrectly? Thanking you in advance.
=IF(B38<1,0, IF(B38=1,7.2, IF(OR(B38>1,B38<2,(7.2+((B38-1)*4.8)), IF(B38>2,12,FALSE)))))
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
I suspect it's a paren issue, as well as an AND condition.

Try this:

Rich (BB code):
=IF(B38<1,0, IF(B38=1,7.2, IF(AND(B38>1,B38<2),7.2+(B38-1)*4.8, 12)))
 
Last edited:
Upvote 0
Try
Code:
=IF(B38<1,0, IF(B38=1,7.2, IF(AND(B38>1,B38<2),7.2+((B38-1)*4.8), IF(B38>2,12,FALSE))))
 
Upvote 0
Something like this could work:

=IF(B38<1,0,MIN(12,7.2+(B38-1)*4.8))

or even:

=(B38>=1)*MIN(12,2.4+B38*4.8)
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,195
Members
452,616
Latest member
intern444

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