Please see attached.
I have a pay plan that I need to track.
Basically if R7 is 50%-54% I need r15 to equal L101*25
If R7 is 55%-59% I need r15 to equal L101*50
If R7 is 60%-100% I need R15 to equal L101*75
Any help on the formula would be greatly appreciated.
Try this formula in R15:
=L101 * LOOKUP(R7,{0,0.5,0.55,0.6},{0,25,50,75})
Last edited by JBeaucaire; 09-07-2010 at 05:13 PM.
_________________
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!)
Hi,
Presumably
returns null if R7 <50 or >100=IF(AND(R7>=50%,R7<=54%),L101*25,IF(AND(R7>=55%,R7<=59%),L101*50,IF(AND(R7>=60%,R7<=100%),L101*75,"")))
HTH
Richard Buttrey
If this was useful then please rate it appropriately.
Click the small star iconat the bottom left of my post.
Hi JB,
Small typo but neat formula
Rgds=L101 * LOOKUP(R7,{0,0.5,0.55,0.6},{0,25,50,75}
Richard Buttrey
If this was useful then please rate it appropriately.
Click the small star iconat the bottom left of my post.
Fixed...thanks for the tip, my bad!
_________________
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