I'm using Google Sheets
What I want to get this formula to do is to return a T/F boolean value to the checkbox if the cell in G25 contains one of the following substrings:
"TWT-0???-????","TWL-0???-????","TWV-0???-????","TWA-0???-????","TET-0???-????","TEL-0???-????","TEV-0???-????","TEA-0???-????","TCT-0???-????","TCL-0???-????","TCV-0???-????","TCA-0???-????","T?T-0???-????","T?L-0???-????","T?V-0???-????","T?A-0???-????"
and I would be using SEARCH in G25 to find this..
Then afterwards, I'd compare the string found to another table with INDEX MATCH to find its status in that other spreadsheet, if that checkbox is TRUE, then return TRUE in the checkbox in this spreadsheet too.
..but I can't figure out the logic of how to make that work.
What I have tried:
=IFERROR(INDEX('Transits/Collars'!$B$2:$F$115,MATCH(MID($F25,SEARCH(OR("TWT-0???-????","TWL-0???-????","TWV-0???-????","TWA-0???-????","TET-0???-????","TEL-0???-????","TEV-0???-????","TEA-0???-????","TCT-0???-????","TCL-0???-????","TCV-0???-????","TCA-0???-????","T?T-0???-????","T?L-0???-????","T?V-0???-????","T?A-0???-????"),$F25),13),'Transits/Collars'!$B$2:$B$115,0),5),"")
What I want to get this formula to do is to return a T/F boolean value to the checkbox if the cell in G25 contains one of the following substrings:
"TWT-0???-????","TWL-0???-????","TWV-0???-????","TWA-0???-????","TET-0???-????","TEL-0???-????","TEV-0???-????","TEA-0???-????","TCT-0???-????","TCL-0???-????","TCV-0???-????","TCA-0???-????","T?T-0???-????","T?L-0???-????","T?V-0???-????","T?A-0???-????"
and I would be using SEARCH in G25 to find this..
Then afterwards, I'd compare the string found to another table with INDEX MATCH to find its status in that other spreadsheet, if that checkbox is TRUE, then return TRUE in the checkbox in this spreadsheet too.
..but I can't figure out the logic of how to make that work.
What I have tried:
=IFERROR(INDEX('Transits/Collars'!$B$2:$F$115,MATCH(MID($F25,SEARCH(OR("TWT-0???-????","TWL-0???-????","TWV-0???-????","TWA-0???-????","TET-0???-????","TEL-0???-????","TEV-0???-????","TEA-0???-????","TCT-0???-????","TCL-0???-????","TCV-0???-????","TCA-0???-????","T?T-0???-????","T?L-0???-????","T?V-0???-????","T?A-0???-????"),$F25),13),'Transits/Collars'!$B$2:$B$115,0),5),"")