Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 72
Default How to restrict zeros in a number from 16th digit onwards

How to restrict zeros in a number from 16th digit onwards.

In other wards I made cell format as "Number" with no decimals. I entered a
number in that particular cell with 1234567891234567 (16 digit number) after
enter key it converting as 1234567891234560 ( "0" at 16 digit)

Advanced Thanks,

Regards,
Vinod
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default How to restrict zeros in a number from 16th digit onwards

Excel will only display 15 digits of a number, and will set any others
to zero. To overcome this you have to enter the number as text -
either by pre-formatting the cell as Text, or by typing an apostrophe
in front of your number.

Hope this helps.

Pete

On Nov 16, 7:58 pm, Vinod wrote:
How to restrict zeros in a number from 16th digit onwards.

In other wards I made cell format as "Number" with no decimals. I entered a
number in that particular cell with 1234567891234567 (16 digit number) after
enter key it converting as 1234567891234560 ( "0" at 16 digit)

Advanced Thanks,

Regards,
Vinod


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How to restrict zeros in a number from 16th digit onwards

Excel keeps track of 15 significant digits.

If you need more, you can treat the value as text by:
1. Precede the entry with an apostrophe: '1234123412341234
2. Pre-format the range as Text, then do the data entry.


Vinod wrote:

How to restrict zeros in a number from 16th digit onwards.

In other wards I made cell format as "Number" with no decimals. I entered a
number in that particular cell with 1234567891234567 (16 digit number) after
enter key it converting as 1234567891234560 ( "0" at 16 digit)

Advanced Thanks,

Regards,
Vinod


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default How to restrict zeros in a number from 16th digit onwards

Precede the number with a single quote
OR
Pre-format the cells as text
You will not be able to do arithmetic on these values but I doubt they are
real numbers.
Excel has a 15 digit precision limit.
best wishes
--
Bernard Liengme
www.stfx.ca/people/bliengme
Microsoft Excel MVP
remove CAPS in email address


"Vinod" wrote in message
...
How to restrict zeros in a number from 16th digit onwards.

In other wards I made cell format as "Number" with no decimals. I entered
a
number in that particular cell with 1234567891234567 (16 digit number)
after
enter key it converting as 1234567891234560 ( "0" at 16 digit)

Advanced Thanks,

Regards,
Vinod



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 72
Default How to restrict zeros in a number from 16th digit onwards

But I wanted to do some arthmatic operations on that number. So, I can't make
it as Text.

So is there any other solution.

Regards,
Vinod

"Bernard Liengme" wrote:

Precede the number with a single quote
OR
Pre-format the cells as text
You will not be able to do arithmetic on these values but I doubt they are
real numbers.
Excel has a 15 digit precision limit.
best wishes
--
Bernard Liengme
www.stfx.ca/people/bliengme
Microsoft Excel MVP
remove CAPS in email address


"Vinod" wrote in message
...
How to restrict zeros in a number from 16th digit onwards.

In other wards I made cell format as "Number" with no decimals. I entered
a
number in that particular cell with 1234567891234567 (16 digit number)
after
enter key it converting as 1234567891234560 ( "0" at 16 digit)

Advanced Thanks,

Regards,
Vinod






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default How to restrict zeros in a number from 16th digit onwards

If you want to do arithmetic on it, you'll have to use text functions such
as LEFT and RIGHT to split it into parts that are within Excel's number
range and manipulate them separately.
--
David Biddulph

"Vinod" wrote in message
...
But I wanted to do some arthmatic operations on that number. So, I can't
make
it as Text.

So is there any other solution.

Regards,
Vinod

"Bernard Liengme" wrote:

Precede the number with a single quote
OR
Pre-format the cells as text
You will not be able to do arithmetic on these values but I doubt they
are
real numbers.
Excel has a 15 digit precision limit.
best wishes
--
Bernard Liengme
www.stfx.ca/people/bliengme
Microsoft Excel MVP
remove CAPS in email address


"Vinod" wrote in message
...
How to restrict zeros in a number from 16th digit onwards.

In other wards I made cell format as "Number" with no decimals. I
entered
a
number in that particular cell with 1234567891234567 (16 digit number)
after
enter key it converting as 1234567891234560 ( "0" at 16 digit)

Advanced Thanks,

Regards,
Vinod






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to validate a cell to insert from 9 digit number to 13 digit number. ramulu via OfficeKB.com Excel Worksheet Functions 1 February 21st 07 02:32 PM
How to validate a cell to insert from 9 digit number to 13 digit number. ramulu Excel Worksheet Functions 1 February 21st 07 10:00 AM
16th digit in the cell changes to a zero?? [email protected] Excel Discussion (Misc queries) 2 June 2nd 05 01:46 PM
16th digit changes?? Problem,16th digit changes to a zero.... [email protected] Excel Worksheet Functions 2 June 2nd 05 08:48 AM
When we enter a 16 digit number (credit card) the last digit chan. ceking Excel Discussion (Misc queries) 5 December 8th 04 11:45 PM


All times are GMT +1. The time now is 10:22 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"