+ Reply to Thread
Results 1 to 5 of 5

Searching a table, satisfying multiple criteria to display a value on a different sheet.

  1. #1
    Registered User
    Join Date
    11-25-2014
    Location
    Swindon, England
    MS-Off Ver
    2013
    Posts
    30

    Searching a table, satisfying multiple criteria to display a value on a different sheet.

    Hi Everyone,

    I have a situation where I'm trying to work out class groups for students based on their English, Maths and Science scores.
    I have made a table which explains the system, whereby a student's level (1,2 or 3) are considered and a group number is given.
    i.e. Student 1001 scored level 1 in English, level 2 in Maths and level 3 in science, so therefore the system (table) shows that they should be placed in group 1 (see attached).
    Essentially I have a matrix of numbers used for reference with three levels. And if certain conditions are satisfied, it gives out a different group number at the end.
    It's important to say that there is no calculation involved at all. The system needs to just look at column a for a number, then column B, then column C and display the value that satisfies all those conditions.

    Attached is an example of the system.
    I know I haven't been completely clear in my post, ,however it should make sense when the attachment is viewed.

    Class Set Sorting System.xlsx

  2. #2
    Registered User
    Join Date
    11-25-2014
    Location
    Swindon, England
    MS-Off Ver
    2013
    Posts
    30

    Re: Searching a table, satisfying multiple criteria to display a value on a different shee

    **UPDATE**

    I've now updated the attachment, it might make things a little clearer.

    Class Set Sorting System.xlsx

  3. #3
    Registered User
    Join Date
    06-14-2014
    Location
    Reading, England
    MS-Off Ver
    Excel 2013 - Windows 7
    Posts
    18

    Re: Searching a table, satisfying multiple criteria to display a value on a different shee

    I've solved this but it may not be the easiest way (I'm also a teacher!)

    On your reference sheet I added a column D called "Code" and then in cell D2 =CONCATENATE(A2,B2,C2) . It then generates the unique code such as 111 or 131 etc.

    On student sheet I added column E (again called it "Code") and then in cell E2 the formula =CONCATENATE(B2,C2,D2).

    Then just use the INDEX MATCH function =INDEX(Reference!E2:E28,MATCH(Students!E2,Reference!D2:D28,0)) in cell F2 and voila... you get the correct set!

    Merry Christmas! Enjoy your (well earned) break!
    Attached Files Attached Files
    Last edited by jblonde002; 12-16-2014 at 10:20 AM.

  4. #4
    Registered User
    Join Date
    12-17-2013
    Location
    Greater NYC Area
    MS-Off Ver
    Excel 2010
    Posts
    84

    Re: Searching a table, satisfying multiple criteria to display a value on a different shee

    I'm sure there are other / easier ways, but a simple sumifs formula should do the trick as well.

    Let me know if you have any questions.

    PS I got bored so I changed the colors up.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-17-2013
    Location
    Greater NYC Area
    MS-Off Ver
    Excel 2010
    Posts
    84

    Re: Searching a table, satisfying multiple criteria to display a value on a different shee

    Oops - I forgot to lock the criteria cells in my previous formula. The attached fixes that problem. Alternatively you could put the data in to dynamic ranges to automatically update if / when you add more students.
    Attached Files Attached Files

+ 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. Searching a table for multiple criteria to return single result
    By erice in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-16-2014, 09:53 AM
  2. [SOLVED] Display data by searching in multiple sheet
    By abraham30 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-11-2014, 12:04 PM
  3. Searching a sheet from multiple criteria on another sheet
    By boult.jon in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-29-2013, 09:42 AM
  4. Replies: 4
    Last Post: 03-21-2013, 10:02 AM
  5. Copy columns satisfying two criteria
    By mrosendal in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-07-2008, 03:33 PM

Tags for this Thread

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