Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Rounds the large numeric value

Hi,

I am trying to open a csv file with large numeric value.
Ex: 10028200934100567, 10028200934100658, 10028200934100666

When the file is opened in Excel 2007, it applies scientific number format
automatically and rounds the last two digits. I can not get back the original
value.

How can I prevent Excel from doing this automatic formatting?

Thanks,
Nilesh
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Rounds the large numeric value

Change the CSV to TXT extension.

When you open the *.txt file in Excel the Text Import Wizard will display
so's you can designate the format as Text.


Gord Dibben MS Excel MVP

On Wed, 27 Jan 2010 11:26:14 -0800, Nilesh.Patel
wrote:

Hi,

I am trying to open a csv file with large numeric value.
Ex: 10028200934100567, 10028200934100658, 10028200934100666

When the file is opened in Excel 2007, it applies scientific number format
automatically and rounds the last two digits. I can not get back the original
value.

How can I prevent Excel from doing this automatic formatting?

Thanks,
Nilesh


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 905
Default Rounds the large numeric value

"Nilesh.Patel" wrote:
I am trying to open a csv file with large numeric value.
Ex: 10028200934100567, 10028200934100658, 10028200934100666
When the file is opened in Excel 2007, it applies
scientific number format automatically and rounds the
last two digits.


If those are truly numbers (i.e. you intend to do arithmetic or other
numerical operations with them), then Excel is doing the correct thing. If
the scientific notation bothers you, change the cell format from General to
Number.

However, if they are really IDs (e.g. credit card "numbers"), you need to
enter them as text.

Sadly, I don't believe this can done with CSV file per se. You can change
the file extension to ".txt" and use the Text Import wizard (Data Import
External Data in Excel 2003) to input the data.

Be sure click on Next, not Finish, to get to one of the last menus and
change the Column Data Format to Text instead of General. Unfortunately,
that will input everything in the column as text. So you might need to do
some conversion (of actual numbers) afterwards.

----- original message -----

"Nilesh.Patel" wrote:

Hi,

I am trying to open a csv file with large numeric value.
Ex: 10028200934100567, 10028200934100658, 10028200934100666

When the file is opened in Excel 2007, it applies scientific number format
automatically and rounds the last two digits. I can not get back the original
value.

How can I prevent Excel from doing this automatic formatting?

Thanks,
Nilesh

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
formula needed that rounds to 99 cents jwbuyer Excel Worksheet Functions 4 January 30th 09 12:04 AM
formula rounds differently in 2 spreadsheets Curious Kitten Excel Worksheet Functions 1 October 11th 06 06:46 PM
I need a %age increase formula that rounds up to the nearest $10 Chopper_Haynes Excel Worksheet Functions 4 October 4th 05 06:44 PM
Round function that rounds down if 5 Mikus Excel Worksheet Functions 5 August 29th 05 11:27 PM
How can set how a number rounds up in excel eric p Excel Worksheet Functions 1 October 28th 04 02:59 AM


All times are GMT +1. The time now is 03:34 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"