Number formatting


G

Guest

I have a number showing in cell B2 as 00 00000 000 which is the format
required.

When I view the same number in the formula bar it shows as 0000000000 and is
sometimes even a digit short (removing the first zero)

The format showing is affecting my VLOOKUP formula, please could someone
help me by formatting the account number so it shows as 00 00000 000 in the
cell and in the formula bar.

Any help will be much appreciated.

Thanks
 
Ad

Advertisements

G

Guest

Format the cells as text and type the numbers in with spaces in the
appropriate places
 
G

Guest

Thankyou for your response,unfortunately that is not an option I am able to
use as there are uoto 1500 entries.

Do you have any other suggestions?
 
G

Guest

insert a column next to it
in C2 enter
=text(b2,"00 00000 000")
copy and paste to end of data
copy column c and paste special values
it is text that will show the same in the formula bar and the cell
 
Ad

Advertisements

D

David Biddulph

If it is a number, then the formula bar will show the number, not any
formatting which you have applied. If you want to see spaces, and leading
zeroes, then you'll need to treat the data as text, either by formatting the
cell as text before you type the data in or by preceding the data with an
apostrophe.
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top