I have some excel data with shows up in this format:
<tbody>
</tbody>
I would like to extract the number before the letter "H", in this example result needs to be 1
I can do this by using two formulas:
=TRIM(SUBSTITUTE(P16;"PT";"")) removes PT ---> 1H11M47S
=LEFT(Q16;VALUE(FIND("H";Q16;1))-1) shows the result ---> 1
I'm not succeeding in merging the 2 formulas, or maybe there is an easier way to do this?
Thanks!
PT1H11M47S |
<tbody>
</tbody>
I would like to extract the number before the letter "H", in this example result needs to be 1
I can do this by using two formulas:
=TRIM(SUBSTITUTE(P16;"PT";"")) removes PT ---> 1H11M47S
=LEFT(Q16;VALUE(FIND("H";Q16;1))-1) shows the result ---> 1
I'm not succeeding in merging the 2 formulas, or maybe there is an easier way to do this?
Thanks!