Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 788
Default Long # turns into a formula-How do I turn that off?

I have to enter the date in a certain way, yyyymmddhhmm.
I enter 200704301524 into a cell. I save the file in .csv. When I open the
file again, the # is changed to a formula, 2.00704E+11
How do I get it to not do that? I have tried saving it as a text, and it
still doesn't work.
Thanks,
Chris

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Long # turns into a formula-How do I turn that off?

You're seeing scientific notation format. You could change the format to:

Format/Cells/Number/Custom 000000000000




In article ,
Chris wrote:

I have to enter the date in a certain way, yyyymmddhhmm.
I enter 200704301524 into a cell. I save the file in .csv. When I open the
file again, the # is changed to a formula, 2.00704E+11
How do I get it to not do that? I have tried saving it as a text, and it
still doesn't work.
Thanks,
Chris

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 788
Default Long # turns into a formula-How do I turn that off?

I do that, and save teh file. When I open the file again, it goes back to the
formula.

"JE McGimpsey" wrote:

You're seeing scientific notation format. You could change the format to:

Format/Cells/Number/Custom 000000000000




In article ,
Chris wrote:

I have to enter the date in a certain way, yyyymmddhhmm.
I enter 200704301524 into a cell. I save the file in .csv. When I open the
file again, the # is changed to a formula, 2.00704E+11
How do I get it to not do that? I have tried saving it as a text, and it
still doesn't work.
Thanks,
Chris


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Long # turns into a formula-How do I turn that off?

Yep.

Excel sees the .csv file and does what it wants with the data.

You have a few options:
1. Don't save the file as .csv (use .xls -- a normal workbook)
2. Rename the .csv file to .txt and when you open that file via File|Open,
you'll be able to specify the field the way you want (text??).
3. Reapply the number formatting each time you open the .csv file.


Chris wrote:

I do that, and save teh file. When I open the file again, it goes back to the
formula.

"JE McGimpsey" wrote:

You're seeing scientific notation format. You could change the format to:

Format/Cells/Number/Custom 000000000000




In article ,
Chris wrote:

I have to enter the date in a certain way, yyyymmddhhmm.
I enter 200704301524 into a cell. I save the file in .csv. When I open the
file again, the # is changed to a formula, 2.00704E+11
How do I get it to not do that? I have tried saving it as a text, and it
still doesn't work.
Thanks,
Chris



--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default Long # turns into a formula-How do I turn that off?

Also enclosing the "number" in single quotes will force it to remain text.

Dave Peterson wrote:

Yep.

Excel sees the .csv file and does what it wants with the data.

You have a few options:
1. Don't save the file as .csv (use .xls -- a normal workbook)
2. Rename the .csv file to .txt and when you open that file via File|Open,
you'll be able to specify the field the way you want (text??).
3. Reapply the number formatting each time you open the .csv file.


Chris wrote:

I do that, and save teh file. When I open the file again, it goes back to the
formula.

"JE McGimpsey" wrote:


You're seeing scientific notation format. You could change the format to:

Format/Cells/Number/Custom 000000000000




In article ,
Chris wrote:


I have to enter the date in a certain way, yyyymmddhhmm.
I enter 200704301524 into a cell. I save the file in .csv. When I open the
file again, the # is changed to a formula, 2.00704E+11
How do I get it to not do that? I have tried saving it as a text, and it
still doesn't work.
Thanks,
Chris





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Long # turns into a formula-How do I turn that off?

But doesn't this add extra characters to each value?

I ended up with '1234' in a cell (including both apostrophes)

Bob I wrote:

Also enclosing the "number" in single quotes will force it to remain text.

Dave Peterson wrote:

Yep.

Excel sees the .csv file and does what it wants with the data.

You have a few options:
1. Don't save the file as .csv (use .xls -- a normal workbook)
2. Rename the .csv file to .txt and when you open that file via File|Open,
you'll be able to specify the field the way you want (text??).
3. Reapply the number formatting each time you open the .csv file.


Chris wrote:

I do that, and save teh file. When I open the file again, it goes back to the
formula.

"JE McGimpsey" wrote:


You're seeing scientific notation format. You could change the format to:

Format/Cells/Number/Custom 000000000000




In article ,
Chris wrote:


I have to enter the date in a certain way, yyyymmddhhmm.
I enter 200704301524 into a cell. I save the file in .csv. When I open the
file again, the # is changed to a formula, 2.00704E+11
How do I get it to not do that? I have tried saving it as a text, and it
still doesn't work.
Thanks,
Chris



--

Dave Peterson
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default Long # turns into a formula-How do I turn that off?

Put single quote first when you enter it as in
'200704301524


Chris wrote:

I have to enter the date in a certain way, yyyymmddhhmm.
I enter 200704301524 into a cell. I save the file in .csv. When I open the
file again, the # is changed to a formula, 2.00704E+11
How do I get it to not do that? I have tried saving it as a text, and it
still doesn't work.
Thanks,
Chris


  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 788
Default Long # turns into a formula-How do I turn that off?

I have done that too, and the same thing happens. I save the file. Close it
out, and when I reopen it, the formula is back.

"Bob I" wrote:

Put single quote first when you enter it as in
'200704301524


Chris wrote:

I have to enter the date in a certain way, yyyymmddhhmm.
I enter 200704301524 into a cell. I save the file in .csv. When I open the
file again, the # is changed to a formula, 2.00704E+11
How do I get it to not do that? I have tried saving it as a text, and it
still doesn't work.
Thanks,
Chris



  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default Long # turns into a formula-How do I turn that off?

I'm sorry, missed the CSV and opening it as CSV. Enclose it in quotes.
'200704301524'

Chris wrote:

I have done that too, and the same thing happens. I save the file. Close it
out, and when I reopen it, the formula is back.

"Bob I" wrote:


Put single quote first when you enter it as in
'200704301524


Chris wrote:


I have to enter the date in a certain way, yyyymmddhhmm.
I enter 200704301524 into a cell. I save the file in .csv. When I open the
file again, the # is changed to a formula, 2.00704E+11
How do I get it to not do that? I have tried saving it as a text, and it
still doesn't work.
Thanks,
Chris




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
= sum value turns to text and formula disappears Tara DAgostino Excel Worksheet Functions 1 January 21st 06 07:31 PM
My formula is too long, What am I to do? Scott Excel Discussion (Misc queries) 2 December 14th 05 10:43 PM
the end of long numbers turn to 0s how do i stop that? Shawna New Users to Excel 2 November 21st 05 07:19 PM
formula to long Dickey Excel Discussion (Misc queries) 1 May 26th 05 08:18 AM
How can I create formula that turns a date into the week # in don Excel Discussion (Misc queries) 0 November 28th 04 09:21 PM


All times are GMT +1. The time now is 12:02 PM.

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

About Us

"It's about Microsoft Excel"