Forum Discussion
Sumproduct formular not working as expected
I have modified a sumproduct formula and it is not working as expected.
=SUMPRODUCT((Sales!B$3:B$999=A6)*(Sales!F$3:F$999))
It was previously =SUMPRODUCT((Sales!B$3:B$600=A6)*(Sales!F$3:F$600))
It is not picking up any value after row 600 in the range.
Any help appreciated.
Thanks
You have blank cells in column B of Sales for these rows, thus formula returns nothing. I'm not sure why do you have dates both in columns A and B, but you shift on column A in formula it returns correct result.
6 Replies
- TwifooSilver ContributorPlease specify the result of your modified formula and the result you expected from it.
- derick1560Copper Contributor
The formulae are on the Gasoline recon sheet range E6 to E36. I
The should be picking up results from column F of the Sales sheet.
Since I modified the formula to include rows 601 to 999. It is not picking up those values
Thank you.
- SergeiBaklanDiamond Contributor
You have blank cells in column B of Sales for these rows, thus formula returns nothing. I'm not sure why do you have dates both in columns A and B, but you shift on column A in formula it returns correct result.
- derick1560Copper ContributorCan I send the excel file? It would be easier to understand.