+ Reply to Thread
Results 1 to 4 of 4

Formula to Relist Ranges by Month Opening instead of Calendar Month

  1. #1
    Registered User
    Join Date
    05-14-2012
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2007
    Posts
    18

    Formula to Relist Ranges by Month Opening instead of Calendar Month

    Howdy,

    I have an interesting challenge I thought there was a simple formula to solve, but I can't think of it! Do you mind taking a minute to help me out?

    Bear with the following illustration:

    Suppose you are a budding business tycoon and opened a convenience store each January over the past 5 years. These are Sites A-E. You look at a revenue spreadsheet (Table 1) with 5 years of calendar months (60 months) as rows and Site locations as columns (5 sites). Because they were opened on a staggered basis, Site A shows revenue for every month, Site B shows revenue for years 2-5, Site C years 3-5, etc.

    Now you want to create Table 2, which compares each site based on their age instead of Calendar month. So instead of Jan-2012, you look have rows showing Month 1, Month 2, Month 3.

    What formula would automatically retrieve the ranges from Table 1? Essentially, it would relist the same range from Table 1 but skip all the blank cells so you could compare each site's first month, second month, etc.

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Formula to Relist Ranges by Month Opening instead of Calendar Month

    Sincerely hoping that we are not doing your homework for you...
    I attached a workbook with a possible approach.

    Note: I found a flaw in my formulas in version 1a...version 1b (attached) corrects that error)
    Last edited by Ron Coderre; 05-18-2012 at 01:12 PM.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    05-14-2012
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Formula to Relist Ranges by Month Opening instead of Calendar Month

    HAHA!! Wish I was young enough to still have homework to do! 4 years out of undergrad, and all I can do is live vicariously through Baylor sports...

    This feature is actually a bonus for a financial model our investment banking team is building. Previously, they were copying ranges from Table 1 and pasting the results manually into Table 2, but I figured there was a better way.

    Thanks again Ron for the help!

  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Formula to Relist Ranges by Month Opening instead of Calendar Month

    Quote Originally Posted by investmentbanker View Post
    HAHA!! Wish I was young enough to still have homework to do! 4 years out of undergrad, and all I can do is live vicariously through Baylor sports...

    This feature is actually a bonus for a financial model our investment banking team is building. Previously, they were copying ranges from Table 1 and pasting the results manually into Table 2, but I figured there was a better way.

    Thanks again Ron for the help!
    Well, in THAT case....I'm glad I could help!

+ 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