+ Reply to Thread
Results 1 to 5 of 5

INDEX/MATCH with Multiple Conditions

  1. #1
    Registered User
    Join Date
    03-23-2010
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    25

    INDEX/MATCH with Multiple Conditions

    Hi...

    Please see attached. I have a client database which is used to calculate how much money is spent per client each year. We have 2000 contacts and we add at least 10 contacts every two weeks.

    For our Christmas gifts, we give out dinner certificates to our clients.

    Clients with a rating of C,D, or E have a set amount to their certificates... Clients with a rating A or B have open ended certificates... after their outing, the restaurant let's us know how much they spent.

    I've created a way for C,D and E to have a set price (please see"event Index" tab)... but A and B are a bit trickier...

    I created a separate tab in the database called "Christmas Gifts A & B"... where i was thinking to record the exact amount spent per client with a rating of "a" or "b"...

    How do i get the total to appear in the Column BC under "Master Database"?

    Any suggestions would be appreciated.
    Attached Files Attached Files
    Last edited by Lost123; 03-26-2010 at 01:08 PM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Vlookup

    Hi Lost123, welcome to the forum.

    A Vlookup on the last name will only work if the last name is unique. With 2000 clients it is more likely not.

    You don't seem to have a unique client ID, so it might be best to combine company, first and last name as a unique identifier.

    Try this Index/Match with multiple conditions in BC2 and copy down.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-23-2010
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: Vlookup

    Thank you Teylyn!

    I've tried your formula, but i seem to be getting an "#num" Error... please see attached for updated spreadsheet with formula...

    Any idea why that's happening?
    Attached Files Attached Files

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: INDEX/MATCH with Multiple Conditions

    This should work, then. It limits the Index from row 1 to row 9999 instead of referring to the whole columns.

    Please Login or Register  to view this content.
    Note that the formula in the worksheet you attached was not identical with the formula I posted. Where my formula referred to K:K yours had a reference to J:K. Make sure to copy and paste and don't edit unless you know what you're doing!!
    Last edited by teylyn; 03-26-2010 at 07:19 PM. Reason: dypo

  5. #5
    Registered User
    Join Date
    03-23-2010
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: INDEX/MATCH with Multiple Conditions

    Perfect, thank you for your help!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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