Adding IF to an existing formula

davecoppins

New Member
Joined
Nov 13, 2018
Messages
11
Hope someone can help

I have a progressive pricing calculation which works as the purchase price increases, the profit margin decreases.
I would like to add an "IF" function to this (unless there is something better) which looks at sales volume and adds an additional % off the selling price or reduces the margin depending on volume.
So: cost price is £10.00 so add a mark on of 150% but if sales volume is 50 this year add a mark on of 140% / 100 this year add 130% / 150 this year add 120% etc.

The markon calculation is currently =(LOOKUP(AH2,'Markon Value'!M$3:N$68)+1)*AH2

Thanks in advance
 

Attachments

  • Calculation.PNG
    Calculation.PNG
    41.1 KB · Views: 13
  • Markon Value.PNG
    Markon Value.PNG
    30.1 KB · Views: 13

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi Dear,

Create a new sheet with a table of the required % tiers based on the sales volume (make sure it is in ascending order), for example

Book1
AB
1SalesMark-on
20150%
350140%
4100130%
5150120%
6200110%
7250100%
SalesMarkon


then, try the below formula in the calculation sheet under cell AE2

Book1
AE
2£ 0.11
Calculation
Cell Formulas
RangeFormula
AE2AE2=VLOOKUP(AI2,SalesMarkon!$A$1:$B$7,2,TRUE)*AH2


Let me know
 
Upvote 0
Hi Mamady

Thanks for looking at this for me, not quite what is required

What I would like to acheive is the original or similar calculation to create the sales price as the selling price runs across 5 selling levels and each selling level will have a different sell price for the same item which is created by the "Markon Value" Worksheet (Trade1 = cost +75% / Trade2 = cost +85% / Trade3 = Cost + 95% / Trade4 = Cost + 100% / Retail = Cost + £120%) then (appologies - this is probably what I explained wrong in the first thread) calculate a discount based on sales volume:

Item number XXX123:
Net price = 10.00
Markon value Trade1 = 75%
Sale price = 17.50
(if rolling year sales are between 10 & 20 apply 2% discount to the sale price)
(if rolling year sales are between 21 & 50 apply 5% discount to the sale price)
(if rolling year sales are between 51 & 100 apply 7% discount to the sale price)
(if rolling year sales are between 101 & 200 apply 10% discount to the sale price) etc.

Then

Item number XXX123:
Net price = 10.00
Markon value Trade2 = 85%
Sale price = 18.50
(if rolling year sales are between 10 & 20 apply 2% discount to the sale price)
(if rolling year sales are between 21 & 50 apply 5% discount to the sale price)
(if rolling year sales are between 51 & 100 apply 7% discount to the sale price)
(if rolling year sales are between 101 & 200 apply 10% discount to the sale price) etc.

Hope that makes sense!!!

Thanks in advance

David
 
Upvote 0
Hi David,

I am a little bit lost :)

If it is possible, please share a sample of your working sheet via XL2BB.

Otherwise, I think you can use a similar concept I shared in my previous post. Where after the lookup, you multiply the price by the discounted %.
In this case, the table would be

Book1
ABC
1FromToDiscount %
20100%
31120-2%
42150-5%
551100-7%
6101200-10%
Sheet1


and the formula will be something like

(LOOKUP(AH2,'Markon Value'!M$3:N$68)+1)*(AH2*VLOOKUP(AI2,Sheet1!$A$1:$C$6,3,TRUE)+AH2)

the vlookup is a quicker way than doing nested if statements.

Best Regards
 
Upvote 0
Hi David

I'm glad I was able to help, cheers.

Best Regards
 
Upvote 0

Forum statistics

Threads
1,214,915
Messages
6,122,217
Members
449,074
Latest member
cancansova

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