We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

help with excel.

Hi All,

Can anyone help? I am having to fill in an Excel Spreadsheet.

Whenever I fill in a cell with a figure that starts with a 0 or 00 it cuts the 0's off.

So if i am trying to type in 00123 it cuts it to 123.

Can anyone tell me how to stop this from happening.

Thanks in advance

Mark

Comments

  • mdbarber
    mdbarber Posts: 1,116 Forumite
    its because of numeric formatting, format the cells as text
    click here to achieve nothing!
  • f1charlie
    f1charlie Posts: 1,228 Forumite
    Or when entering the number precede it with '
    ie '00123, then it is treated as text
    Charlie
  • foreversomeday
    foreversomeday Posts: 1,011 Forumite
    There is a neater way :~)

    From the Microsoft website:
    http://support.microsoft.com/kb/214233

    Typing a Value with Leading Zeros

    Because leading zeros are insignificant digits, Microsoft Excel omits them when you type a number, such as 00023, in a cell. In this case, Microsoft Excel applies the General number format.

    To type a value with a leading zero, you can use one of the methods described in the previous section to type the value as text, or you can use the following steps to create a custom number format that contains leading zeros.
    1.Select the cell range that you want to format.
    2.On the Format menu, click Cells. On the Number tab, click Custom.
    3.In the Type box, type a zero for each digit in the number. For example, if the number has five digits, type five zeros.
    4.Click OK.
    I don't believe and I never did that two wrongs make a right
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 353.5K Banking & Borrowing
  • 254.1K Reduce Debt & Boost Income
  • 455K Spending & Discounts
  • 246.6K Work, Benefits & Business
  • 602.9K Mortgages, Homes & Bills
  • 178.1K Life & Family
  • 260.6K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.