Formulas

ad335i

New Member
Joined
Jul 8, 2011
Messages
14
I am tracking a promotion for a call center. i am trying to setup a formula in excel to help. what i need .
for every sale >=2 and <=4 is worth $5 and and say >=5 is worth $10
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Nothing wrong with Yogesh's, this is just an alternative:

=LOOKUP(G1,{0,2,4.00000001},{0,5,10})

Do note that in both formulae, 4.01 would return a 10. You did not address values between 4 and 5 (if they're possible).
 
Upvote 0
thanks that is great. now how do i get it to multeply the value from 2 to 4 by $5 and anything above the 4th by $10
 
Upvote 0
how would you only multiply sales between only 2 and 4 for the fist part and any sale above the 4th by $10 and add those two together to get the final valule.

for example a rep sold 6 products
for sale 2, 3 and 4 they wil get paid $5 each for a total of $15
and sale 5 and 6 they will get paid $10 each for a total of $20
and it will give you a total payout of $35
 
Upvote 0

Forum statistics

Threads
1,224,547
Messages
6,179,436
Members
452,915
Latest member
hannnahheileen

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