Join date separated in 2 rows and get date format

RAJESH1960

Banned for repeated rules violations
Joined
Mar 26, 2020
Messages
2,313
Office Version
  1. 2019
Platform
  1. Windows
Hello guys

I have this data which I converted pdf to Excel. The dates have been separated in 2 parts by a row. I am trying to join these dates. I tried this formula to join text, but as the data is a date I am not able to get the correct dates. How can I get the correct format of the date in column E.?

query to join dates in different rows.xlsx
ABCDE
1BalanceValueValue
262964.6609-Apr-2043930
3 
4 
5 
6 
763249.6609-Apr-2043930
8 
9 
10 
11 
1263517.6609-Apr-2043930
13 
14 
15 
16 
1763717.6609-Apr-2043930
18 
19 
20 
21 
2263996.6610-Apr442962020
232020 
24 
25 
26 
27 
28 
2964011.6610-Apr442962020
302020 
31 
32 
33 
3464229.6610-Apr442962020
352020 
36 
37 
38 
3964447.6610-Apr442962020
402020 
Get full date in one row
Cell Formulas
RangeFormula
E1:E40E1=IF(C1="","",CONCAT(D1:INDEX(D:D,IFERROR(AGGREGATE(15,6,ROW(C1:C9)/(C2:C10<>""),1),ROW()+10))))
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Format as dd-mm-yyyy (or required date format)
Excel Formula:
=IF(C2="","",IF(D3="",D2,DATE(D3,MONTH(D2),DAY(D2))))
 
Upvote 0
Solution
Format as dd-mm-yyyy (or required date format)
Excel Formula:
=IF(C2="","",IF(D3="",D2,DATE(D3,MONTH(D2),DAY(D2))))
That worked perfectly. Thanks Jasonb 75. Actually required dd-mm-yyyy but I can select the data and change the format.
 
Upvote 0

Forum statistics

Threads
1,214,973
Messages
6,122,534
Members
449,088
Latest member
RandomExceller01

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