IF function with simple muliplication not working...

dougan

New Member
Joined
Apr 9, 2014
Messages
2
I´ve been trying to get the following to work in excel:
Rules are:

IF
E10<30 THEN E22==0
IF
E10>=91 BUT E10<=180 THEN E22=(L24*7)
IF
E10>=181 BUT E10<=364 THEN E22=(L24*15)
IF
E10>=365 THEN E22=(L24*30)

In the following formulation:
=IF(E10<90, E22==0,IF((E10>=91 AND(E10<=180)), L24*7),), IF(E10>=181 OR IF(E10<=364, L24*15) IF(E10>=365, L24*30)
but guess what....
DENIED!

Can you help me out? I´m starting to tear my hair off!!
BIG THANKS!!!
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Hi and welcome to the board,

What is the result if E10 is between 30 and 90?
 
Upvote 0
I have the value between 30 and 90 set to L24 for now. This should work:

=IF(E10 < 3 0,0,IF(AND(E10 >= 31,E10 <= 90),L24,IF(AND(E10 >= 91,E10 <= 180),L24*7,IF(AND(E10 >= 181,E10 <= 364),L24*15,IF(E10 >= 365,L24*30,"")))))
 
Upvote 0
you sir are a GOD:eek:

I've been trying to do this for the last THREE DAYS with obviously (and sadly) no results.... THANK THANK THANK YOU!!! :pray::pray::pray:

(btw the value between 30 and 90 was L24*3.75, I forgot to specify it)
 
Upvote 0

Forum statistics

Threads
1,216,129
Messages
6,129,047
Members
449,482
Latest member
al mugheen

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