+ Reply to Thread
Results 1 to 2 of 2

Format-leading zeroes and formula

  1. #1
    Registered User
    Join Date
    11-28-2007
    Posts
    45

    Format-leading zeroes and formula

    Hi all, I have a spreadsheet with many leading zeroes-I used custom format to do this. Total digits is always 11 but i need to have only first 6 from left. The formula =LEFT(A2,6)is not working because of the leading zeroes...see attached file... Any help will be much appreciated.. Thanks in advance.
    Last edited by prasjohn; 02-13-2010 at 10:57 AM. Reason: attach file

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Format-leading zeroes and formula

    There's no file.... assuming you want the 0's

    =LEFT(TEXT(A2,"00000000000"),6)

+ 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