How to Create a date from 3 different cells?
Issue
In excel I have date spread across 3 cells; 1 with the day (A1), 1 with the month (A2) and 1 with the year (A3).
I want to put these 3 numbers into one cell as a date (A4).
A1 A2 A3 A4
15 11 09 15-11-09
I've looked at the "date and time" functions, but can't find anything.
Does anyone know a function or a VBA code that will solve my issue?
Solution
To do this, please use this formula:
DATE(year,month,day) in your case, write this formula into A4:
=DATE(C1,B1,A1)
and personalise your date format to have : dd-mm-yy
Note
Thanks to
aquarelle for this tip on the forum.