Hello,
I have an little problem with creating a formula. I have no idea on how to set this up. I have no idea if this is even possible in excel.
What i need done is for excel to choose a formula based on the number in the cell.
For example if i input numbers between
0-50 for it to multiply the cell by .25
50.01 - 200 for it to multiply the cell by .30
200.01 - 500 for it to multiply the cell by .35
500.01-10,000 for it to multiply the cell by .40
Is it possible to do something like this?
Last edited by Jakub; 01-21-2012 at 04:31 PM.
Try a lookup:
=A1 * LOOKUP(A1, {0,50.01,200.01,500.01}, {0.25,0.3,0.35,0.4})
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
“None of us is as good as all of us” - Ray Kroc
“Actually, I *am* a rocket scientist.” - JB (little ones count!)
Thanks! im going to try this out soon!![]()
If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
“None of us is as good as all of us” - Ray Kroc
“Actually, I *am* a rocket scientist.” - JB (little ones count!)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks