Create Date from 3 cells

slam

Well-known Member
Joined
Sep 16, 2002
Messages
921
Office Version
  1. 365
  2. 2019
Hi everyone!

Example of my data, all formatted as General:
  • In B2, I have the year: 2020
  • In B3, I have the month: January
  • In B4, I have the day of the month: 12

In B1, I wanted to create a date from these 3 cells in the format MM/DD/YYY, so this should appear as 1/12/2020 (or 01/12/2020 is okay as well) - sorry the for crazy American date format :)

The reason I can't just create the first date, then drag across, is that there are many gaps in the dates, and my data goes up to column AWU.

Is there a formula that could do this?

Excel 365

Thanks!
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
This works for me (I am using an American version).

Formula:
Excel Formula:
=DATEVALUE(CONCATENATE(B3," ",B4,", ",B2))
and then format the cell the formula is in with a date format of MM/DD/YYYY
 
Upvote 1
Solution
You are welcome.
Glad I was able to help!
 
Upvote 0

Forum statistics

Threads
1,224,885
Messages
6,181,587
Members
453,055
Latest member
cope7895

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top