+ Reply to Thread
Results 1 to 5 of 5

Convert column of dates to rows where date matches

  1. #1
    Registered User
    Join Date
    08-11-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Convert column of dates to rows where date matches

    Has anyone got any ideas on how to convert this data
    Col A Col B
    Test 1 1/10/2013
    Test 2 1/10/2013
    Test 3 2/10/2013
    Test 4 2/10/2013
    Test 5 2/10/2013

    to something like this:
    Col A Col B Col C Col D
    1/10/2013 Test 1 Test 2
    2/10/2013 Test 3 Test 4 Test 5

    There is no limit to the number of dates which might be the same in the data which has to be converted.

    Is a VBA script the only solution or has anyone got another idea. I would really appreciate some help with this.

    Thank you

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

    Re: Convert column of dates to rows where date matches

    Hi,

    Actually I replied to a similar sort of request earlier today, though the particulars will obviously need amending to suit your needs.

    Try reading this thread and adapting the solution accordingly:

    http://www.excelforum.com/excel-prog...mns-value.html

    Regards
    Click * below if this answer helped

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

  3. #3
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Convert column of dates to rows where date matches

    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  4. #4
    Registered User
    Join Date
    08-11-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Convert column of dates to rows where date matches

    Thank you both for your prompt replies and excellent solutions. You've saved me so much time and effort.

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Convert column of dates to rows where date matches

    A way without VBa
    With your data in Sheet1
    With Sheet2
    In A2 Drag down, this removes duplicate dates and sorts the remainder ascending.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In B2 This array formula, confirm with Ctrl+Shift+Enter not just Enter, before dragging.
    Drag across as far as required to cover your longest data set, then down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

+ 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. Replies: 3
    Last Post: 06-22-2013, 12:54 PM
  2. [SOLVED] A cell of Date matches with a range of DATES
    By soundworks999 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-09-2013, 09:57 PM
  3. [SOLVED] Compare duplicate dates, but use data that matches first date
    By nicky315 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-18-2013, 05:53 PM
  4. Replies: 1
    Last Post: 02-09-2012, 09:19 PM
  5. Replies: 16
    Last Post: 02-09-2009, 07:29 AM

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