Separate the In and Out Date from the Col"A"

ExcelMentee

Banned - Rules violations
Joined
Jan 11, 2021
Messages
31
Office Version
  1. 365
Platform
  1. Windows
when i download the data from software it comes in that shape.

Untitled Spreadsheet
Date In and OutIDName
13.01.2021 15:050000120066DFStefan Hellemans
13.01.2021 11:560000149E0240Lutgard Heremans
13.01.2021 08:200000149E0240Lutgard Heremans
13.01.2021 06:560000120066DFStefan Hellemans
12.01.2021 15:020000120066DFStefan Hellemans
12.01.2021 07:010000120066DFStefan Hellemans
11.01.2021 15:340000149E0240Lutgard Heremans
11.01.2021 14:590000120066DFStefan Hellemans
11.01.2021 08:240000149E0240Lutgard Heremans
11.01.2021 06:51000011FE671AStefan Hellemans
07.01.2021 09:33000011FE671AStefan Hellemans
06.01.2021 13:26000011FE671AStefan Hellemans

I want to convert this data into present able format that is

DataIDNameStartStop
1/7/2021​
000011FE671AStefan Hellemans07.01.2021 09:33
1/11/2021​
000011FE671AStefan Hellemans11.01.2021 06:5111.01.2021 14:59
1/11/2021​
0000149E0240Lutgard Heremans11.01.2021 08:2411.01.2021 15:34
1/12/2021​
000011FE671AStefan Hellemans12.01.2021 07:0112.01.2021 15:02
1/13/2021​
000011FE671AStefan Hellemans13.01.2021 06:5613.01.2021 15:05
1/13/2021​
0000149E0240Lutgard Heremans13.01.2021 08:2013.01.2021 11:56

First It will get the date in the format that i have use but i paste these dates manually because TEXT function is not working for this
Secondly Its name and ID's will paste accordingly.
Third one is the main formula or function that to separate the Start date and the Stop Date from the "Date In and Out" Column.

your help will be highly appreciated.
 
Column A use find "." and replace "-" to make date
format the date and time to your preference
try the formulas N.B. You can copy the following example (see the icon below the F(x ) below) and paste into a clean sheet
Filter on Not Duplicate meaning 1

Date and Time 2021.xlsm
ABCDEF
1
2Date In and OutNameDateStartStopNot Duplicate
36-Jan-21 13:26Stefan Hellemans66-Jan-21 13:266-Jan-21 13:261
47-Jan-21 09:33Stefan Hellemans77-Jan-21 09:337-Jan-21 09:331
511-Jan-21 06:51Stefan Hellemans1111-Jan-21 06:5111-Jan-21 14:591
611-Jan-21 08:24Lutgard Heremans1111-Jan-21 08:2411-Jan-21 15:341
912-Jan-21 07:01Stefan Hellemans1212-Jan-21 07:0112-Jan-21 15:021
1113-Jan-21 06:56Stefan Hellemans1313-Jan-21 06:5613-Jan-21 15:051
1213-Jan-21 08:20Lutgard Heremans1313-Jan-21 08:2013-Jan-21 11:561
15
1c (2)
Cell Formulas
RangeFormula
C11:C12,C9,C3:C6C3=DAY(A3)
D11:D12,D9,D3:D6D3=MIN(IF(($C$3:$C$14=C3)*($B$3:$B$14=B3),$A$3:$A$14))
E11:E12,E9,E3:E6E3=MAX(IF(($C$3:$C$14=C3)*($B$3:$B$14=B3),$A$3:$A$14))
F11:F12,F9,F3:F6F3=SUMPRODUCT(--($B$3:$B3=B3),--($C$3:$C3=C3))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
without Array Formulas


Date and Time 2021.xlsm
ABCDEF
16Date In and OutNameDayStartEndNot Duplicate #1
176-Jan-21 13:26Stefan Hellemans66-Jan-21 13:266-Jan-21 13:261
187-Jan-21 09:33Stefan Hellemans77-Jan-21 09:337-Jan-21 09:331
1911-Jan-21 06:51Stefan Hellemans1111-Jan-21 06:5111-Jan-21 14:591
2011-Jan-21 08:24Lutgard Heremans1111-Jan-21 08:2411-Jan-21 15:341
2111-Jan-21 14:59Stefan Hellemans1111-Jan-21 06:5111-Jan-21 14:592
2211-Jan-21 15:34Lutgard Heremans1111-Jan-21 08:2411-Jan-21 15:342
2312-Jan-21 07:01Stefan Hellemans1212-Jan-21 07:0112-Jan-21 15:021
2412-Jan-21 15:02Stefan Hellemans1212-Jan-21 07:0112-Jan-21 15:022
2513-Jan-21 06:56Stefan Hellemans1313-Jan-21 06:5613-Jan-21 15:051
2613-Jan-21 08:20Lutgard Heremans1313-Jan-21 08:2013-Jan-21 11:561
2713-Jan-21 11:56Lutgard Heremans1313-Jan-21 08:2013-Jan-21 11:562
2813-Jan-21 15:05Stefan Hellemans1313-Jan-21 06:5613-Jan-21 15:052
1cc
Cell Formulas
RangeFormula
C17:C28C17=DAY(A17)
D17:D28D17=AGGREGATE(15,6,$A$17:$A$28/(($C$17:$C$28=C17)*($B$17:$B$28=B17)),1)
E17:E28E17=AGGREGATE(14,6,$A$17:$A$28/(($C$17:$C$28=C17)*($B$17:$B$28=B17)),1)
F17:F28F17=SUMPRODUCT(--($B$17:$B17=B17),--($C$17:$C17=C17))


filter by person and not showing extra data

Date and Time 2021.xlsm
ABCDEF
16Date In and OutNameDayStartEndNot Duplicate #1
176-Jan-21 13:26Stefan Hellemans66-Jan-21 13:266-Jan-21 13:261
187-Jan-21 09:33Stefan Hellemans77-Jan-21 09:337-Jan-21 09:331
1911-Jan-21 06:51Stefan Hellemans1111-Jan-21 06:5111-Jan-21 14:591
2312-Jan-21 07:01Stefan Hellemans1212-Jan-21 07:0112-Jan-21 15:021
2513-Jan-21 06:56Stefan Hellemans1313-Jan-21 06:5613-Jan-21 15:051
29
1cc
Cell Formulas
RangeFormula
C25,C23,C17:C19C17=DAY(A17)
D25,D23,D17:D19D17=AGGREGATE(15,6,$A$17:$A$28/(($C$17:$C$28=C17)*($B$17:$B$28=B17)),1)
E25,E23,E17:E19E17=AGGREGATE(14,6,$A$17:$A$28/(($C$17:$C$28=C17)*($B$17:$B$28=B17)),1)
F25,F23,F17:F19F17=SUMPRODUCT(--($B$17:$B17=B17),--($C$17:$C17=C17))
 
Upvote 0

Forum statistics

Threads
1,214,834
Messages
6,121,874
Members
449,056
Latest member
ruhulaminappu

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