how can I change MMDDYY to YYYYMMDD?

M

mhayes

The formula =MID(C7,5,2) & LEFT(C7,2) & MID(C7,3,2) gets me to YYMMDD. I
can't figure out how to get the year in full (YYYY).
 
M

Mike H

Show us what's in C7 because I doubt the formula you posted is going to give
the result you expect.
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.
 
D

David Biddulph

=20&MID(C7,5,2) & LEFT(C7,2) & MID(C7,3,2) or
=19&MID(C7,5,2) & LEFT(C7,2) & MID(C7,3,2) or ...
 

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