+ Reply to Thread
Results 1 to 4 of 4

I need to remove 0 from the beginning of a code number, but only if the first number is 0

  1. #1
    Registered User
    Join Date
    08-12-2014
    Location
    Auckland, Nw Zealand
    MS-Off Ver
    Standard 2010,Excel version 14.0.7128.5000
    Posts
    2

    Post I need to remove 0 from the beginning of a code number, but only if the first number is 0

    The code numbers are in the format 111-111-111. If the first njumber is a 0 I need to remove it so that the format will be 11-111-111.

    Any ideas please?

    Thanks

  2. #2
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: I need to remove 0 from the beginning of a code number, but only if the first number i

    will this work? this assume your data is in col A

    Please Login or Register  to view this content.
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  3. #3
    Registered User
    Join Date
    08-12-2014
    Location
    Auckland, Nw Zealand
    MS-Off Ver
    Standard 2010,Excel version 14.0.7128.5000
    Posts
    2

    Re: I need to remove 0 from the beginning of a code number, but only if the first number i

    Fantastic, thanks for the quick answer to my dramas.

  4. #4
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: I need to remove 0 from the beginning of a code number, but only if the first number i

    not a problem....glad I could help and thanks for the rep points....

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA to remove formulas from specific number columns (number changes each week)
    By DKerr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-21-2013, 06:41 AM
  2. Replies: 2
    Last Post: 11-01-2007, 09:32 PM
  3. [SOLVED] Zero at the beginning of a number
    By Zeros at the front of numbers in forum Excel General
    Replies: 4
    Last Post: 04-11-2005, 10:06 AM
  4. [SOLVED] [SOLVED] How to display the number zero at the beginning of a number when .
    By Calvin in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 03-08-2005, 05:06 AM
  5. [SOLVED] Change negative sign from end of number to the beginning of the number.
    By GORDON SCALES via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-30-2005, 04:07 AM

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