Share via

Sorting problem when using SumProduct

Anonymous
2011-02-23T15:50:09+00:00

HI To All,

I have a spreadsheet with a Sumproduct formula   = SUMPRODUCT(('2010 Sales'!E$1:E$13897='2010 TA'!A2)*('2010 Sales'!D$1:D$13897="REG"),'2010 Sales'!C$1:C$13897)

When I sort the data it retains the absolute reference to the row number for the first criteria.  Trying to undersatnd why this happens

For example:

If John smith is in row 1 prior to the sort  and after the sort he is on row 10 the cell reference for the first criteria still references row 1 and not row 10.

Thanks again for any help

Thanks for any help

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Anonymous
    2011-02-25T16:35:34+00:00

    Yes Bernad I'm using a pivot table now. I was trying to get a better understanding of what the system was doing with my orginal approach, so that I can keep it in mind in the future.

    Thanks again

    Was this answer helpful?

    0 comments No comments