+ Reply to Thread
Results 1 to 2 of 2

Lookup not working with wildcard?

  1. #1
    Forum Contributor
    Join Date
    04-26-2013
    Location
    Orlando
    MS-Off Ver
    Excel 2016
    Posts
    191

    Lookup not working with wildcard?

    Hi i have the below formula which does not work when trying to add wildcard lookup. Trying to make the lookup "Life Stages" a wildcard like this "*life*" is not working.

    =IFERROR(LOOKUP(2,1/((Billed2!B:B=272)*(Billed2!A:A=C20*1)),Billed2!D:D),0)+IFERROR(LOOKUP(2,1/(('Ohio Current month spend'!A:A="*Life*")*('Ohio Current month spend'!B:B=C20*1)),'Ohio Current month spend'!C:C),0)*1.15

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Lookup not working with wildcard?

    Try replacing this:

    'Ohio Current month spend'!A:A="*Life*"

    With this:

    SEARCH("Life",'Ohio Current month spend'!A:A)

    On a side note...

    You should avoid using entire columns as range references in this formula. Use smaller specific ranges.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] lookup and wildcard
    By Blake 7 in forum Excel General
    Replies: 7
    Last Post: 02-20-2014, 11:02 AM
  2. [SOLVED] Wildcard not working in my COUNTIFS
    By dtrimble in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-11-2013, 09:12 PM
  3. LIKE not working with wildcard in MS Query
    By RollerRagerMD in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-03-2013, 10:02 AM
  4. Copy files via wildcard, FileCopy not working
    By koltregaskes in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-22-2011, 10:33 AM
  5. Wildcard Lookup Using Excel
    By Shubhachandra in forum Excel General
    Replies: 6
    Last Post: 04-30-2011, 01:54 AM
  6. Wildcard Lookup
    By 353663 in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 10-16-2009, 07:23 AM
  7. [SOLVED] Wildcard Not Working in IF statement
    By [email protected] in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-09-2005, 04:08 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1