+ Reply to Thread
Results 1 to 8 of 8

Exploding out rows depending on dates

  1. #1
    Forum Contributor
    Join Date
    11-22-2006
    MS-Off Ver
    2010
    Posts
    201

    Exploding out rows depending on dates

    Lets say we have 3 columns of data.

    A: contains a unique reference
    B: contains a start date
    C: contains an end date, in some cases the end date is blank.

    What I would like to do is explode the data out to show a link for each date.

    So for example:
    A1 10/1/2017 13/1/2017
    A2 12/1/2017 12/1/2017
    A3 14/1/2017 16/1/2017
    A4 10/1/2017 NULL

    So the output would be:

    A1 10/1/2017
    A1 11/1/2017
    A1 12/1/2017
    A1 13/1/2017
    A2 12/1/2017
    A3 14/1/2017
    A3 15/1/2017
    A3 16/1/2017
    A4 10/1/2017
    A4 11/1/2017
    A4 12/1/2017
    A4 13/1/2017
    A4 14/1/2017
    A4 15/1/2017

    Thank you. Lucy
    A4 16/1/2017

  2. #2
    Forum Contributor
    Join Date
    11-22-2006
    MS-Off Ver
    2010
    Posts
    201

    Re: Exploding out rows depending on dates

    Hi everyone, is this possible ? Thanks in advance.

  3. #3
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Exploding out rows depending on dates

    See attached file.
    Hope this helps.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    11-22-2006
    MS-Off Ver
    2010
    Posts
    201

    Re: Exploding out rows depending on dates

    Hhi Modytrane, thanks for your reply but I was hoping to achieve this using a macro as the dates will change, I think you've just copied my output above into Excel (unless I am missing something).

    Thanks again.

  5. #5
    Valued Forum Contributor
    Join Date
    11-26-2012
    Location
    Sydney
    MS-Off Ver
    2010
    Posts
    419

    Re: Exploding out rows depending on dates

    Try this:
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    11-22-2006
    MS-Off Ver
    2010
    Posts
    201

    Re: Exploding out rows depending on dates

    Thanks MGS72, that is great.

  7. #7
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Exploding out rows depending on dates

    My solution was based on formulas only and it would work when you change dates. Of course, Macro solution is better since it gives you more flexibility.
    I wanted to show you how it could be done with formulas as well.

  8. #8
    Forum Contributor
    Join Date
    11-22-2006
    MS-Off Ver
    2010
    Posts
    201

    Re: Exploding out rows depending on dates

    Hi Modytrane, I didn't even notice the formulas, my bad - i must apologise. I will take a look again.
    Thanks

+ 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. [SOLVED] display weekly dates depending on two variable dates
    By alexander.small in forum Excel General
    Replies: 3
    Last Post: 05-22-2014, 11:30 AM
  2. [SOLVED] shortcut key for exploding a cell in pivot table
    By aganesan99 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 10-09-2013, 08:03 AM
  3. [SOLVED] Return Dates From Row 1 depending upon the data in rows beneath...
    By lifeisaspreadsheet in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2012, 02:13 AM
  4. [SOLVED] Exploding pie chart
    By Mary in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-13-2006, 09:25 PM
  5. Replies: 2
    Last Post: 06-13-2006, 05:15 AM
  6. [SOLVED] exploding a pivot table column into sheets?
    By Greg Loriman in forum Excel General
    Replies: 1
    Last Post: 12-22-2005, 08:10 AM
  7. [SOLVED] Count values in rows depending on dates.
    By Qaspec in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-24-2005, 06:06 PM

Tags for this Thread

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