+ Reply to Thread
Results 1 to 4 of 4

pulling multiple date ranges from 1 cell into multiple rows?

  1. #1
    Forum Contributor
    Join Date
    06-17-2013
    Location
    australia
    MS-Off Ver
    Excel 2007
    Posts
    247

    pulling multiple date ranges from 1 cell into multiple rows?

    Hi all!

    just wondering if its possible at all to list multiple date ranges from 1 cell into multiple rows in the same column? i think want to run a lookup for the date ranges vs the season rates to automatically complete into a template i have for data uploading. example as per below.


    Season 1 21Jan13-31Feb13; 01mar13-02mar14; 03mar14-24mar14
    Season 2 again multiple date ranges separated by ;
    Season 3 again multiple date ranges separated by ;
    Season 4 again multiple date ranges separated by ;

    This is how I want the season 1 ranges to paste into excel - separate cells

    21Jan13 31Feb13
    01Mar13 02Mar14
    03Mar14 24Mar14


    Tried to ScreenShot - didnt want to upload though

    Appreciate any help guys! thanks!

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: pulling multiple date ranges from 1 cell into multiple rows?

    very quick way of doing it
    text to column>>delimiter>>use ;

    after its split you can do whatever you want
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: pulling multiple date ranges from 1 cell into multiple rows?

    Hi,

    It would perhaps make more sense, since your data is in columns, to list each of the separate date ranges in separate columns to the right of each, rather than in rows below as you indicate. If you want it that way, you will just have to ensure that you have enough rows free as equals the number of separate strings in each.

    Assuming your first entry is in cell A1, enter this in e.g. B1 and copy down for as many rows as there are separate clauses in A1:

    =IFERROR(MID($A$1,FIND("@",SUBSTITUTE(";"&$A$1,";","@",ROWS($A$1:$A1))),FIND("@",SUBSTITUTE($A$1&";",";","@",ROWS($A$1:$A1)))-FIND("@",SUBSTITUTE(";"&$A$1,";","@",ROWS($A$1:$A1)))),"")

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  4. #4
    Forum Contributor
    Join Date
    06-17-2013
    Location
    australia
    MS-Off Ver
    Excel 2007
    Posts
    247

    Re: pulling multiple date ranges from 1 cell into multiple rows?

    wow thanks guys absolutely perfect.

+ 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