Consulting

Results 1 to 3 of 3

Thread: Array Formula - More than one wildcard in lookup

  1. #1
    VBAX Regular
    Joined
    Nov 2018
    Location
    London, U.K.
    Posts
    99
    Location

    Array Formula - More than one wildcard in lookup

    I am using an array formula to find all the rows with a partial text match to a wildcard.

    Is it possible:
    (a) to use more than 1 wildcard in the formula;
    (b) if a certain value is found, return the value of the adjacent cell.

    The additional wildcards I want to use are: Assessment, SPS, Volume and Shared

    If value "50" is found return value in adjacent cell.

    This is my formula:

    {=IFERROR(INDEX('Opex YTD'!$A$2:$A$995,SMALL(IF(ISNUMBER(SEARCH("*occupa*",'Opex YTD'!$D$2:$D$995)),ROW('Opex YTD'!$A$2:$A$995)-ROW($A$1)+1),ROWS($J$9:J52))),"End of list")}

  2. #2
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,711
    Location
    That's the sort of stuff that caused me to learn to write my first user defined function

    Does it have to be an worksheet array formula?
    ---------------------------------------------------------------------------------------------------------------------

    Paul


    Remember: Tell us WHAT you want to do, not HOW you think you want to do it

    1. Use [CODE] ....[/CODE ] Tags for readability
    [CODE]PasteYourCodeHere[/CODE ] -- (or paste your code, select it, click [#] button)
    2. Upload an example
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) / Upload Files / Done
    3. Mark the thread as [Solved] when you have an answer
    Thread Tools (on the top right corner, above the first message)
    4. Read the Forum FAQ, especially the part about cross-posting in other forums
    http://www.vbaexpress.com/forum/faq...._new_faq_item3

  3. #3
    VBAX Regular
    Joined
    Nov 2018
    Location
    London, U.K.
    Posts
    99
    Location
    In this case it does have to be a worksheet array formula.

Posting Permissions

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