Cell Formulas | ||
---|---|---|
Range | Formula | |
B2:B4 | B2 | =(IFERROR(LEFT(MID(" "&A2,SEARCH("d"," "&A2)-2,2),2)*86400,0))+(IFERROR(LEFT(MID(" "&A2,SEARCH("h"," "&A2)-2,2),2)*3600,0))+(IFERROR(LEFT(MID(" "&A2,SEARCH("m"," "&A2)-2,2),2)*60,0))+(IFERROR(LEFT(MID(" "&A2,SEARCH("s"," "&A2)-2,2),2),0)) |
I believe so. If the data is in a different field, say G2, would I just need to change all A2 references in the formula to the corresponding data cell?Hi Crope1
Does this work for you?
Cell Formulas Range Formula B2:B4 B2 =(IFERROR(LEFT(MID(" "&A2,SEARCH("d"," "&A2)-2,2),2)*86400,0))+(IFERROR(LEFT(MID(" "&A2,SEARCH("h"," "&A2)-2,2),2)*3600,0))+(IFERROR(LEFT(MID(" "&A2,SEARCH("m"," "&A2)-2,2),2)*60,0))+(IFERROR(LEFT(MID(" "&A2,SEARCH("s"," "&A2)-2,2),2),0))
Cell Formulas | ||
---|---|---|
Range | Formula | |
H2:H4 | H2 | =(IFERROR(LEFT(MID(" "&G2,SEARCH("d"," "&G2)-2,2),2)*86400,0))+(IFERROR(LEFT(MID(" "&G2,SEARCH("h"," "&G2)-2,2),2)*3600,0))+(IFERROR(LEFT(MID(" "&G2,SEARCH("m"," "&G2)-2,2),2)*60,0))+(IFERROR(LEFT(MID(" "&G2,SEARCH("s"," "&G2)-2,2),2),0)) |