+ Reply to Thread
Results 1 to 2 of 2

Chart Offset Function

Hybrid View

  1. #1
    Registered User
    Join Date
    05-14-2013
    Location
    Somewhere, Anywhere
    MS-Off Ver
    Excel 2016
    Posts
    82

    Chart Offset Function

    Hello,

    I am having trouble with using an offset function for a graph (budgeted and actuals). The budgeted numbers come from the budget spreadsheet and are depended on the Summary tab E5 and E6. Similarly, the actual numbers come from the TO # Actuals tab "total amount based on clin (Row 9, 14, 20, etc) I tried using name defined ranges but kept receiving an error message. Can someone please help?
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Chart Offset Function

    Here is my shot at it. I'm using helper columns on the To 2 Actuals page. You can put these on a hidden sheet if you wish.

    Cell Q1 has the formula:=MATCH(Summary!E6,A:A,) - this gets the row where the selected CLIN is found. In the case of CLIN 2 this is row 11.

    Cell Q2 has the formula: =MATCH("Total Amount",TA_range,0) - where TA_Range is defined as =OFFSET('TO 2 Actuals'!$A$1,'TO 2 Actuals'!$Q$1,0,20,1) - I'm making the assumption that the Total Amount line will be within 20 rows of the CLIN row. In the case of CLIN 2 this is 3 rows down from the CLIN title line.

    Cell Q3 has the formula: =Q1+Q2 - this is the actual row that we want to plot.

    Finally we have the range to plot =OFFSET('TO 2 Actuals'!$A$1,'TO 2 Actuals'!$Q$3-1,1,1,12) - I called this TA_Plot.

    This should get you started.

    To switch between plotting To 2 Actuals and To 3 Actuals, I suggest the following define TA_To2 as I defined TA_Plot, define TA_To3 the same way, except for the T03 Actuals page.

    Then define a new named range called TA_Actual = if (Summary!$E$5 = "TO_2", TA_To2, TA_To3) - plot this named range.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ 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. OFFSET, COUNTA or SHOULD BE COUNTIF Function for dynamic range for Chart
    By ahteddy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-24-2015, 10:50 AM
  2. auto updating chart using offset function - problem with blank cells
    By jpanchal in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 04-15-2015, 11:29 AM
  3. Replies: 1
    Last Post: 09-20-2012, 08:17 PM
  4. Dynamic Chart - Offset function
    By jantonio in forum Excel General
    Replies: 2
    Last Post: 10-17-2011, 02:49 PM
  5. Chart w/Offset function not updating
    By NMullis in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-15-2010, 09:52 AM
  6. Offset Function Chart from selected columns
    By stebo148 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 10-20-2008, 01:03 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