+ Reply to Thread
Results 1 to 3 of 3

Merging cells without losing zeros

  1. #1
    Registered User
    Join Date
    01-28-2010
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Merging cells without losing zeros

    This is driving me insane b/c it seems so simple but I just cant seem to figure it out. I need a formula that will allow me to combine the 2-digit contents of A with the 2-digit contents of B so C contains all 4-digits. The problem I'm having is that the preceding "0" are getting dropped off and I need the "0"s to remain unchanged.

    So I'm just trying to get column C to be an exact combination of A and B. See attached file for example.

    Any advice would be greatly appreciated!
    Attached Files Attached Files

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Merging cells without losing zeros

    Format cols A and B as Text, change the strings back to two digits each, and then catenate in C2 as =A2 & B2

    Or leave cols A and B as they are, and catenate as =TEXT(A2, "00") & TEXT(B2, "00")
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    01-28-2010
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Merging cells without losing zeros

    Thanks for the help shg! Didn't totally follow Option 1 but Option 2 worked.

    One more question though: If I wanted to jump to a specific number in column C, for example 2104, I thought I could do FIND: 2104 but everything in C appears to be unsearchable. Anything I can do to resolve that?

    Thanks again for all the help!

+ 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