RockandGrohl
Well-known Member
- Joined
- Aug 1, 2018
- Messages
- 801
- Office Version
- 365
- Platform
- Windows
Hello all,
I have attached a file which demonstrates this. In my real document, I have about 3,000 rows. The formula in P is:
This works 100% of the time.
The formula in Q is:
This works 90% of the time.
What it's doing is, in P, if in the range A2:L2 the phrase (with wildcards) "tour:" appears, it will return TRUE or FALSE
In Q, if in that same range "tour:" appears, it will give me the address of the cell that result appears in.
You can see on the example attached, it returns one cell, but not the other. I have no idea why this happens.
https://ufile.io/ptumm
I have attached a file which demonstrates this. In my real document, I have about 3,000 rows. The formula in P is:
Code:
=COUNTIF(A2:L2,"*"&"tour:"&"*")>0
This works 100% of the time.
The formula in Q is:
Code:
=IFERROR(CELL("address",INDEX(A2:L2,MATCH("*"&"tour:"&"*",A2:L2,0))),"")
This works 90% of the time.
What it's doing is, in P, if in the range A2:L2 the phrase (with wildcards) "tour:" appears, it will return TRUE or FALSE
In Q, if in that same range "tour:" appears, it will give me the address of the cell that result appears in.
You can see on the example attached, it returns one cell, but not the other. I have no idea why this happens.
https://ufile.io/ptumm