Formula Help

Utradeshow

Well-known Member
Joined
Apr 26, 2004
Messages
769
Hey Guy's I need a formula in cell D1 that performes this function??
Book1
ABCD
1??????
2
3IfA1=1andB1=1or2,then1.5%*C1
4IfA1=2or3then$0
5IFA1=4andB1=1or2,then1.0%*C1
Sheet1
 

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.
I might be off by a parantheses or two but this is the jist of it. Good luck

=if(AND(A1=1,OR(B1=1,B1=2)),C1*0.015,if(OR(A1=2,A1=3),0,if(AND(A1=4,OR(B1=1,B1=2)),C1*0.01,NA())))
 
Upvote 0
Try


=IF(AND(A1=1,OR(B1=1,B1=2)),C1*0.015,IF(OR(A1=2,A1=3),0,IF(AND(A1=4,OR(B1=1,B1=2)),C1*0.01,"Something Else")))
 
Upvote 0
Try


=IF(AND(A1=1,OR(B1=1,B1=2)),C1*0.015,IF(OR(A1=2,A1=3),0,IF(AND(A1=4,OR(B1=1,B1=2)),C1*0.01,"Something Else")))

This one seems to do what I need, actually the other one did also, but I couldn't get the N/A to be 0 when "3" was entered
 
Upvote 0

Forum statistics

Threads
1,215,633
Messages
6,125,925
Members
449,274
Latest member
mrcsbenson

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