+ Reply to Thread
Results 1 to 5 of 5

Combing 2 cells with date info into 1 cell

  1. #1
    Forum Contributor
    Join Date
    11-04-2015
    Location
    Copenhagen, Denmark
    MS-Off Ver
    2010
    Posts
    114

    Combing 2 cells with date info into 1 cell

    Example attached.

    I have 2 columns with date info

    I want to combine these 2 columns into a single column, e.g. A1&" to "&B1

    Basically, I want to create a date range in the 3rd column to use it as the axis data in a graph.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,426

    Re: Combing 2 cells with date info into 1 cell

    Like this:

    =TEXT(B3,"dd-mmm-yy")&" to "&TEXT(C3,"dd-mmm-yy")

    HOWEVER, Excel cannot read this as two dates, only as text. This is true whenever you have more than a simple date in a cell.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Combing 2 cells with date info into 1 cell

    Try this:

    =TEXT(B3,"dd-mmm-yy")&" to "&TEXT(C3,"dd-mmm-yy")

    Edit: Beat to it!

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Combing 2 cells with date info into 1 cell

    You can use:

    =TEXT(B3,"dd-mmm-yy")&" to "&TEXT(C3,"dd-mmm-yy")

    but depending on your regional settings you may need ; instead of ,

    Addtionally day month and year may not be d m and y in danish Excel....
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Forum Contributor
    Join Date
    11-04-2015
    Location
    Copenhagen, Denmark
    MS-Off Ver
    2010
    Posts
    114

    Re: Combing 2 cells with date info into 1 cell

    Thanks AliGW...worked liked a charm.

+ 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. Formula for Cell to input Date&Time ONLY if Cells in the same row change info
    By TwistedFaith in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-04-2018, 04:52 AM
  2. [SOLVED] extracting info from one cell based on info from other cells
    By maximelling in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-16-2017, 04:11 AM
  3. Combing two cells to create another
    By realvirtuality1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-06-2014, 10:55 AM
  4. Replies: 5
    Last Post: 06-01-2012, 05:04 PM
  5. Replies: 1
    Last Post: 02-21-2006, 10:30 PM
  6. combing cells with same data
    By inprogress in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-10-2005, 03:05 AM
  7. [SOLVED] combing cells
    By Kelly E. in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-27-2005, 11:06 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