Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel-How Do I prevent data conversion to date format

I am trying to input symbolic numerical data that includes forward slashes ie
"5/5" in a simple excel spread sheet. However when I do so, it converts the
input into a date format ie: "5-may" or "5/5/07" Furthermore. Even if I erase
the content from the "evil" cell in question, any future integer value ( ie:
" 5 " ) entered in to that cell is converted to a date format. How do I
prevent this from happening and/or disable this function in excel. Thanks
for any and all help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default Excel-How Do I prevent data conversion to date format

On Sun, 30 Sep 2007 12:11:03 -0700, MadHatter8_10
wrote:

I am trying to input symbolic numerical data that includes forward slashes ie
"5/5" in a simple excel spread sheet. However when I do so, it converts the
input into a date format ie: "5-may" or "5/5/07" Furthermore. Even if I erase
the content from the "evil" cell in question, any future integer value ( ie:
" 5 " ) entered in to that cell is converted to a date format. How do I
prevent this from happening and/or disable this function in excel. Thanks
for any and all help.


The data must be entered into the cell as TEXT.

This can be done either by

1. Format the cell as TEXT before entering the data (Format/Cells/Number/Text)
2. Precede the data with a single quote '2/2


--ron
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Excel-How Do I prevent data conversion to date format

Format the cell for "Text" *before* entering the data, or precede the data
with an apostrophe ('). The apostrophe will not show up in the cell but will
show up in the formula bar. The apostrophe tells Excel to treat the data
strictly as it was entered with no date or other conversions.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"MadHatter8_10" wrote in message
...
I am trying to input symbolic numerical data that includes forward slashes
ie
"5/5" in a simple excel spread sheet. However when I do so, it converts
the
input into a date format ie: "5-may" or "5/5/07" Furthermore. Even if I
erase
the content from the "evil" cell in question, any future integer value (
ie:
" 5 " ) entered in to that cell is converted to a date format. How do I
prevent this from happening and/or disable this function in excel. Thanks
for any and all help.


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Excel-How Do I prevent data conversion to date format

Precede the 5/5 with a apostrophe or pre-format to Text


Gord Dibben MS Excel MVP

On Sun, 30 Sep 2007 12:11:03 -0700, MadHatter8_10
wrote:

I am trying to input symbolic numerical data that includes forward slashes ie
"5/5" in a simple excel spread sheet. However when I do so, it converts the
input into a date format ie: "5-may" or "5/5/07" Furthermore. Even if I erase
the content from the "evil" cell in question, any future integer value ( ie:
" 5 " ) entered in to that cell is converted to a date format. How do I
prevent this from happening and/or disable this function in excel. Thanks
for any and all help.


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
permanent conversion of 1904 date format to 1900 date format Jos Excel Worksheet Functions 4 November 26th 15 02:48 PM
Conversion of date into different format Fam via OfficeKB.com Excel Discussion (Misc queries) 8 July 31st 06 09:14 PM
Date format conversion Terry Pinnell Excel Discussion (Misc queries) 5 November 21st 05 07:53 PM
How do I prevent Excel from auto-correcting the date format? Watts Excel Discussion (Misc queries) 2 September 15th 05 02:08 PM
Date Format - Conversion tinkertoy Excel Discussion (Misc queries) 1 July 14th 05 06:24 PM


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