It works, just that it is picking the time only in AM, even if it is PM
Originally Posted by zorro It works, just that it is picking the time only in AM, even if it is PM Sorry, I forgot to add 2 in order to retain the AM/PM designation. Here is the revised formula.... Code: =IFERROR(0+SUBSTITUTE(TRIM(LEFT(RIGHT(SUBSTITUTE(LEFT(A1,IFERROR(FIND(" PM",A1)+2,FIND(" AM",A1)+2))," ",REPT(" ",300)),1500),1500)),",","",2),"")
=IFERROR(0+SUBSTITUTE(TRIM(LEFT(RIGHT(SUBSTITUTE(LEFT(A1,IFERROR(FIND(" PM",A1)+2,FIND(" AM",A1)+2))," ",REPT(" ",300)),1500),1500)),",","",2),"")
Forum Rules
Bookmarks