+ Reply to Thread
Results 1 to 13 of 13

scaling reduction of a price based on GP Value in another column

  1. #1
    Registered User
    Join Date
    05-16-2019
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    54

    scaling reduction of a price based on GP Value in another column

    I've created a file that works out the Gross Profit of an item based on the cost and selling price. The file also acknowledges if that GP is above or below 25% and it then it's instruction to put a note in Column H. In that it puts a note if it's above 25% GP and it leaves it blank if its less than 25%

    Then in Column I, it knocks 10% off the figure in Column B if it's above 25% GP and if it's less than 25% then it simply uses the price from Column B

    However I'm looking to create something my dynamic now in the sense that if a price is between 30-35% GP, then it knocks 15% off...between 35-40% it knocks 20% off.

    I've attached the Excel file and if anyone is able to help whether that be via a Formula or VB then it would be very much appreciated.


    scaling reduction based on GP Value2.xlsx
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,428

    Re: scaling reduction of a price based on GP Value in another column

    Is this what you mean?

    =IF(H3="",B3,B3*LOOKUP(E3,{0.25,0.3,0.35},{0.9,0.85,0.8}))
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,428

    Re: scaling reduction of a price based on GP Value in another column

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

  4. #4
    Forum Contributor
    Join Date
    10-22-2022
    Location
    Santa Cruz, Bolivia
    MS-Off Ver
    MSO 365
    Posts
    149

    Re: scaling reduction of a price based on GP Value in another column

    hi there, I allow to propose an alternative formula to avoid errors for values less than 25%:

    Please Login or Register  to view this content.
    I hope results useful.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,428

    Re: scaling reduction of a price based on GP Value in another column

    There are no errors in my formula for values under 25%! If it's under 25%, H3 is blank, so my formula returns blank.

  6. #6
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: scaling reduction of a price based on GP Value in another column

    The OP tells:
    if it's less than 25% then it simply uses the price from Column B

  7. #7
    Registered User
    Join Date
    05-16-2019
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    54

    Re: scaling reduction of a price based on GP Value in another column

    Quote Originally Posted by HansDouwe View Post
    The OP tells:
    Quote Originally Posted by AliGW View Post
    Is this what you mean?

    =IF(H3="",B3,B3*LOOKUP(E3,{0.25,0.3,0.35},{0.9,0.85,0.8}))


    These are both great guys, the only thing I would amend on the first one from AliGW, is that if it's below the cost price i.e. negative, it wouldn't take off any discount. How could I amend this to incorporate that?

    In the second one from HansDouwe, it works a treat but I'm unsure how exactly it works. What instructions are taking off the 10, 15 and 20% ?

    Idea being, if I understand how it's doing this I would ideally like to implement an instruction whereby, if it's over 40% then it takes off 25%
    Last edited by Steve1977; 07-24-2023 at 11:27 AM.

  8. #8
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: scaling reduction of a price based on GP Value in another column

    In the second one from HansDouwe
    I have not provided a solution. Do you mean ExcelLogan's solution?

    Quote Originally Posted by ExceLogan View Post
    =B3*LOOKUP(E3,5*{0,5,6,7}%,1-5*{0,2,3,4}%)
    if it's over 40% then it takes off 25% please try (build on the formula of ExceLogan):
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    I just removed the 5* from the formula and multiplied the percentages in the table all by 5 to make it easier to understand.
    The formula searches for the corresponding discount percentage via the value in E3,
    Last edited by HansDouwe; 07-24-2023 at 11:40 AM.

  9. #9
    Registered User
    Join Date
    05-16-2019
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    54

    Re: scaling reduction of a price based on GP Value in another column

    ahh thank you Hans and indeed thank you to everyone who posted. Really appreciate your help!
    Last edited by AliGW; 07-25-2023 at 03:37 AM. Reason: Please do NOT quote unnecessarily!

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,428

    Re: scaling reduction of a price based on GP Value in another column

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Thanks for the rep.

  11. #11
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: scaling reduction of a price based on GP Value in another column

    Thanks for the feedback and rep . Glad to have helped.

  12. #12
    Registered User
    Join Date
    05-16-2019
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    54

    Re: scaling reduction of a price based on GP Value in another column

    Quote Originally Posted by HansDouwe View Post
    Thanks for the feedback and rep . Glad to have helped.
    One slight tweak i have in mind is that it doesen't seem to take off percentages of .5. i.e. 12.5% instead of 12. I've tried amending the forum to "12.5" or "125" but it doesn't seem to be work

  13. #13
    Registered User
    Join Date
    05-16-2019
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    54

    Re: scaling reduction of a price based on GP Value in another column

    ignore me, i didn't do it right.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Determine Rating A-F based on percentage reduction
    By maybeadumbquestion in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-17-2021, 09:31 PM
  2. Change dates based on time reduction
    By Jeferson11 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-08-2020, 11:38 AM
  3. I want to autopopulate column B with a price based on 70% margin.
    By Kristinak89 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-14-2018, 02:18 PM
  4. annual part price reduction formula
    By robsmyclone in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-30-2014, 05:12 PM
  5. [SOLVED] How do you use a scaling price markup within a single cell?
    By Nutts32 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-17-2012, 11:55 PM
  6. Replies: 4
    Last Post: 08-15-2012, 09:49 AM
  7. Calculate new figure based upon % reduction table
    By halfpint123 in forum Excel General
    Replies: 4
    Last Post: 06-14-2012, 09:08 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1