Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
havanakids
 
Posts: n/a
Default How do I stop Excel from converting a numerical entry to a date?

I'm creating a spreadsheet in which one column contains SKU (stock keeping
unit) numbers. Excel sometimes sees these values as dates and automatically
converts them in my spreadsheet. For example, Excel sees 10-1999 as Oct-99.
  #2   Report Post  
Rowan Drummond
 
Posts: n/a
Default How do I stop Excel from converting a numerical entry to a date?

Enter it as '10-1999. The apostrophe will convert your entry to text but
will not show in the cell. You will be able to see it in the formula bar.

Alternately format the cell as text before entering the SKU.

Hope this helps
Rowan

havanakids wrote:
I'm creating a spreadsheet in which one column contains SKU (stock keeping
unit) numbers. Excel sometimes sees these values as dates and automatically
converts them in my spreadsheet. For example, Excel sees 10-1999 as Oct-99.

  #3   Report Post  
havanakids
 
Posts: n/a
Default How do I stop Excel from converting a numerical entry to a dat

Your answer was right on target! Preceeding the numerical value with an
apostrophe forced Excel to leave the value alone. Many thanks for your help.
I was ready to quit!

"Rowan Drummond" wrote:

Enter it as '10-1999. The apostrophe will convert your entry to text but
will not show in the cell. You will be able to see it in the formula bar.

Alternately format the cell as text before entering the SKU.

Hope this helps
Rowan

havanakids wrote:
I'm creating a spreadsheet in which one column contains SKU (stock keeping
unit) numbers. Excel sometimes sees these values as dates and automatically
converts them in my spreadsheet. For example, Excel sees 10-1999 as Oct-99.


  #4   Report Post  
Rowan Drummond
 
Posts: n/a
Default How do I stop Excel from converting a numerical entry to a dat

You're welcome.

havanakids wrote:
Your answer was right on target! Preceeding the numerical value with an
apostrophe forced Excel to leave the value alone. Many thanks for your help.
I was ready to quit!

  #5   Report Post  
mcs51mc
 
Posts: n/a
Default How do I stop Excel from converting a numerical entry to a date?


If your stock numbers always have the same format xx-xxxx like your
example, then creating a ##-#### format is a better way to solve your
problem. Set that format to the whole column. That way when the user
enters 102005, Excel will format it in 10-2005. Saves you two key
strokes (' and -) for each entry :)

Alain


--
mcs51mc
------------------------------------------------------------------------
mcs51mc's Profile: http://www.excelforum.com/member.php...o&userid=28645
View this thread: http://www.excelforum.com/showthread...hreadid=483389

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
Can stop excel from converting value to date? desmond New Users to Excel 3 September 21st 05 01:36 PM
format date in excel Nigel Excel Discussion (Misc queries) 2 September 15th 05 09:52 PM
How do I stop Excel from changing numbers into a date? Buckwildbill Excel Discussion (Misc queries) 1 March 7th 05 07:42 AM
Excel file modification date GROSNER Excel Discussion (Misc queries) 5 March 4th 05 01:19 AM
Creating a Date Selector in Excel VBA? Mark Excel Discussion (Misc queries) 0 November 25th 04 10:59 PM


All times are GMT +1. The time now is 08:07 PM.

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"