Author Topic: Microsoft Excell 2003  (Read 1685 times)

pntalbot

  • Half Acre
  • ***
  • Posts: 153
Microsoft Excell 2003
« on: May 22, 2008, 15:29:45 »
New to Excell could anybody please tell me, how you put in a Cell, a tele number 0870-- all I get is `870`. I`ve already tried--- Format/ Cell/Number and various Options

philandjan

  • Half Acre
  • ***
  • Posts: 107
  • It wasn't us!
Re: Microsoft Excell 2003
« Reply #1 on: May 22, 2008, 16:28:49 »
From my experience, leading zeros are always cut off.

The way that I normally get round it is by defining the cells as being text. It just means that you can't use them in formulae.
Once upon a time we were the newbies from Harley allotments. Now we're old codgers!

Barnowl

  • Hectare
  • *****
  • Posts: 3,738
  • getting back to my roots [SW London]
Re: Microsoft Excell 2003
« Reply #2 on: May 22, 2008, 17:42:09 »
Define the cell format as text.

If you subsequently want to treat it as a number you can use the Value() function to convert it into a number.

e.g where A3  is text  '004906783'     Value (A3) will give you the number 4906783

It gets much more complicated if you have hyphens and spaces in the telephone number, though actually can't think why you would want to treat one as an actual number anyway.....

pntalbot

  • Half Acre
  • ***
  • Posts: 153
Re: Microsoft Excell 2003
« Reply #3 on: May 22, 2008, 17:51:20 »
Barnowl
The number 0870 is the start of a tele number, which surely can be Logged in Excel without hyphens etc

Barnowl

  • Hectare
  • *****
  • Posts: 3,738
  • getting back to my roots [SW London]
Re: Microsoft Excell 2003
« Reply #4 on: May 23, 2008, 12:26:28 »
I think the point of the question was that if you do so without predefining the format of the cell you lose the leading zero?

asbean

  • Hectare
  • *****
  • Posts: 3,411
  • Winchester, Hants
Re: Microsoft Excell 2003
« Reply #5 on: May 23, 2008, 12:32:25 »
I don't use Excel much, but from what I remember if you put an apostrophe first then the number it treats it as text.
The Tuscan Beaneater

Eristic

  • Hectare
  • *****
  • Posts: 1,824
  • NW London (Brent)
    • Down the Plot
Re: Microsoft Excell 2003
« Reply #6 on: May 24, 2008, 02:55:01 »
Phone numbers should always be entered as text. Phone numbers are numbers in name only, they look like numbers but you cannot perform meaningfull calculations on them. The number is really a unique id of a line connection and in the future could be upgraded to alphanumeric.

 

SimplePortal 2.3.5 © 2008-2012, SimplePortal