I have a spreadsheet with suite numbers and I need to extract only the number from each cell. The problem is that the numbers are in different positions or are sometimes not the only number in that cell. For example, the cell could look like this:
- Twr 1B
In this case, I need to extract the 1 (indicating 1 bedroom)
Other examples could look like this:
- G 1B L
In this case, I need to extract the 1 (indicating 1 bedroom)
Or they could look like this:
- Twr2S#1 or T1Sig#5
In these cases, I need to extract the first number, 2 in the first example and 1 in the second example, excluding the #5 that precedes the "S#" or the "Sig#"
- Twr 1B
In this case, I need to extract the 1 (indicating 1 bedroom)
Other examples could look like this:
- G 1B L
In this case, I need to extract the 1 (indicating 1 bedroom)
Or they could look like this:
- Twr2S#1 or T1Sig#5
In these cases, I need to extract the first number, 2 in the first example and 1 in the second example, excluding the #5 that precedes the "S#" or the "Sig#"