Closed Thread
Results 1 to 2 of 2

Macro to apply discount value on Order Form

  1. #1
    Registered User
    Join Date
    09-29-2021
    Location
    Copenhagen,Denmark
    MS-Off Ver
    Office 365
    Posts
    9

    Post Macro to apply discount value on Order Form

    Hi guys,

    I have a sample order form with products, quantity, prices & discounts in the attached file.

    I need help in creating a macro such that, when a discount value is entered in C18 and the button is clicked:
    1. the values in column F will be deleted
    2. the discount percentage in C18 will be applied to the value in C16
    3. this discounted amount will be spread over the totals of Product Offering C to A in column I
      [/INDENT]
    4. meaning that if the value in C16 is 10,000 and 50% is entered in C18, and the total of Product Offering C - A are 2000, 3000 and 5,000 respectively (the sum is then the value in C16 =10,000).[INDENT][INDENT]
    5. the discount value will be 5,000[INDENT][INDENT]
    6. 2000 of the discounted value (5,000) will be applied to first to Product Offering C. (meaning the sum of Product Offering C will 100% discount)[INDENT][INDENT]
    7. the remaining 3000 of the discount value will then be applied to Product Offering B. (again, meaning a 100% discount it)[INDENT][INDENT]
    8. it should always follow this order: Product Offering C --> Product Offering B ---Product Offering A


    I hope the explanation of the problem is quite clear.

    I would appreciate any help with this. Thank you.
    Attached Files Attached Files
    Last edited by Kebad; 10-13-2021 at 03:55 AM.

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

    Re: Macro to apply discount value on Order Form

    Administrative Note:

    Unfortunately, this is another duplicate thread, and you are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread: https://www.excelforum.com/excel-pro...rder-form.html
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] [VBA] Macro to apply discount to Order Form
    By Kebad in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-16-2021, 12:03 PM
  2. Applying discount to Order Form with VBA
    By Kebad in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-12-2021, 10:30 AM
  3. Applying discount to Order Form
    By Kebad in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-12-2021, 10:09 AM
  4. [SOLVED] How to apply a discount in excel 2010
    By donq22 in forum Excel General
    Replies: 3
    Last Post: 10-31-2014, 01:53 PM
  5. [SOLVED] apply discount based on number of guests
    By dacraig in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-02-2012, 06:35 PM
  6. VLOOKUP Formula to apply % Discount
    By Lionel69 in forum Excel General
    Replies: 1
    Last Post: 04-19-2012, 04:22 PM
  7. Formula to apply discount scale
    By Africa in forum Excel General
    Replies: 6
    Last Post: 02-03-2012, 01:16 PM

Tags for this Thread

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