Jun 15 2019 09:47 AM
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
Jun 15 2019 10:15 AM
Jun 15 2019 11:13 AM
Jun 15 2019 11:19 AM
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.
Jun 15 2019 11:48 AM
Solution
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.
Jun 20 2019 08:34 AM
Thank you. Am almost embarrassed. I created the workbook more than 10 years ago and forgot the formula was looking for the values in column B and not column A.
Thanks again.
Jun 20 2019 08:42 AM
@derick1560 I see, perhaps it's time to update the workbook.
Jun 15 2019 11:48 AM
Solution
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.