Time value to contain Months/Date/Year Hour:Minutes:Seconds AM/PM

hsandeep

Well-known Member
Joined
Dec 6, 2008
Messages
1,009
Office Version
  1. 2010
Platform
  1. Windows
  2. Mobile
I need time containing Months/Date/Year Hour:Minutes:Seconds AM/PM as shown in I2 with input cells being B2:G2
How to accomplish?
I am using Excel 2007
Sheet1

BCDEFGHI
1mmddyyyyhhmmss
2101620199300 10/16/2019 9:30:00 AM

<colgroup><col style="FONT-WEIGHT: bold; WIDTH: 30px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 40px"><col style="WIDTH: 12px"><col style="WIDTH: 148px"></colgroup><tbody>
</tbody>
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Scott R

Active Member
Joined
Feb 20, 2002
Messages
449
Office Version
  1. 365
Platform
  1. Windows
=date(c2, a2, b2) + time(d2, e2, f2)
 

Scott R

Active Member
Joined
Feb 20, 2002
Messages
449
Office Version
  1. 365
Platform
  1. Windows
Oops. Yeah, slide everything one cell to the right. DATE(D2,B2,C2) + TIME(E2,F2,G2)
 

Forum statistics

Threads
1,176,716
Messages
5,904,606
Members
435,101
Latest member
oldmaninla

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
Top