+ Reply to Thread
Results 1 to 13 of 13

Matching names to values using SUMPRODUCT

  1. #1
    Registered User
    Join Date
    05-13-2013
    Location
    Newcastle upon Tyne
    MS-Off Ver
    Excel 2010
    Posts
    36

    Matching names to values using SUMPRODUCT

    Hi All

    First problem was fixed by Divi123 which was bringing values accross from one sheet to another matching certain values using the SumProduct - thanks Divi123. For the last 2 days I've been trying to fix the latest problem but my grasp of Excel is not great.

    I have a sheet called "Tracker - Names" (see attached spreadsheet) in the section "Pupils names" I need to be able to bring accross from the "Data" sheet not the corresponding educational levels to 3B (in this instance 4, 3, 1, 2, 4) but the names matching these levels.

    For example there are 4 people that match "3B" with a level of "2C" I need their names (LEIGHTLEY Megan, MILO Renat, PARK Chloe and PARK Chloe) to appear in a cell.

    Is this even possible?

    Thanks in advance

    Kevin
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,603

    Re: Matching names to values using SUMPRODUCT

    To make sure I understand, the 4 names you state have 3B with level 3B, not 2C ?

  3. #3
    Registered User
    Join Date
    05-13-2013
    Location
    Newcastle upon Tyne
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Matching names to values using SUMPRODUCT

    Hi Pepe Le Mokko

    Thanks for looking at this for me

    the 4 pupils have a level 3B (B27 on sheet) but also match a level 2C (D3)

    I need to bring back the names that match both the 3B on the horizontal and the 2C on the vertical, which if you look at the data sheet are (LEIGHTLEY Megan, MILO Renat, PARK Chloe and PARK Chloe)

    I know it is confusing, it has taken days just to try to work it out in my brain

    Thanks again

    Kevin

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,603

    Re: Matching names to values using SUMPRODUCT

    I am sorry, but on the data sheet row 30 ( Leightley) I see 3B and 3B in cells H30 and I30 ( must be me)

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Matching names to values using SUMPRODUCT

    Pl see attached file.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    05-13-2013
    Location
    Newcastle upon Tyne
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Matching names to values using SUMPRODUCT

    Hi kvsrinivasamurthy

    Many thanks for taking the time to look at this problem

    Unfortunately there is an #Name? error appearing on all cells - See image attached

    Also just out of interest is this the most complicated formula ever

    Many thanks for you help
    Attached Images Attached Images

  7. #7
    Registered User
    Join Date
    05-13-2013
    Location
    Newcastle upon Tyne
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Matching names to values using SUMPRODUCT

    P.S. I am using Excel 2003

  8. #8
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,603

    Re: Matching names to values using SUMPRODUCT

    You will have to replace the IFERROR function with IF(ISERROR...

  9. #9
    Registered User
    Join Date
    05-13-2013
    Location
    Newcastle upon Tyne
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Matching names to values using SUMPRODUCT

    Sorry for being a pain

    Tried the IF(ISERROR... but got a value error - wanted a value but I just don't understand it, Sorry

    Could you add it to the spreadsheet to show me what you mean? I have never come accross a formula like this one.

  10. #10
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,603

    Re: Matching names to values using SUMPRODUCT

    See attached. Does this work for you?
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    05-13-2013
    Location
    Newcastle upon Tyne
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Matching names to values using SUMPRODUCT

    Pepe Le Mokko this is exactly what I wanted

    I have to say I never thought anyone could create formula as complicated as this and make it work.

    Please tell me, is it the longest formula you have ever created?

    Thanks so much for this

    Many, many thanks

    Kevin

  12. #12
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,603

    Re: Matching names to values using SUMPRODUCT

    Please tell me, is it the longest formula you have ever created?
    I wouldn't know, but basically it's twice the same formula wrapped in an IF(ISERROR function. XL2010 has made things muche easier with the IFERROR function.
    OTH a long formula is not always the best solution ! Sometimes a helper column makes things much more fluid

  13. #13
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Matching names to values using SUMPRODUCT

    Quote Originally Posted by levtweeney View Post
    Pepe Le Mokko this is exactly what I wanted

    Please tell me, is it the longest formula you have ever created?

    Thanks so much for this

    Many, many thanks

    Kevin
    I can assure you that not. is not the longest formula that Pepe..ever created...
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ 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