+ Reply to Thread
Results 1 to 6 of 6

INDIRECT formula in chart for dynamic range

  1. #1
    Forum Contributor
    Join Date
    07-26-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2016 Office 365 ProPlus
    Posts
    822

    INDIRECT formula in chart for dynamic range

    Say I have 1 chart for data of 1 month.
    Now instead of making a workbook per month I was thinking about having a data tab for every month.

    The format of the data would everytime be the same only the name of the sheet would refer to the month.
    Then on a first sheet I would make a validation field on the 12 months of a year.

    Now the trick would be to make the chart look at the data sheet that corresponds with month chosen in the validation field.
    I know you can do this with an the INDIRECT formula but how would that be done in a graph range?

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: INDIRECT formula in chart for dynamic range

    I would not recommend creating one workbook per month but to keep all your data as centralized as possible, and from there create monthly tabs if you have to
    Without seeing the layout, it is difficult to say but if you can use Pivot Tables and charts with slicers it make things very easy.
    Perhaps post a small sheet ( see banner)

  3. #3
    Forum Contributor
    Join Date
    07-26-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2016 Office 365 ProPlus
    Posts
    822

    Re: INDIRECT formula in chart for dynamic range

    Well it would be only 12 excel books that you would have in 1 folder.
    But yeah it would be better to have 1 workbook with 12 sheets and 1 sheet for the Graph.

    Attached a sample.
    So if you would set month to February the graph should look to the february tab (all other things like ranges are the same).

    Not sure if working with pivots and slicers would fit as it is part of a bigger workbook and not to much can change.
    Attached Files Attached Files

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: INDIRECT formula in chart for dynamic range

    I would keep ALL the data on one sheet adding a column for the date and start from there

  5. #5
    Forum Contributor
    Join Date
    07-26-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2016 Office 365 ProPlus
    Posts
    822

    Re: INDIRECT formula in chart for dynamic range

    Yes you are right that would be the most simple.
    However the workbook will have to be filled by other users and we need to have it as dummy proof as possible.
    So therefore project team decided for data in 1 sheet per month, so that it is clear for everybody where to fill it.

  6. #6
    Forum Contributor
    Join Date
    07-26-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2016 Office 365 ProPlus
    Posts
    822

    Re: INDIRECT formula in chart for dynamic range

    Ok, so I guess it is just not possible to direct a 'chart data range' to different sheets.

    If that is it, its it.
    Then I will closed this thread later on.
    Thanks for the responses.

+ 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] Dynamic Name Range not working with indirect formula
    By Tbez in forum Excel General
    Replies: 7
    Last Post: 06-10-2021, 07:04 AM
  2. Using INDIRECT formula to reference a dynamic range on another sheet
    By Travisty in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-01-2018, 12:22 PM
  3. [SOLVED] create chart using dynamic range (Indirect Function)
    By umbata in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-08-2015, 10:37 PM
  4. [SOLVED] chart based on dynamic range which resizes as per data in range-formula / vba
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-11-2014, 04:02 PM
  5. Replies: 4
    Last Post: 10-21-2013, 12:16 AM
  6. Replies: 15
    Last Post: 09-10-2013, 05:31 AM
  7. Using INDIRECT to put a Dynamic Named Range in a chart Data Source
    By mgaworecki in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-01-2012, 07:35 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