If the source file is not always open certain formulae are not viable, specifically SUMIF - I say SUMIF because if A17 appears only once in Col A of the other file and the value being returned from the matrix is numeric you could use SUMIF which would by default return 0 if there were no match, eg:
If the value is always numeric you could use:
which though not shorter in length does not evaluate the VLOOKUP twice.
(I'm assuming you're generating some sort of matrix with codes on left and months across the top)
Bookmarks