Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Nov 2005
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I need to join 2 cells together but keep the preceding zeros in the second cell
    I've tried concatenate, =text, =value, copying to note book and repasting in
    They all drop the leading zeros

    first columns has my internal dept codes and second has budget code

    ie col a = abc col b = 0025 result sought = abc-0025

    Any ideas

    manually entering data is not ideal as i have hundreds of rows

    Thanks

  2. #2
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Weert, Limburg, Netherlands
    Posts
    4,812
    Thanks
    0
    Thanked 0 Times in 0 Posts
    =A1 & "-" & TEXT(B1,"0000")
    Jan Karel Pieterse
    Microsoft Excel MVP, WMVP
    www.jkp-ads.com
    Professional Office Developers Association

Posting Permissions

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