dates in excel

S

stabfpo

i have imported data in a date format yymm (0806 = Jun 08). how can I make
excel recognize that?
 
G

Gary''s Student

Assuming four digits with the leading zero visible and data in column A, in
B1 enter:

=DATE(2000+LEFT(A1,2),--RIGHT(A1,2),1) and copy down

This formula will need adjustment if any dates are prior to 1/1/2000
 
W

ward376

Dates and times in xl are just formatted numbers.

=VALUE(RIGHT(A2,2)&"/"&LEFT(A2,2))

format as date.

Cliff Edwards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top