View Single Post
 
Old 11-15-2017, 02:03 AM
ilsel ilsel is offline Windows 10 Office 2010 64bit
Novice
 
Join Date: Nov 2017
Posts: 3
ilsel is on a distinguished road
Talking

Quote:
Originally Posted by NBVC View Post
Try:

Code:
=SUMIFS(CODES!D$2:D$34,CODES!$C$2:$C$34,$B3)


copied down and across.

or if you need to also match the column headers because they may not be in consistent order, then

Code:
=SUMIFS(INDEX(CODES!$D$2:$F$34,,MATCH(C$2,CODES!$D$1:$F$1,0)),CODES!$C$2:$C$34,$B3)
I found what I did wrong!
Thank you so much, lifesaver.
Greets Ilse.
Reply With Quote