Link to home
Start Free TrialLog in
Avatar of teaone
teaone

asked on

convert text to date

I have text "September" in cell A1 and "2011" in A2. How do I convert these text values into a date format Sep-2011?
ASKER CERTIFIED SOLUTION
Avatar of sanofi-aventis
sanofi-aventis

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nscoh
nscoh

Assuming you want this converted and placed into A3.  In cell A3 enter:

=DATEVALUE(A1 & "1, " & A2)

Avatar of barry houdini
If you use this formula in A3 it'll give you a date (1st of that month)

=A1&A2

You can then format any way you want.

or if you want text

=TEXT(A1&A2,"mmm-yyyy")

regards, barry