FrumpyJones
Board Regular
- Joined
- Feb 11, 2008
- Messages
- 52
- Office Version
- 365
- Platform
- Windows
Hi big brains
,
I know enough to get slightly dangerous (And definitely enough to get into trouble), but I definitely don't know enough enough. Need help with the following:
I have a formula I'm using that will look at the agent name in b2 and then look at a hidden tab that has all the names of all the agents and who their supervisor is. So, xlookup was the way I went. The formula looks like this:
Thing is some of our agents have three names and for whatever reason, when people are copying them from this one database and putting it into this spreadsheet, it only has two, so it's returning an AGENT NOT FOUND. Is there a way to FUZZY this formula so as long as it contains all the words in b2, it delivers the corresponding supervisor value?
Example: In the lookup tab my name is Frumpy Bartholomew Jones, but someone just put Frumpy Jones into the spreadsheet, so I get the AGENT NOT FOUND. Looking for it to say as long as ALL of the words in B2 appear in a singular cell in column A, use it.
Thanks

I know enough to get slightly dangerous (And definitely enough to get into trouble), but I definitely don't know enough enough. Need help with the following:
I have a formula I'm using that will look at the agent name in b2 and then look at a hidden tab that has all the names of all the agents and who their supervisor is. So, xlookup was the way I went. The formula looks like this:
Excel Formula:
=IF(ISBLANK(B2),"",IF(ISBLANK(XLOOKUP(B2,'Agent-Supervisor'!$A:$A,'Agent-Supervisor'!$B:$B,"Agent Not Found",2)),"Supervisor Not Found",XLOOKUP(B2,'Agent-Supervisor'!$A:$A,'Agent-Supervisor'!$B:$B,"Agent Not Found",2)))
Thing is some of our agents have three names and for whatever reason, when people are copying them from this one database and putting it into this spreadsheet, it only has two, so it's returning an AGENT NOT FOUND. Is there a way to FUZZY this formula so as long as it contains all the words in b2, it delivers the corresponding supervisor value?
Example: In the lookup tab my name is Frumpy Bartholomew Jones, but someone just put Frumpy Jones into the spreadsheet, so I get the AGENT NOT FOUND. Looking for it to say as long as ALL of the words in B2 appear in a singular cell in column A, use it.
Thanks