Tired Sale quantities with discounts by level

Roar

New Member
Joined
May 18, 2011
Messages
25
I am trying to create one cell that shows the discount approval level required which varies by quantity. Thank you for your patience.

So here is the matrix of what discount can be given at what quantity. The only require is to output a cell showing discount, which will then be conditionally formatted to alert the person they can approve or need to escalate. The quantity cell will be elsewhere. See below

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]b[/TD]
[TD]c[/TD]
[TD]d[/TD]
[TD]e[/TD]
[/TR]
[TR]
[TD]Low Qty[/TD]
[TD]High Qty[/TD]
[TD]Discount 1[/TD]
[TD]Discount 2[/TD]
[TD]Discount 3[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]24[/TD]
[TD]0[/TD]
[TD]5[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]25[/TD]
[TD]34[/TD]
[TD]5[/TD]
[TD]10[/TD]
[TD]15[/TD]
[/TR]
[TR]
[TD]35[/TD]
[TD]54[/TD]
[TD]10[/TD]
[TD]15[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]55[/TD]
[TD]199[/TD]
[TD]15[/TD]
[TD]20[/TD]
[TD]25[/TD]
[/TR]
[TR]
[TD]200
[/TD]
[TD][/TD]
[TD]20[/TD]
[TD]25[/TD]
[TD]30[/TD]
[/TR]
</tbody>[/TABLE]
PHP:
SO, the sheet they are working on will look like this
[TABLE="width: 500"]
<tbody>[TR]
[TD]R[/TD]
[TD]S[/TD]
[TD]T[/TD]
[TD]U[/TD]
[TD]V[/TD]
[TD]W[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]Item[/TD]
[TD]Qty[/TD]
[TD]List[/TD]
[TD]Discount[/TD]
[TD]Final[/TD]
[TD]Amount[/TD]
[TD]Discount given[/TD]
[/TR]
[TR]
[TD]Gum[/TD]
[TD]7[/TD]
[TD]10.00[/TD]
[TD]3.50[/TD]
[TD]6.50[/TD]
[TD]65.00[/TD]
[TD]35%[/TD]
[/TR]
</tbody>[/TABLE]

So, now, I need a formula to go up to column A and look across to see what discount are allowed to give and then it would conditionally color the cell, under X with the discount they gave.

Gosh, I sound crazy. Does this sound like something that can be done?
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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