HI,
I have text strings of a variable length that contain a number i want to extract. The number will follow either, F. F. (space at the end) or Sans
the number will vary in length and then will be followed by a space or another letter.
examples
[TABLE="width: 238"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Text String [/TD]
[TD]Number[/TD]
[/TR]
[TR]
[TD]lif(55)n.123 fr[/TD]
[TD="align: right"]123[/TD]
[/TR]
[TR]
[TD]lif(5500)n. 567 (home)[/TD]
[TD="align: right"]567[/TD]
[/TR]
[TR]
[TD]efg(2200)S.8910 May[/TD]
[TD="align: right"]8910[/TD]
[/TR]
</tbody>[/TABLE]
Can you advise of a macro to extract this? i have tried various formula combinations, arrays using a name range of the variables, but i cannot get it to consistently work.
Thank you in advance
I have text strings of a variable length that contain a number i want to extract. The number will follow either, F. F. (space at the end) or Sans
the number will vary in length and then will be followed by a space or another letter.
examples
[TABLE="width: 238"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Text String [/TD]
[TD]Number[/TD]
[/TR]
[TR]
[TD]lif(55)n.123 fr[/TD]
[TD="align: right"]123[/TD]
[/TR]
[TR]
[TD]lif(5500)n. 567 (home)[/TD]
[TD="align: right"]567[/TD]
[/TR]
[TR]
[TD]efg(2200)S.8910 May[/TD]
[TD="align: right"]8910[/TD]
[/TR]
</tbody>[/TABLE]
Can you advise of a macro to extract this? i have tried various formula combinations, arrays using a name range of the variables, but i cannot get it to consistently work.
Thank you in advance