Forum

Notifications
Clear all

Exact Match searching, NOT partial.

2 Posts
2 Users
0 Reactions
79 Views
(@mike-g)
Posts: 4
Active Member
Topic starter
 

Hello,

I am trying to do exact match from a list of words in a named region. The formula works beautifly, but also picks up on partial matches.
I have 2 named regions. Month and MonthR. The formula searches a magazine title in a cell for various words from the list.

A title may say "Hotrod Magazine January 1988, Total engine rebuild 351 Cleveland etc.....".

Sometimes the title needs to be shortened for exceeding the character max. So January will be abbreviated to Jan. The returned results are the full length version 'January' which is put into an item specific cell.

The issue is this formula is not working when the magazine is a double month issue like January/February or January February, the first January in the list is found and it returns January.

=INDEX(MonthR,MATCH(TRUE,ISNUMBER(SEARCH(Month,A2)),0))

Thanks for any help.

Mike

 
Posted : 30/03/2023 6:44 pm
(@debaser)
Posts: 836
Member Moderator
 

Your match function will stop at the first match it finds, so you need to make sure your table has the most specific items first - eg January February should be above January.

 
Posted : 31/03/2023 4:55 am
Share: