I have a list of Work Centres and I want a formula to return the Region from a table using a xlookup formula. The connection between the work centre and the region will either be the first two digits, the last two digits, or the entire string.
Please help me find a formula that will search the lookup array for the right connection. I've attached the sample data.
For example WorkCentre YN07AM01 will be Region Yorkton (identified by the YN at the front of the string)
WorkCentre C10317YN will also be Region Yorkton (identified by the YN at the end of the string)
TIA
Bookmarks