I am trying to extract a unique number from a text string, and have tried various combinations of MID and FIND formula etc, but can't get it quite right. Examples of the text is as follows:
20120930-1014-AB
20121231-1014-A
20120930-176-A
The number I need is the middle number between the two dashes (ie 1014 and 176). Note that the first part of the string (20120930) will always be 8 characters long, however the unique number (1014) will vary in length and the last part of the string (AB) will also vary in length.
Any ideas?
Many thanks!
<tbody>
</tbody><colgroup><col></colgroup>
20120930-1014-AB
20121231-1014-A
20120930-176-A
The number I need is the middle number between the two dashes (ie 1014 and 176). Note that the first part of the string (20120930) will always be 8 characters long, however the unique number (1014) will vary in length and the last part of the string (AB) will also vary in length.
Any ideas?
Many thanks!
<tbody>
</tbody><colgroup><col></colgroup>