A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
You can SUMIF() using column A as the criteria and block the hours with INDEX() choosing the appropriate column with MATCH().
The standard formula in G2 is,
=SUMIF($A:$A,$F2,INDEX($B:$D,,MATCH(G$1,$B$1:$D$1,0)))
This can be copied both right and down.
If you are interested, the names in F2:F999 were collected with an array formula in F2.
=IFERROR(INDEX($A$2:$A$999,MATCH(0, IF(LEN($A$2:$A$999),COUNTIF(F$1:F1,$A$2:$A$999),1),0)),"")
This requires Ctrl+Shift+Enter rather than simply Enter. Once entered correctly it can be filled down to collect a unique list of the names in column A.
| Hyperlink | Description |
|---|---|
| SUMIF function | Adds the cells specified by a given criteria |
| INDEX function | Uses an index to choose a value from a reference or array |
| MATCH function | Looks up values in a reference or array |
| IFERROR function | Returns a value you specify if a formula evaluates to an error; otherwise, returns the result of the formula |
Edit: the array formula started in F2 not G2.