How do I create a date format

R

rrupp

I have a user, in Excel 2003, that wants to type in just the numbers for a
date and have the / default in, like an input mask.
So, she'll type in 041708 for today (April 17th, 2008) but wants the / to
default in after the month, date. I have searched for input mask and I
thought I could create a custom, ##/##/## but not getting what I need. Any
thoughts?
I apologize if this is an easy one, I must be missing something.
Thanks for your time.
 
G

Gary''s Student

If the typed value is in A1, then in B1:

=DATE(2000+RIGHT(A1,2),LEFT(A1,2),MID(A1,3,2))
 

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