Using wildcards in lookup?

  • Thread starter Michael at Thin Air
  • Start date
M

Michael at Thin Air

Is there a way to use LOOKUP with wildcards?

Or is there something that does the similar operation on strings that can
use wild cards but also return the last incident in the list?

I am doing a lookup on columns that have similar grouped named items in it
and would like the last found item to be placed in another row.

=IF($M13=1,LOOKUP("A Upgrade of Service - 2
Year",O$6:O12),IF(ISNUMBER(SEARCH("Upgrade",$L13)),$L13,0))

This is my current search which if M13 = 1 indicating this is the service
plan, I want the type of service to be placed in o13 which is the last item
found in the lookup. So similar to SEARCH is what I'm looking for but because
I'm trying to ultimately make one row of compiled data from about 20 rows of
information, I run out of "IF's" in a big hurry.

It would be awesome if:

=IF($M13=1,LOOKUP("*Service*",O$6:O12),IF(ISNUMBER(SEARCH("Upgrade",$L13)),$L13,0))

Worked but it doesn't.

My next thought was:

=IF($M13=1,LOOKUP("Service",O$6:O12),IF(ISNUMBER(SEARCH("Upgrade",$L13)),$L13,0))

But since I can't change LOOKUP to find anything close or greater than, it's
not working for me without an exact match.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top