+ Reply to Thread
Results 1 to 8 of 8

How to add up data within a range of months with multiple variables that need to match.

  1. #1
    Registered User
    Join Date
    10-31-2019
    Location
    Switzerland
    MS-Off Ver
    2010
    Posts
    17

    How to add up data within a range of months with multiple variables that need to match.

    Hi Guys,

    So i have got the file attached to do almost 90% of what's needed and struggling with the final part.

    I need to calculate the impact of a price cut on the next 3 year's volume. Most of the price cuts are implemented in Nov so the formula's in Columns Q, R & S work perfectly fine if the Price cut is implemented in Nov as they add up the volume for Nov and Dec in the year price cut is effective from and then sums up the full year for the outer years.

    However, I am struggling with the two points below.

    1. I can't think of the correct formula if the price cut is implemented in a different month of the year. Let's say the price cut is effective from Feb 2021, then in Column Q I would want the volumes from Feb till Dec 2021 to be added up and multiplied by the difference in price.
    2. In some cases the price cut come later than expected as is the case in Row 9 "Grape". In this case i have a small pricing help rather than a cost which again is not calculated by the current formulas.

    I was thinking i might need a sum product do add up the months from the date price cut is effective till the end of the year.

    Any Ideas?
    Attached Files Attached Files
    Last edited by Rehmanx; 02-03-2021 at 02:48 AM.

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Index, Match, IF, SUMProduct

    May be this. In Q4 then copied down.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  3. #3
    Registered User
    Join Date
    10-31-2019
    Location
    Switzerland
    MS-Off Ver
    2010
    Posts
    17

    Re: Index, Match, IF, SUMProduct

    Hi kvsrinivasamurthy,

    Thanks alot for the above, that solves the issue in point 1.

    Would you also have a solution for Point 2 above? in the case that the price cut is delayed by a few months vs plan then the formula should be calculating a pricing help for a few months.

    Thanks in advance

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Index, Match, IF, SUMProduct

    I am not clear with point2. Pl explain with example.

  5. #5
    Registered User
    Join Date
    10-31-2019
    Location
    Switzerland
    MS-Off Ver
    2010
    Posts
    17

    Re: Index, Match, IF, SUMProduct

    In Cell C9 you will see that the price cut was planned for 01/11/2021 however the latest input in Cell J9 indicates that the price cut will now be effective from 01/11/2022. Therefore you have 12 months of volume that was planned with a price cut of -8% which will now be sold at full price and so in Columns T & Q9 i would expect to benefit vs plan coming through as a positive variance.

  6. #6
    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
    52,929

    Re: Index, Match, IF, SUMProduct

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    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

  7. #7
    Registered User
    Join Date
    10-31-2019
    Location
    Switzerland
    MS-Off Ver
    2010
    Posts
    17

    Re: Index, Match, IF, SUMProduct

    Hi FDibbins,

    Thanks for your message. I have updated the title as you have suggested. Let me know if the change has come through ok.

    Thanks

  8. #8
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: How to add up data within a range of months with multiple variables that need to match

    It is not yet clear. Pl explain in view of mathematics, what calculation is required.
    Formula in Q has no relation to Column C.
    Last edited by kvsrinivasamurthy; 02-03-2021 at 03:25 AM.

+ 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. [SOLVED] SUMPRODUCT using INDEX and MATCH
    By moneypennie21 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-02-2018, 09:33 AM
  2. [SOLVED] Index Match or sumproduct with 3 criteria to match
    By golden2282 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-18-2016, 03:10 PM
  3. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  4. [SOLVED] Using SUMPRODUCT, MATCH and INDEX together
    By codyryan in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-19-2014, 08:08 AM
  5. Replies: 13
    Last Post: 12-13-2012, 11:44 AM
  6. Replies: 5
    Last Post: 04-20-2012, 08:54 AM
  7. Index / match / sumproduct??
    By liverpoolphil in forum Excel General
    Replies: 2
    Last Post: 02-10-2011, 06:14 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