+ Reply to Thread
Results 1 to 2 of 2

Display figures from dynamic range

  1. #1
    Forum Contributor
    Join Date
    04-06-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    103

    Display figures from dynamic range

    I have a set of data populated in columns A:DY. (one column for each day going back a few months). I would like to pick out every 10 days and have these figures display at the end of the columns - please see attached workbook for better understanding. test book.xls

    The problem I am facing is that each day I add a new column and therefore the formuals would need to move along one cell each day. While I could do this manually, is there a better way to do this?

    Thanks

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Display figures from dynamic range

    It's not clear what you mean by Day 1 in your sample. I would have assumed it would be the column B date but that wouldn't cause the problem you are having with your "need to move along one cell each day". So I'll assume Day 1 actually means most recent entry (column DY in sample).
    To always get that last column value you could use this in cell EA10:
    =INDEX($B10:$DZ10,COUNT($B10:$DZ10))
    For Day 10 you could use this in cell EB10:
    =INDEX($B10:$DZ10,COUNT($B10:$DZ10)-9)
    Use the same formula for the other Day "n" columns, adjusting that last number accordingly. Then select the range with the formulas and drag down.

    As you insert new columns the ranges in the formulas will adjust, as will the counts.

+ 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