+ Reply to Thread
Results 1 to 7 of 7

combining month, date and year into a single column

  1. #1
    Registered User
    Join Date
    08-04-2014
    Location
    Springfield lakes
    MS-Off Ver
    2010
    Posts
    2

    combining month, date and year into a single column

    I need to combine month, date and year into a single column into 1/1/1998, 1/2/1998 as in mm/dd/yyyy. I need this format for a software input. Please find attached the spreadsheet im using. Appreciate any help.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,604

    Re: combining month, date and year into a single column

    CONCATENATE

    Joins two or more text strings into one text string.

    Syntax

    CONCATENATE (text1,text2,...)

    Text1, text2, ... are 2 to 255 text items to be joined into a single text item. The text items can be text strings, numbers, or single-cell references.

    Remarks

    You can also use the ampersand (&) calculation operator instead of the CONCATENATE function to join text items. For example, =A1&B1 returns the same value as =CONCATENATE(A1,B1).
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    02-09-2014
    Location
    New York
    MS-Off Ver
    Excel 2013
    Posts
    84

    Re: combining month, date and year into a single column

    Try this.

    =DATE(C2,A2,B2)
    and use custom formatting mm/dd/yyy
    Last edited by vogel997; 08-04-2014 at 10:25 PM.

  4. #4
    Registered User
    Join Date
    08-04-2014
    Location
    Springfield lakes
    MS-Off Ver
    2010
    Posts
    2

    Re: combining month, date and year into a single column

    Many thanks for the quick reply.

    Follwing the first suggestion by Proton Leah, I manged to combine them but I need the column to be in mm/dd/yyy format and I could not change it. Do you have a suggestion?

    The second suggestion by Vogel 997 showed the following. The month and date is correct but the year is wrong. can you suggest something?
    1 1 1889.00 01-01-3789
    1 2 1889 01-02-3789
    1 3 1889 01-03-3789
    1 4 1889 01-04-3789
    1 5 1889 01-05-3789
    1 6 1889 01-06-3789
    1 7 1889 01-07-3789


    Regards

  5. #5
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,367

    Re: combining month, date and year into a single column

    =b2&"/"&a2&"/"&c2

  6. #6
    Valued Forum Contributor
    Join Date
    10-06-2008
    Location
    Norway
    MS-Off Ver
    2010
    Posts
    365

    Re: combining month, date and year into a single column

    Or if you prefer:
    =TEXT(A2,"00")&"/"&TEXT(B2,"00")&"/"&C2

  7. #7
    Registered User
    Join Date
    03-30-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: combining month, date and year into a single column

    =TEXT(B2&"/"&A2&"/"&C2,"mm/dd/yyyy")

+ 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: 6
    Last Post: 06-13-2016, 11:23 AM
  2. Need to convert Month/Date/Year to Year/Month/Date so excel will recognize
    By juliettelam in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-25-2014, 04:17 PM
  3. Replies: 4
    Last Post: 05-31-2013, 11:20 AM
  4. If Column A Month and Year = ColumnB Todays Month and Year then send email
    By HACCStaff in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-15-2013, 12:47 AM
  5. Counting month and year from a date column
    By RamboDanbo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-15-2008, 04:26 PM

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