Pablo
New Member
Hello,
I have a report for different units, and based on a list or criteria, I need to add the values for only those units.
How can I get a formula that will work with a regular list (no empty rows to match the rows)?
I got it to work with an array formula, "SUM(IF(...", but only when the criteria is in the same row as the units, I don't understand why. Curiously SUMIF doesn't work at all.
Also I got it to work with Sumproduct using {...,...,...} which is like an OR, but only when I type the criteria in double quotes, so it doesn't work with cell references, which is very inconvenient since it can't be changed / updated easily. I don't get that either.
I have attached the file as reference. Any help is appreciated.
Thanks,
Pablo
I have a report for different units, and based on a list or criteria, I need to add the values for only those units.
How can I get a formula that will work with a regular list (no empty rows to match the rows)?
I got it to work with an array formula, "SUM(IF(...", but only when the criteria is in the same row as the units, I don't understand why. Curiously SUMIF doesn't work at all.
Also I got it to work with Sumproduct using {...,...,...} which is like an OR, but only when I type the criteria in double quotes, so it doesn't work with cell references, which is very inconvenient since it can't be changed / updated easily. I don't get that either.
I have attached the file as reference. Any help is appreciated.
Thanks,
Pablo