Results 1 to 3 of 3

Thread: Losing leading zeros in concatenate formula

  1. #1

    Losing leading zeros in concatenate formula



    Register for a FREE account, and/
    or Log in to avoid these ads!

    I have date of birth data in columns ABC, with A and B formatted to show leading zeros.

    Used the following formula to combine data into column D in a required format:
    =A2&"/"&B2&"/"&"19"&C2

    PROBLEM: the leading zeros in A and B are not showing up in the formula in Column D. Any solutions?

    A B C D
    05 01 48 5/1/1948
    05 04 68 5/4/1968
    13 11 72 13/11/1972
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screen Shot 2014-05-06 at 3.56.21 PM.png 
Views:	10 
Size:	23.4 KB 
ID:	2318  

  2. #2
    Try

    =TEXT(A2,"00")&"/"&TEXT(B2,"00")&"/"&"19"&TEXT(C2,"00")

    or

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

  3. #3
    Great, thanks!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •