Basically what I am looking to do is search for a string (name of a player) in 45 cells. If the string appears in one of 9 of these cells I need to return a 3. Then there is another 9 cells which need to be searched and if it is in there it needs to return a 2. Another 9 cells which need to be searched and if in there needs to return a 1. Finally there are 18 cells to be searched and if the string is contained it needs to return a P. The string will not appear in any more than 1 of the 45 cells and may not appear in any of them. If they appear in none I need it to return a 0 or just nothing. Unfortunately the cells I will be searching will contain the string but won't be an exact match as it has some random characters surrounding the name of the player. Therefore I think I am limited in how to go about this.
I was thinking I would have to use an IF and search all 45 cells individually to get this to work but I am not sure how to go about it.
Cheers if you can help.
Bookmarks