+ Reply to Thread
Results 1 to 7 of 7

Combine cells with numbers into string

  1. #1
    Registered User
    Join Date
    09-07-2011
    Location
    Sweden
    MS-Off Ver
    Excel Mac 2011
    Posts
    5

    Combine cells with numbers into string

    Hi!

    I have two cells, A1 and A2 where A1=16 and A2=10.
    I would like a simple way to create a cell that is text and says 16:10 (time). How do I program this?

    Thanks!

    Jonas

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,601

    Re: Combine cells with numbers into string

    ¸Try this:

    =TIME(A1,A2,)

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Combine cells with numbers into string

    Hi

    =TIME(A1,A2,0)

    formatted as appropriate, e.g. "hh:mm"
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    09-07-2011
    Location
    Sweden
    MS-Off Ver
    Excel Mac 2011
    Posts
    5

    Re: Combine cells with numbers into string

    Sorry, that doesn't work. Excel says it's the wrong format. (I have Office 2003).

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Combine cells with numbers into string

    Hi,

    Works fine for me in all versions of Excel including 2003. Are you sure your A1 & A2 cells are numbers. Test them with =ISNUMBER(A1) & ISNUMBER(A2)

    Upload your workbook if you still have a problem.

    Regards

  6. #6
    Registered User
    Join Date
    09-07-2011
    Location
    Sweden
    MS-Off Ver
    Excel Mac 2011
    Posts
    5

    Re: Combine cells with numbers into string

    How do I upload a file here?

  7. #7
    Registered User
    Join Date
    09-07-2011
    Location
    Sweden
    MS-Off Ver
    Excel Mac 2011
    Posts
    5

    Re: Combine cells with numbers into string

    I solved it! Language differences =)

+ 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