I am trying to use a SUMPRODUCT function to essentially SUMIF. I need to use SUMPRODUCT because when I close the external workbook SUMIFs return errors. I am trying to sumif based on month, year, and height. All the data is in various workbooks. All observations, the month, and year data is in Workbook1. The height data is in workbook 2. I am using person name to lookup the height in the other workbook. The part of the formula looking at month and year work so I do not need that corrected. I believe there is something wrong with my vlookup. I'm not sure if I'm able to use vlookup in a sumproduct like this. Here is my function:
=sumproduct(('(Month Range'='Month)'*'(year range=year)'*(vlookup('personnamerange, height range, 2, false)))
Any advice would be greatly appreciated.