0
votes

I need help creating a formula that returns one value with multiple criteria in different rows & columns.

For example, I want to return the November Hours for the Parent, John's child, Phil.

I need to be able to match John and Phil (in two columns) to November Hours (a row) to return a value within the array of D4:G9. The correct answer would be 4, but every time I try a traditional INDEX(MATCH), I get an N/A.

I attached a picture of my sample data.

My Sample Data

1
You could use SUMIFS but life would be a lot easier if you filled in the blanks in column B.SJR
How would i go about using a SUMIF is if filled them in?greenteacookies

1 Answers

0
votes

With Column B filled in as the comments suggest:

=SUMIFS(INDEX(D:G,0,MATCH("November Hours",$D$2:$G$2,0)),B:B,"John",C:C,"Phil")