Hi, I'd like to extract out the dates from text string by using formula instead of text to column, is it possible? After that, i'd like to calculate the Number of Days Between Two Dates, and shows it blank if nothing to deduct instead of showing date. Appreciate your kind help, thanks!
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>[TABLE="width: 0"]
<colgroup><col style="width: 20px"><col width="628"><col width="58"><col width="58"><col width="58"><col width="58"><col width="63"><col width="63"><col width="63"><col width="74"></colgroup><tbody>[TR]
[TD][/TD]
[TD]Original text[/TD]
[TD="bgcolor: #FFFF00"]date 1[/TD]
[TD="bgcolor: #FFFF00"]date 2[/TD]
[TD="bgcolor: #FFFF00"]date 3[/TD]
[TD="bgcolor: #FFFF00"]date 4[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=B7E1CD]#B7E1CD[/URL] , colspan: 3"]Number of Days Between Two Dates[/TD]
[TD="bgcolor: #C9DAF8"]Number of Days Between First & Last Date
[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD]a@mail.com/hard(amy/2jan19);b@mail.com/hard(ken/20dec18);c@mail.com/hard(jane/01nov18);d@mail.com/hard(bill/15oct18);[/TD]
[TD="align: right"]2Jan19[/TD]
[TD="align: right"]20Dec18[/TD]
[TD="align: right"]01Nov18[/TD]
[TD="align: right"]15Oct18[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"]49[/TD]
[TD="align: right"]17[/TD]
[TD="align: right"]79[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD]a@mail.com/hard(amy/3jan19);b@mail.com/hard(jane/5dec18);c@mail.com/hard(kate/15oct18);[/TD]
[TD="align: right"]3Jan19[/TD]
[TD="align: right"]05Dec18[/TD]
[TD="align: right"]15Oct18[/TD]
[TD][/TD]
[TD="align: right"]29[/TD]
[TD="align: right"]51[/TD]
[TD][/TD]
[TD="align: right"]80[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD]a@mail.com/hard(amy/9jan19);b@mail.com/hard(jane/8dec18);[/TD]
[TD="align: right"]9Jan19[/TD]
[TD="align: right"]8Dec18[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]32[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]32[/TD]
[/TR]
</tbody>[/TABLE]
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style><style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>[TABLE="width: 0"]
<colgroup><col style="width: 20px"><col width="628"><col width="58"><col width="58"><col width="58"><col width="58"><col width="63"><col width="63"><col width="63"><col width="74"></colgroup><tbody>[TR]
[TD][/TD]
[TD]Original text[/TD]
[TD="bgcolor: #FFFF00"]date 1[/TD]
[TD="bgcolor: #FFFF00"]date 2[/TD]
[TD="bgcolor: #FFFF00"]date 3[/TD]
[TD="bgcolor: #FFFF00"]date 4[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=B7E1CD]#B7E1CD[/URL] , colspan: 3"]Number of Days Between Two Dates[/TD]
[TD="bgcolor: #C9DAF8"]Number of Days Between First & Last Date
[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD]a@mail.com/hard(amy/2jan19);b@mail.com/hard(ken/20dec18);c@mail.com/hard(jane/01nov18);d@mail.com/hard(bill/15oct18);[/TD]
[TD="align: right"]2Jan19[/TD]
[TD="align: right"]20Dec18[/TD]
[TD="align: right"]01Nov18[/TD]
[TD="align: right"]15Oct18[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"]49[/TD]
[TD="align: right"]17[/TD]
[TD="align: right"]79[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD]a@mail.com/hard(amy/3jan19);b@mail.com/hard(jane/5dec18);c@mail.com/hard(kate/15oct18);[/TD]
[TD="align: right"]3Jan19[/TD]
[TD="align: right"]05Dec18[/TD]
[TD="align: right"]15Oct18[/TD]
[TD][/TD]
[TD="align: right"]29[/TD]
[TD="align: right"]51[/TD]
[TD][/TD]
[TD="align: right"]80[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD]a@mail.com/hard(amy/9jan19);b@mail.com/hard(jane/8dec18);[/TD]
[TD="align: right"]9Jan19[/TD]
[TD="align: right"]8Dec18[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]32[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]32[/TD]
[/TR]
</tbody>[/TABLE]
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style><style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>