Announcement

Collapse
No announcement yet.

Unconfigured Ad Widget

Collapse

MS-Excel:The Leading Zero

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • MS-Excel:The Leading Zero

    The Leading Zero

    Are you constantly frustrated with MS Excel, because it keeps removing that leading zero from your inventory number? (Or any leading zero on any piece of data?)



    The problem is that Excel automatically sees the data as a number and leading zeros have no value in numbers, so it gets rid of them.


    It's convenient when you're actually dealing with numbers, but a pain when it's a part number or an ID number.


    A quick way to get Excel to leave your zeros alone is to change the cell format to text.
    There are a few ways to make the change, so let's cover a couple of them.


    One way to handle the situation is to first highlight the cells to change. Then go to the Format menu, Cells choice. (Ctrl + 1 works too).


    On the General tab, choose Text from the Categories list. Click OK.


    Voila, the leading zeros are safe.


    If you only have a few cells to change, you could just type an apostrophe before entering the data (for example, instead of typing 0123 in the cell, type '0123).


    When you hit the Enter key, the change is made instantly, for that cell only, and once again, your zero is safe and sound.


  • #2
    Re: MS-Excel:The Leading Zero

    Originally posted by sheem
    The Leading Zero

    Are you constantly frustrated with MS Excel, because it keeps removing that leading zero from your inventory number? (Or any leading zero on any piece of data?)



    The problem is that Excel automatically sees the data as a number and leading zeros have no value in numbers, so it gets rid of them.


    It's convenient when you're actually dealing with numbers, but a pain when it's a part number or an ID number.


    A quick way to get Excel to leave your zeros alone is to change the cell format to text.
    There are a few ways to make the change, so let's cover a couple of them.


    One way to handle the situation is to first highlight the cells to change. Then go to the Format menu, Cells choice. (Ctrl + 1 works too).


    On the General tab, choose Text from the Categories list. Click OK.


    Voila, the leading zeros are safe.


    If you only have a few cells to change, you could just type an apostrophe before entering the data (for example, instead of typing 0123 in the cell, type '0123).


    When you hit the Enter key, the change is made instantly, for that cell only, and once again, your zero is safe and sound.

    :tauba jabhi main bhi kahoon yeh kya hota hai - ab samajh mein aaya - thnks sis
    tumharey bas mein agar ho to bhool jao mujhey
    tumhein bhulaney mein shayid mujhey zamana lagey

    Comment


    • #3
      Re: MS-Excel:The Leading Zero

      Mujy pata tha...

      Comment

      Working...
      X