formula / lookup table

wbaid

New Member
Joined
Aug 19, 2008
Messages
37
I have to do lookup table.

something like this

if (a-b)>=75% then (a-b) * 25 and if (a-b)>-60% and less then then 74.9% then (a-b) * 15

I know its too complicated but any help will be appreciated.

Thank you.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
I don't see how this is any kind of lookup table. But for A1 & B1:
=IF(A1-B1>=75%,(A1-B1)*25,if(A1-B1>=60%,(A1-B1)*15,0))

You didn't say what you want to see if a-b is <60%, so I entered 0. Also, your example said >-60%, and I'm assuming you meant >=60%
 
Upvote 0
you've only listed two items which is hardly worth setting up a lookup table.

You could try this formula instead

=IF((A1-B1)>75%,(A1-B1) * 25,IF(AND((A1-B1)>-60%,(A1-B1)<74.9%), (A1-B1) * 15))
 
Upvote 0

Forum statistics

Threads
1,223,248
Messages
6,171,027
Members
452,374
Latest member
keccles

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