Split of dates

Aberdham

Board Regular
Joined
Mar 8, 2018
Messages
163
Office Version
  1. 365
Platform
  1. Windows
Dear all,

I have an Excel sheet with description such as deposit period 16.04-16.05.2018

and I would like to make a split to fill in the respective column
start date : 16.04
ene date: 16.05.2018

Could any of you come up with a formula that could help me to split the Dates?

would be greatly appreciated !

Thanks
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Some details could depend on your regional settings but this worked for me (at least as far as I understand your request)

Excel Workbook
ABC
116.04-16.05.201816/04/201816/05/2018
Split Dates



If this does not meet your requirements, please post a bigger sample that demonstrates any variety of original data and expected results. One example is not a lot to go on. ;)
 
Last edited:
Upvote 0
Hi Peter,

Thank you very much for your prompt reply!
I tried your formula, it doesn't seem to do the trick, perhaps it is because that in the description, there are text such as "deposit period" ?
 
Upvote 0
Hi Peter,

Thank you very much for your prompt reply!
I tried your formula, it doesn't seem to do the trick, perhaps it is because that in the description, there are text such as "deposit period" ?
That sounds like there could be others as well, so could you give a few more (varied) example of the original data and the expected results?
 
Upvote 0
Invoice no. Description:
12RD000234 Deposit period 16.04-16.05-2018_DSL555601
15RC000564 credit lease_16.04-16.05.2018_DSL556262
18MD000562 withdraw period 16.04-16.05.2018_DSL556985
18MC000555 credit purchase 16.04-16.05.2018_DSL545421
 
Upvote 0
That sounds like there could be others as well, so could you give a few more (varied) example of the original data and the expected results?

Invoice no. Description:
12RD000234 Deposit period 16.04-16.05-2018_DSL555601
15RC000564 credit lease_16.04-16.05.2018_DSL556262
18MD000562 withdraw period 16.04-16.05.2018_DSL556985
18MC000555 credit purchase 16.04-16.05.2018_DSL545421

Could it be that the text are interrupting the formula?
 
Upvote 0
Could it be that the text are interrupting the formula?
That is exactly the issue.:)
Thanks for the extra data. See if this is better.

Excel Workbook
BCD
1Description:StartEnd
2Deposit period 16.04-16.05-2018_DSL55560116/04/201816/05/2018
3credit lease_16.04-16.05.2018_DSL55626216/04/201816/05/2018
4withdraw period 16.04-16.05.2018_DSL55698516/04/201816/05/2018
5credit purchase 16.04-16.05.2018_DSL54542116/04/201816/05/2018
Split Dates (2)
 
Upvote 0
If the text after the date section is always 10 characters like all of your latest examples, then the formulas can be shortened a little.

Excel Workbook
BCD
1Description:StartEnd
2Deposit period 16.04-16.05-2018_DSL55560116/04/201816/05/2018
3credit lease_16.04-16.05.2018_DSL55626216/04/201816/05/2018
4withdraw period 16.04-16.05.2018_DSL55698516/04/201816/05/2018
5credit purchase 16.04-16.05.2018_DSL54542116/04/201816/05/2018
Split Dates (3)
 
Upvote 0
Thank you so much Peter !!

there are a few descriptions that has 16.04(.)-16.05.2018 instead of 16.04, I had to delete the dot to make the formula work...

:)
 
Upvote 0

Forum statistics

Threads
1,213,534
Messages
6,114,186
Members
448,554
Latest member
Gleisner2

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