Forum

Notifications
Clear all

Discount Formula

6 Posts
2 Users
0 Reactions
66 Views
(@alinhart)
Posts: 39
Trusted Member
Topic starter
 

Hello
I'm using a  PC – Excel 2013

I need help with a formula.
In column Z, I have a formula that is looking at column E, if the product matches the product listed between row 38- 65, and column J 38-65, states yes, then we need to supply a 5% discount from column N.

I need a 5% discount off of the price for Print charge (column N).

I know there is a better way to complete this. Any advice would be greatly appreciated.

Please see attached example.

 

Thanks
Amy

 
Posted : 25/08/2016 3:54 pm
(@sunnykow)
Posts: 1417
Noble Member
 

Hi Amy

A VLOOKUP should solve your problem.

Try this : In cell Z10 enter =IF(VLOOKUP(E10,$E$38:$J$65,6,FALSE)="Yes",5%,0)*-N10

A more preferred way is to have the 5% entered into the row 38-65 replacing "Yes" and 0% to replace "No"

Then any changes to the discount structure will only involve changing the lookup table instead of the formulas.

Hope this helps.

 
Posted : 25/08/2016 7:01 pm
(@alinhart)
Posts: 39
Trusted Member
Topic starter
 

Hi SunnyKow

This is great.  Thank you.  How would I write the formula if I changes the "yes/no" to 5% / 0%?

I would like to make easier for my coworkers to understand.

Thank you so much

Amy

 
Posted : 26/08/2016 10:19 am
(@sunnykow)
Posts: 1417
Noble Member
 

Just use =VLOOKUP(E10,$E$38:$J$65,6,FALSE)*-N10

 
Posted : 26/08/2016 12:05 pm
(@alinhart)
Posts: 39
Trusted Member
Topic starter
 

SunnyKow

This worked great.  Thank you so much.

Amy

 
Posted : 26/08/2016 12:36 pm
(@sunnykow)
Posts: 1417
Noble Member
 

No problem Cool

 
Posted : 26/08/2016 9:33 pm
Share: