Originally Posted by
daddylonglegs
Let's say you have a list of tasks in AF10 downwards, Try this formula in AG10
=SUM((($C$4:$AB$4="task")*( $C$5:$AB$144=AF10))*((OFFSET($C$4:$AB$4,0,1)= "hours")*OFFSET($C$5:$AB$144,0,1)))
confirmed with CTRL+SHIFT+ENTER and copied down the column.
Note: to confirm with CTRL+SHIFT+ENTER put the formula in the cell, press F2, hold down CTRL and SHIFT keys and press ENTER. Curly braces like { and } will appear around the formula in the formula bar.
Note: the data ranges shouldn't contain any text otherwise the formula will fail. G22 has a stray "/" in it. Delete this to make the formula work.....
Bookmarks