More Formula help...

Utradeshow

Well-known Member
Joined
Apr 26, 2004
Messages
769
Ok I have a cell that I need this function.

D2 will be the input cell and the formula will be in J2.

If D =1 then 4%
If D = 2 then 0%
If D =3 then 2% minimum $60.00 and a maximum of $120.00
If D =4 then 0%
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Is this what you were looking for:
Code:
Choose(D2,.04*A1,0,MIN(MAX(.02*A1,60),120),0)

HTH,
~Gold Fish
 
Upvote 0
Well I know this isn't right but something like this.

=IF(D2=1,4,"",IF(D2=2,0,"",IF(D2=3,MIN,60,MAX,120,IF(D2=4,0,""
 
Upvote 0
I don't understand step 3 at all:
If D =3 then 2% minimum $60.00 and a maximum of $120.00

Do you want this cell to have a value of 2% or something else... and if so, where does the min and max come in? in your psudo-example you don't even include the 2%, so I'm a bit lost.
 
Upvote 0
Actually I messed up.... All I need is this

If D2 =1 then 4%
If D2 = 2 then 0%
If D2 =3 then 2%
If D2 =4 then 0%
 
Upvote 0

Forum statistics

Threads
1,214,593
Messages
6,120,435
Members
448,961
Latest member
nzskater

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