+ Reply to Thread
Results 1 to 4 of 4

Once sale price is calculated do not change it when unit price changes later

  1. #1
    Forum Contributor
    Join Date
    12-17-2019
    Location
    Portugal
    MS-Off Ver
    office 2019
    Posts
    185

    Once sale price is calculated do not change it when unit price changes later

    Hi Everyone,

    I need help to know in the example I send:

    a) I have a sell of product "1" in 01-01-2020 , cell "P9" of the ammount of 2,00 €
    b) If I change the price of the product "1", for example in 01-10-2020 for 4,00 €, The formula change every sells of product "1". I would like to keep the sell of 01-01-2020 ("P9" = 2,00 €) but the formula will change me every sells of product "1".
    Is that possible ?? how can I have the first cell with 2,00 € (old price) and the last sell with 4,00 € (new price).

    Thanks
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Once sale price is calculated do not change it when unit price changes later

    You could create a table with dates and prices, then use INDEX/MATCH to look up price based on date?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    12-17-2019
    Location
    Portugal
    MS-Off Ver
    office 2019
    Posts
    185

    Re: Once sale price is calculated do not change it when unit price changes later

    Yes I create a table with dates and prices. The problem is for 2 sells of the same product (in different dates) to keep 1 with the old price and another with the new price.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Once sale price is calculated do not change it when unit price changes later

    No, you need to incorporate the date into the search, as well as the product

+ 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. Calculate Vendor price to Sale Price
    By wstring in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-09-2019, 01:24 PM
  2. Price Per Unit in a Table for a Fixed Incremental Price Discount
    By natkoy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-22-2016, 03:51 AM
  3. Replies: 3
    Last Post: 07-19-2016, 04:25 PM
  4. Replies: 0
    Last Post: 04-15-2014, 12:02 PM
  5. Replies: 3
    Last Post: 01-03-2013, 12:32 AM
  6. Replies: 3
    Last Post: 12-27-2012, 01:20 PM
  7. Replies: 4
    Last Post: 08-15-2012, 09:49 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