Hi
I have a bunch of numbers in a list like this:
45
13
123
123x
12x1
1x21
x213
1
5x13
I am trying to write a formula to determine if there is a 1 in the last 3 values of the cell, e.g. 123 would return 1 and 415 would return 1.
The problem I have is that some values contain the letter "x".
If the x is in the last place, I need to check the 3 values before this.
If the x is in the 2nd last place, I need to check the 2 values before this.
If the x is in the 3rd last place, I need to check the 1 value before this.
If the x is at the beginning, I need to check the numbers that appear after it.
If there are only 2 numbers in the cell, then the same applies (and it could also contain an "x").
Can anyone assist with this?
Bookmarks