+ Reply to Thread
Results 1 to 5 of 5

Wildcard MATCH

  1. #1
    Forum Contributor
    Join Date
    05-29-2009
    Location
    sheffield
    MS-Off Ver
    Excel 2013
    Posts
    210

    Wildcard MATCH

    On the attached, I have a a table of percentages per customer, A1:B5.

    My data is in A10:B17. My current formula in column C finds the relevant percentage per customer and adds it to the values in column B.

    This works using INDEX and MATCH to return the necessry % for each customer.

    However, cells C11 and C14 are errors because they are not exact matches. Can I adapt my formula to include a wildcard INDEX/MATCH?

    Current formula is:-

    =SUM(B10+SUM(B10*INDEX($A$2:$B$5,MATCH(A10,$A$2:$A$5,0),2)))
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Wildcard MATCH

    Cant answer your problem but here's something extra

    Your formula:
    =SUM(B10+SUM(B10*INDEX($A$2:$B$5,MATCH(A10,$A$2:$A$5,0),2)))

    You dont need to SUM(A+B), its simply A+B
    So

    =B10+SUM(B10*INDEX($A$2:$B$5,MATCH(A10,$A$2:$A$5,0),2))
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Wildcard MATCH

    Hi, Apply the below formula in C10 and drag it down.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Click just below left if it helps, Boo?ath?

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Wildcard MATCH

    You can change your formula in C10 to this:

    =B10*(1+INDEX($A$2:$B$5,MATCH(SUBSTITUTE(TRIM(A10)," (new customer)",""),$A$2:$A$5,0),2))

    then copy down.

    Hope this helps.

    Pete

  5. #5
    Forum Contributor
    Join Date
    05-29-2009
    Location
    sheffield
    MS-Off Ver
    Excel 2013
    Posts
    210

    Re: Wildcard MATCH

    Quote Originally Posted by boopathiraja View Post
    Hi, Apply the below formula in C10 and drag it down.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This is perfect - thank you.

+ 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] index match wildcard
    By carrollm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-31-2019, 01:39 AM
  2. [SOLVED] Index and match using wildcard
    By Eustace07 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-09-2016, 01:30 PM
  3. Looking for a Wildcard Match Function
    By SiebeBosch in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-08-2013, 06:15 PM
  4. [SOLVED] Wildcard text match using INDEX and MATCH
    By mmayna03 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-12-2012, 03:02 PM
  5. How to do a wildcard match in a match function
    By mike12345 in forum Excel General
    Replies: 1
    Last Post: 12-10-2011, 08:00 PM
  6. Excel 2007 : Wildcard match
    By localhost in forum Excel General
    Replies: 7
    Last Post: 05-31-2010, 01:44 PM
  7. Wildcard VLOOKUP or MATCH or both?
    By Jonah in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-21-2010, 01:32 PM

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