More Formula help...

Utradeshow

Well-known Member
Joined
Apr 26, 2004
Messages
747
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

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

goldfish

Well-known Member
Joined
Aug 23, 2005
Messages
712
Is this what you were looking for:
Code:
Choose(D2,.04*A1,0,MIN(MAX(.02*A1,60),120),0)

HTH,
~Gold Fish
 

Utradeshow

Well-known Member
Joined
Apr 26, 2004
Messages
747
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,""
 

goldfish

Well-known Member
Joined
Aug 23, 2005
Messages
712

ADVERTISEMENT

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.
 

Utradeshow

Well-known Member
Joined
Apr 26, 2004
Messages
747
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%
 

Watch MrExcel Video

Forum statistics

Threads
1,130,110
Messages
5,640,147
Members
417,127
Latest member
shakilk

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
Top