I have some excel data with shows up in this format:
[TABLE="width: 133"]
<tbody>[TR]
[TD="class: xl65, width: 133"]PT1H11M47S[/TD]
[/TR]
</tbody>[/TABLE]
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!
[TABLE="width: 133"]
<tbody>[TR]
[TD="class: xl65, width: 133"]PT1H11M47S[/TD]
[/TR]
</tbody>[/TABLE]
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!