How to split date and time column into separate columns?

rageagainstjg

New Member
Joined
Aug 17, 2011
Messages
14
Office Version
  1. 365
Platform
  1. Windows
Hey guys,

I have the following spreadsheet and am needing some formula help for columns "G" and "H". In essence, all that really needs to happen is column "F" needs to be separated into columns "G" and "H".

However, that might be difficult (no idea) so I am willing to completely lose my current column "F" and just have the entries for columns "G" and "H" if that is easier.



Does anybody have any thoughts?
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
having issues seeing that example - so not sure what you have

also some unknown share

how about

note the highlight cells shows the date as a general format

just dates are integers , and time is the decimal part

Book2
FGH
1
21/1/22 9:001/1/2209:00:00
31/2/22 9:001/2/2209:00:00
41/3/22 9:001/3/2209:00:00
51/4/22 9:001/4/2209:00:00
61/5/22 9:001/5/2209:00:00
71/6/22 9:001/6/2209:00:00
81/7/22 9:001/7/2209:00:00
91/8/22 9:001/8/2209:00:00
1044570.375445700.375
1144571.375445710.375
1244572.375445720.375
Sheet1
Cell Formulas
RangeFormula
G2:G12G2=INT(F2)
H2:H12H2=F2-INT(F2)


Note: Images are difficult to see , and also requires that I input all the data myself, which is very time consuming.

A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC , then put the sample spreadsheet onto a share
I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,262
Members
449,075
Latest member
staticfluids

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