+ Reply to Thread
Results 1 to 3 of 3

Horizontal Dynamice Range using OFFSET

  1. #1
    Registered User
    Join Date
    07-16-2014
    Location
    Seattle, WA
    MS-Off Ver
    Office 365
    Posts
    67

    Horizontal Dynamice Range using OFFSET

    I'm familiar with using OFFSET to make dynamic vertical ranges, but I am trying to make one out of a horizontal range and I keep getting a cell reference error. I have 2 sheets. One where data is recorded (Plant 5S Score Summary Data) and one where a chart is displayed (Dashboard). I want the range of data displayed on the chart to be a function of the current month entered on the Dashboard tab. I have this value assigned to a column number on the Summary data tab, so that in cell AY2 on the summary data tab, the column number for the current month is displayed.

    I have set up my dynamic range for the summary score to be like this.
    PlantSum =OFFSET(INDIRECT(INDEX('Plant 5S Score Summary Data '!$AY$2,'Plant 5S Score Summary Data '!$AY$3)),0,-11,1,12)

    Where AY2 is the reference row number for the current month and
    Where AY3 is the reference column number for the current month

    However, when I try to plug this named range into the chart for the data,
    ='Dashboard_Horizontal_Range.xlsx'!PlantSum

    I get an error message that reads
    We found a problem with one or more formula references in this worksheet. Check that the cell references, range names, defined names and links to other workbooks in your formulas are all correct.

    I have read that sometimes blank/o values can cause issues with named ranges, but the range that I am targeting doesn't have 0 values, or at least I can't find them.
    Attached Files Attached Files
    Last edited by kelseygueldalewis; 10-25-2017 at 02:51 PM.

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,885

    Re: Horizontal Dynamice Range using OFFSET

    It's not issue with OFFSET, but rather misuse of INDEX function and INDIRECT that's causing issue.

    Try changing name range formula to...
    Please Login or Register  to view this content.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Registered User
    Join Date
    07-16-2014
    Location
    Seattle, WA
    MS-Off Ver
    Office 365
    Posts
    67

    Re: Horizontal Dynamice Range using OFFSET

    Thanks CK76 - that solved it!
    Last edited by kelseygueldalewis; 10-25-2017 at 02:51 PM.

+ 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: 4
    Last Post: 05-13-2017, 04:58 PM
  2. [SOLVED] Help! - Copy Range (Sheet1,A10:F50), Paste Range (Sheet 2,A1:F41), Offset Range & Repeat
    By cjtimmer in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-30-2015, 06:27 PM
  3. OFFSET formula in horizontal way
    By Mariku in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-27-2014, 12:31 PM
  4. Replies: 2
    Last Post: 08-09-2012, 09:16 AM
  5. Vertical & Horizontal Offset / match row and column
    By David Brown in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-30-2010, 12:43 PM
  6. Replies: 2
    Last Post: 08-22-2005, 01:05 AM
  7. How to refer to programmatically Dynamice Range names
    By Mike Metal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-14-2005, 06:06 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