ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Number formatting (https://www.excelbanter.com/excel-discussion-misc-queries/133549-number-formatting.html)

RMP

Number formatting
 
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
--
RMP

bigwheel

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

"RMP" wrote:

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
--
RMP


RMP

Number formatting
 
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?
--
RMP


"bigwheel" wrote:

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

"RMP" wrote:

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
--
RMP


bj

Number formatting
 
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

"RMP" wrote:

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
--
RMP


RMP

Number formatting
 
Excellent, just what i needed, thanks very much for your help.
--
RMP


"bj" wrote:

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

"RMP" wrote:

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
--
RMP


David Biddulph[_2_]

Number formatting
 
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.
--
David Biddulph

"RMP" wrote in message
...
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
--
RMP





All times are GMT +1. The time now is 05:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com