Hello Folks,
I have a matrix that looks like this:
A1-NAME B1-CLASSNAME1 C1-CLASSNAME2 D1-CLASSNAME3 E1-CLASSNAME4 F1-CLASSNAME5 ... --> many columns
A2 NAME1
A3 NAME2 These cells are supposed to contain GRADES retreived from a separate dataset
A4 NAME3
...no duplicates
in this column
REFERENCE DATA COMES FROM THREE COLUMNS: 1. NAME, 2. CLASSNAME, 3. GRADE
--- There are many thousands of NAMES, hundreds of CLASSNAMES, and thousands of GRADES.
--- NAME1, NAME2...repeats for multiple classes, but each possible CLASSNAME for a given NAME can have only one GRADE
GOAL: TO PASTE A UNIQUE GRADE INTO EACH CELL WHERE: NAME1=CLASSNAME1... GRADE is positioned directly to the right of NAME and CLASSNAME in the reference dataset
NOTE: INDEX & MATCH only retreives the first occurrence of a TRUE event in each row, thus it does not work. However, COUNTIFS WORKS, but does not place GRADE in the cell, only the count.
Please help if you can. Thank you sooo much!
I have a matrix that looks like this:
A1-NAME B1-CLASSNAME1 C1-CLASSNAME2 D1-CLASSNAME3 E1-CLASSNAME4 F1-CLASSNAME5 ... --> many columns
A2 NAME1
A3 NAME2 These cells are supposed to contain GRADES retreived from a separate dataset
A4 NAME3
...no duplicates
in this column
REFERENCE DATA COMES FROM THREE COLUMNS: 1. NAME, 2. CLASSNAME, 3. GRADE
--- There are many thousands of NAMES, hundreds of CLASSNAMES, and thousands of GRADES.
--- NAME1, NAME2...repeats for multiple classes, but each possible CLASSNAME for a given NAME can have only one GRADE
GOAL: TO PASTE A UNIQUE GRADE INTO EACH CELL WHERE: NAME1=CLASSNAME1... GRADE is positioned directly to the right of NAME and CLASSNAME in the reference dataset
NOTE: INDEX & MATCH only retreives the first occurrence of a TRUE event in each row, thus it does not work. However, COUNTIFS WORKS, but does not place GRADE in the cell, only the count.
Please help if you can. Thank you sooo much!