+ Reply to Thread
Results 1 to 4 of 4

Add Zero to single digit numbers

  1. #1
    Registered User
    Join Date
    03-20-2013
    Location
    Yorkshire
    MS-Off Ver
    Excel 2007
    Posts
    17

    Add Zero to single digit numbers

    Hi. I would like to be able to add a zero to all SINGLE digit numbers in a column, not double digit numbers (for the purpose of Sorting chronologically). Anyone help please?? Thanks.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Add Zero to single digit numbers

    Hi
    custom format as 00

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,732

    Re: Add Zero to single digit numbers

    Use this:

    =IF(A1<10,"0,"")&A1

    or this if you numbers are already text values:

    =IF(LEN(A1)=1,"0","")&A1

    then copy down.

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    03-20-2013
    Location
    Yorkshire
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Add Zero to single digit numbers

    great - many thanks

+ 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. Color a single digit in a mult-digit number cell
    By Phyllis in forum Excel General
    Replies: 8
    Last Post: 09-30-2022, 04:22 PM
  2. [SOLVED] How to subtract single cells with double digits into a single digit of a single cell.
    By greenfox74 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-11-2021, 02:05 AM
  3. Extract 4 digit common numbers from 5 digit numbers
    By ameque in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-24-2013, 01:09 AM
  4. [SOLVED] macro to extract 9 digit numbers as well as alpha numberic 9 digit numbers from txt file
    By Raju Radhakrishnan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-13-2012, 10:15 AM
  5. Adding 5 numbers to a single 3 digit
    By wd8ekd in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 07-26-2008, 01:49 PM

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