+ Reply to Thread
Results 1 to 12 of 12

Dynamic Range linking to Pivot

  1. #1
    Forum Contributor
    Join Date
    06-25-2013
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    114

    Dynamic Range linking to Pivot

    Hello..

    I have been working on a data set creating an Forecast model. I will get the historical numbers from system and update in Col A to F post that J to O is the pivot linked. Starting from Col Q I have applied formula to calculate the forecast. When ever there is a new item Product or Sub Product added Col Q to T gets disturbs and I will to re work on complete data.

    Is there any way that I can make it Dynamic as once the pivot is refreshed and new Sub products added still the function pick correctly along with the totals.

    I have attached sample working file for reference.

    Hope all are safe

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Dynamic Range linking to Pivot

    Perhaps this will help.
    Note that I am assuming that the values in the Monday section of the pivot table should reference the Monday Totals.
    The range Q5:T100 is populated using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that when values are manually placed in the rows corresponding to the daily totals the values will overwrite the formula so that when the pivot table is refreshed it will be necessary to copy the formulas from Q5:T5 down again.
    Note that until the values are manually placed in the rows corresponding to the daily totals the formula will yield an error.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Forum Contributor
    Join Date
    06-25-2013
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    114

    Re: Dynamic Range linking to Pivot

    Thank you so much for the function and work good. for some reason when I replicate the same in my actual file I am getting #DIV I will check and get back if I have any question.

    Thanks again.

  4. #4
    Forum Contributor
    Join Date
    06-25-2013
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    114

    Re: Dynamic Range linking to Pivot

    Hello JeteMc,

    Could you please help to amend the formula as per the sheet? I am unable to fix it. Not sure where I am going wrong here.

    Attached Book for reference.
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Dynamic Range linking to Pivot

    I do not see any data in the file attached to post #4.

  6. #6
    Forum Contributor
    Join Date
    06-25-2013
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    114

    Re: Dynamic Range linking to Pivot

    I have added some data to the file Col S to T is what I need your formula to be updated. A to Q is not the pivot table but in my actual file its a pivot.
    Attached Files Attached Files

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Dynamic Range linking to Pivot

    File attached to post #6 seems to be the same as the file attached to post #4. The spreadsheets are mainly covered up by a picture that displays Code 42 in the top left corner and seems to be giving information about the progress of a backup. When the picture is moved there is no data underneath.

  8. #8
    Forum Contributor
    Join Date
    06-25-2013
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    114

    Re: Dynamic Range linking to Pivot

    My Apologies Attached wrong file my bad. Please find attached correct file now.
    Attached Files Attached Files

  9. #9
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Dynamic Range linking to Pivot

    when I replicate the same in my actual file I am getting #DIV I will check and get back if I have any question.
    In your file in #8 there is no #div in column S and T.


    Microsoft Excel shows the #DIV/0! error when a number is divided by zero (0)
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Dynamic Range linking to Pivot

    The following formula, placed in cell S3 and then copied over and down to cell V12, replicates the previous values in that range of cells :
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.

  11. #11
    Forum Contributor
    Join Date
    06-25-2013
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    114

    Re: Dynamic Range linking to Pivot

    Wonderful.. Thank you so much that works well.

    Thank you very much

  12. #12
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Dynamic Range linking to Pivot

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

+ 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. Replies: 1
    Last Post: 12-30-2019, 01:17 PM
  2. Dynamic Range Pivot
    By fireboltpk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-30-2017, 11:24 AM
  3. Dynamic Range Pivot
    By Karen13 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-06-2015, 02:20 PM
  4. Pivot table with dynamic range
    By eajustin15 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-19-2013, 08:42 AM
  5. Dynamic Pivot-range (array)
    By msevland in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 09-25-2012, 06:14 AM
  6. Dynamic Range using Offset, range not found for Pivot
    By GoneBaja in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-08-2012, 09:19 AM
  7. Replies: 0
    Last Post: 01-15-2009, 06:32 PM

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