+ Reply to Thread
Results 1 to 5 of 5

could someone please help me with the offset function/dynamic range (excel 2010)

  1. #1
    Registered User
    Join Date
    02-23-2012
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2010
    Posts
    7

    Question could someone please help me with the offset function/dynamic range (excel 2010)

    Howdy!

    I'm attaching an example of what I am trying to do. Column A is the current quarter, and then there are a number of different columns (10 in the example, ie finance, accounting, etc) - each column is further broken down into two columns (equity/investment and liability). As new data is added for each quarter, I need a formula that will allow me to create graphs on the LAST (ie most recent) entry. I imagine this as being a cell for each column that always displays the most recent entry, which I can then reference to create a variety of different graphs. I will of course need plenty of room to enter new data, so the formulas can't restrict this for it to be helpful

    Thanks so much in advance for any help yall are able to provide!
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: could someone please help me with the offset function/dynamic range (excel 2010)

    In B14, then copied across:

    =IFERROR(LOOKUP(2, 1/(B$3:B$13>0), B$3:B$13), 0)
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    04-13-2012
    Location
    Leeds, UK
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: could someone please help me with the offset function/dynamic range (excel 2010)

    Have a look at the attached, I think it works but it seems a bit of a bodge. I used 3 names, one to define the chart area (1 row, 2 columns,) and then one name for each chart series.

    =OFFSET(Sheet1!$F$2,COUNTA(Sheet1!$A$3:$A$13),0,1,2) - for the chart area
    =OFFSET(Sheet1!$F$2,COUNTA(Sheet1!$A$3:$A$13),0,1,1) - for the first Equity/Investment series
    =OFFSET(Sheet1!$G$2,COUNTA(Sheet1!$A$3:$A$13),0,1,1) - for the Liability series



    ETA: JBeaucaire's answer is a lot simpler though
    Attached Files Attached Files
    Last edited by GazP; 06-11-2012 at 05:30 PM.

  4. #4
    Registered User
    Join Date
    02-23-2012
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: could someone please help me with the offset function/dynamic range (excel 2010)

    Both work perfectly, thanks so much for your help! Yall are life savers

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: could someone please help me with the offset function/dynamic range (excel 2010)

    If that takes care of your need, please select Thread Tools from menu above and set this topic to SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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