Add Time to Date

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,589
Office Version
  1. 2021
Platform
  1. Windows
I have dates in Col D and time in Col G

I have tried to combine the time with the date but cannot get formula to work


Code:
=12/1/2018 "& text(G3,"hh:mm")&" (format dd/mm/yyyý)

It would be appreciated if someone could assist me
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
If you have real dates and times in both columns just add them together,

=D3 + G3

and format as required.
 
Upvote 0
Thanks Norie

I set up a separate column to add this. The other alternative is to change say D3 to = Date(2018;01,20) + G3
 
Upvote 0

Forum statistics

Threads
1,223,423
Messages
6,172,029
Members
452,443
Latest member
Edmundo Cruz

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