If using OR formula help

orsm6

Well-known Member
Joined
Oct 3, 2012
Messages
511
Office Version
  1. 365
Platform
  1. Windows
Hi,

I am trying to use an IF formula (which works as it is now) but i also want to do the same calculation if another cell is populated. here is the formula so far:

Code:
=IF(E36="ON",(E29*0.9)*'SetMix Calc'!$L$60,E29*'SetMix Calc'!$L$60)

how can i expand on the above formula to look at D33 also and if there is a value do this
Code:
(E36="ON",(D33*0.9)*'SetMix Calc'!$L$60,D33*'SetMix Calc'!$L$60)

thanks
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
What value in D33 ?
and do the same thing as in E36 ??
 
Upvote 0
the value will be a random number

yes... it will look to see if e36 is on and do same equation but to the value in cell d33

the cell that holds the formula is D52


What value in D33 ?
and do the same thing as in E36 ??
 
Upvote 0
Maybe this
Where D33 AND E36 must have values

Code:
=IF(AND(D33<>"",E36="ON"),E29*0.9*'SetMix Calc'!$L$60,E29*'SetMix Calc'!$L$60)
 
Upvote 0
Thanks for your help Michael.... this is almost what i am looking for

i don't know how to explain it, i need to somehow combine the following formulas into one IF formula

if E29 is this ... then do that .. but if D33 is this then do that..

Code:
=IF(E36="ON",(E29*0.9)*'SetMix Calc'!$L$60,E29*'SetMix Calc'!$L$60)
=IF(E36="ON",(D33*0.9)*'SetMix Calc'!$L$60,D33*'SetMix Calc'!$L$60)

Maybe this
Where D33 AND E36 must have values

Code:
=IF(AND(D33<>"",E36="ON"),E29*0.9*'SetMix Calc'!$L$60,E29*'SetMix Calc'!$L$60)
 
Upvote 0
Jusr write the 2 formulas you require SEPERATELY...and we'll combine them for you
 
Upvote 0
Maybe (assuming if D33 has some value, the result would ignore E29)

=IF(AND(D33<>"",E36="ON"),(D33*0.9)*'SetMix Calc'!$L$60,IF(D33<>"",D33*'SetMix Calc'!$L$60,IF(E36="ON",(E29*0.9)*'SetMix Calc'!$L$60,E29*'SetMix Calc'!$L$60)))
 
Upvote 0
thank you very much, this does exactly what i need it to do.

Maybe (assuming if D33 has some value, the result would ignore E29)

=IF(AND(D33<>"",E36="ON"),(D33*0.9)*'SetMix Calc'!$L$60,IF(D33<>"",D33*'SetMix Calc'!$L$60,IF(E36="ON",(E29*0.9)*'SetMix Calc'!$L$60,E29*'SetMix Calc'!$L$60)))
 
Upvote 0

Forum statistics

Threads
1,223,958
Messages
6,175,636
Members
452,662
Latest member
Aman1997

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