View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier
 
Posts: n/a
Default creating a date column from seperate data

Hi
Try entering in cell D1
=DATE(YEAR(A1),MONTH(B1),DAY(C1))
Copy down as appropriate.

Regards

Roger Govier


T.O. wrote:
hi,
i have a very large table, in which the dates are represented by 3
seperate columns: year, month and day (all integers).
how can i use these 3 fields in a function (or macro) to create a
fourth column, containing the date in an excel date format?
i.e. if a line in my table looks like this: 1993 11 28
then i'd like to add a fourth column, reading: 11/28/1993

thanx.