exported date field not recognized as date in Excel...Help!

sawgee2001

New Member
Joined
Nov 26, 2002
Messages
24
When I export a date field from my payroll database into Excel, Excel does not recognize the data as a "date". For example, January 15, 1976 would be entered into the our payroll software as 01/15/1976, and when this field is exported into Excel, it appears as 01/15/1976. However, when I try to sort on the column of exported data to create a list based on seniority, it sorts based on the data from the left, not by the year. I've checked the regional settings, and it is set as "mm/dd/yyyy". I've tried to format the column, using a custom date format, but this does not seem to change anything. Any ideas out there?
This message was edited by sawgee2001 on 2002-11-27 00:06
 
Excellent Aladdin, in fact since you resolved this puzzle i have opened an account here for more info regarding Excel (I had the same problem for several years!). THANKS!
icon14.png

That's great. Thanks for providing acu a nice feedback.
 
Upvote 0

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Hi Aladin,

I have the same issue and have seen you thread what is meant by


these two steps (3.) Activate Edit|Paste Special >Add. (i.e What is >ADD?)

(4.) Format the date range as date.[/QUOTE]


What is .[/QUOTE]

Rav



Let A1 house an imported date.

If

=ISNUMBER(A1)

results in FALSE, do the following...

(1.) Copy an empty cell.
(2.) Select the range of imported dates.
(3.) Activate Edit|Paste Special >Add.
(4.) Format the date range as date.[/QUOTE]
 
Upvote 0
Hi Aladin,

I have the same issue and have seen you thread what is meant by


these two steps (3.) Activate Edit|Paste Special >Add. (i.e What is >ADD?)

(4.) Format the date range as date.


What is .[/QUOTE]

Rav



Let A1 house an imported date.

If

=ISNUMBER(A1)

results in FALSE, do the following...

(1.) Copy an empty cell.
(2.) Select the range of imported dates.
(3.) Activate Edit|Paste Special >Add.
(4.) Format the date range as date.[/QUOTE][/QUOTE]

The recipe I posted consists of:
(1.) Copy an empty cell.
(2.) Select the range of imported dates.
(3.) Activate Edit|Paste Special >Add.
(4.) Format the date range as date.

The foregoing has no "QUOTE" at the end. It's by the way an html tag.
If you are at the Paste Special step, you'll see Add an option to show.

Hope the foregoing clarification helps.
 
Upvote 0
What is .

Rav



Let A1 house an imported date.

If

=ISNUMBER(A1)

results in FALSE, do the following...

(1.) Copy an empty cell.
(2.) Select the range of imported dates.
(3.) Activate Edit|Paste Special >Add.
(4.) Format the date range as date.[/QUOTE][/QUOTE]

The recipe I posted consists of:
(1.) Copy an empty cell.
(2.) Select the range of imported dates.
(3.) Activate Edit|Paste Special >Add.
(4.) Format the date range as date.

The foregoing has no "QUOTE" at the end. It's by the way an html tag.
If you are at the Paste Special step, you'll see Add an option to show.

Hope the foregoing clarification helps.[/QUOTE]

hi I am still confused I get to false results

I copy a empty cell select range of bad dates right click paste special no option to add
 
Upvote 0
Excellent Aladdin, in fact since you resolved this puzzle i have opened an account here for more info regarding Excel (I had the same problem for several years!). THANKS!
icon14.png

I have had this problem and found other work arounds that "worked" but this is simple and fast. THANK YOU!
 
Upvote 0
Hi this didn't seem to work for me:

Copied blank cell
pasted special add into cell with spurious date
changed cell format to date format

but no change?

Thanks
 
Upvote 0
Hi this didn't seem to work for me:

Copied blank cell
pasted special add into cell with spurious date
changed cell format to date format

but no change?

Thanks

You mean the recipe discussed in this thread did not help to transform your date cell into a true date housing cell, right?

Let's try another recipe:

Select the cell.
Activate the Data | Text to Columns.
At the 3rd step, choose a date format for Date.
Click Finish.

Does this help?
 
Upvote 0

Forum statistics

Threads
1,216,101
Messages
6,128,845
Members
449,471
Latest member
lachbee

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top