Hello all! Just started learning more formulas and VBA scripting for my job, but I'm running into an issue with the SUMPRODUCT formula returning 0 instead of the actual number. My intent was to have this run through the specified closed workbook and range and then return the number of cells with a value of 2.
Also, I've verified the sourced data in John test.xlsx only contain numerical characters but are formatted as "General". Could this by chance be the culprit? Thanks a ton in advance for your help!
Code:
=SUMPRODUCT('C:\Desktop\[test.xlsx]Sheet1'!$D$2:$D$85="2")
Also, I've verified the sourced data in John test.xlsx only contain numerical characters but are formatted as "General". Could this by chance be the culprit? Thanks a ton in advance for your help!