+ Reply to Thread
Results 1 to 6 of 6

Searching for a figure from a column matching a name

  1. #1
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Searching for a figure from a column matching a name

    Hi, In the attached workbook, sheet PRIZE WINNERS. I'm trying to get in column X the amount from column M which corresponds with the names in column V from the list in Column B.

    So, X3 should display the result of M13 (v3=Brian Adams in 2021)

    Hope that makes sense.

    I was thinking along the lines of INDEX & MATCH but can't quite work how to formulate it.

    Many Thanks.
    Attached Files Attached Files
    Last edited by Marvo; 10-09-2021 at 05:23 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,740

    Re: Searching for a figure from a column matching a name

    Try this:

    =SUMPRODUCT(($B$3:$B$143=V3)*($C$2:$N$2=2021)*$C$3:$N$143)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Re: Searching for a figure from a column matching a name

    Thank you Ali, perfect.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,740

    Re: Searching for a figure from a column matching a name

    ... and thank you for the rep.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,184

    Re: Searching for a figure from a column matching a name

    Index/March equivalent

    =INDEX($C$3:$N$143,MATCH($V3,$B$3:$B$143,0),MATCH(2021,$C$2:$N$2,0))

    or another

    =SUMIF($B$3:$B$143,V3,INDEX($C$3:$N$143,,MATCH(2021,$C$2:$N$2,0)))

    Spoilt for choice!
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  6. #6
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Re: Searching for a figure from a column matching a name

    Thanks John. I sure am spoilt for choice. I tend to always go for the one I understand, as then I can put it right should it ever go wrong.

+ 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. Replies: 4
    Last Post: 02-18-2021, 05:07 PM
  2. Matching and searching
    By Gokulmaclarenp1 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-25-2020, 08:54 AM
  3. [SOLVED] Vlookup last column figure if the figure is a number
    By SiewLee_81 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-17-2019, 04:23 AM
  4. [SOLVED] Index matching to figure out holidays
    By jamezl in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-29-2015, 05:11 AM
  5. Replies: 4
    Last Post: 02-03-2014, 08:05 AM
  6. Searching for multiple matching column values
    By watppuiu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-05-2012, 12:19 AM
  7. Searching and Matching
    By Salient in forum Excel General
    Replies: 3
    Last Post: 06-30-2009, 11:49 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