ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Date Fields (https://www.excelbanter.com/new-users-excel/24449-date-fields.html)

Metalteck

Date Fields
 
I have a spreadsheet that has 4 columns.
H=Month, ex 4
J=Day , ex 1
K=Year, ex 5
L=Century, ex 20

How can I gather all of these fields so that it can look like 4/1/2005 and
dragged down to 400 times?


JE McGimpsey

One way:

=DATE(L1*100+K1,H1,J1)


In article ,
Metalteck wrote:

I have a spreadsheet that has 4 columns.
H=Month, ex 4
J=Day , ex 1
K=Year, ex 5
L=Century, ex 20

How can I gather all of these fields so that it can look like 4/1/2005 and
dragged down to 400 times?


Nick Hodge

Try in a spare cell

=DATEVALUE(H1&"/"&I1&"/"&J1)

And copy down. If the dates are all after 1930 and you haven't changed the
default, you shouldn't need the century

You will need to format the resulting number as a date

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS


"Metalteck" wrote in message
...
I have a spreadsheet that has 4 columns.
H=Month, ex 4
J=Day , ex 1
K=Year, ex 5
L=Century, ex 20

How can I gather all of these fields so that it can look like 4/1/2005 and
dragged down to 400 times?





All times are GMT +1. The time now is 08:10 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com