ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sum formula for multiple criteria... help? (https://www.excelbanter.com/excel-discussion-misc-queries/183936-sum-formula-multiple-criteria-help.html)

Bob

Sum formula for multiple criteria... help?
 
All,

Currently I'm trying to calculate values based on the following (and having
zero luck): I have a sheet with multiple part numbers and global locations,
and the associated quantities. So it might read:

Zimbabwe | 95-049563-01 | 3
Taiwan | 95-049563-01 | 2

The last thing I was able to find online was an array formula using sums,
which looked like so:
{=SUM((A2:A7807="Zimbabwe")*(C2:C7807="95-049563-01")*G2:G7807)}

I don't get an error when I complete this, but it always tallies to zero.
I'd appreciate any help anyone can give at all. Thanks!

Sincerely,

Bob

nathan_savidge

Sum formula for multiple criteria... help?
 
Just did it, based on your data, but in the array formula i referenced a cell
with the part # and location in and it worked.

{=SUM((A1:A2=A1)*(B1:B2=B1)*(C1:C2))}

a = location, b = part#, c= qty

hope this helps.


"Bob" wrote:

All,

Currently I'm trying to calculate values based on the following (and having
zero luck): I have a sheet with multiple part numbers and global locations,
and the associated quantities. So it might read:

Zimbabwe | 95-049563-01 | 3
Taiwan | 95-049563-01 | 2

The last thing I was able to find online was an array formula using sums,
which looked like so:
{=SUM((A2:A7807="Zimbabwe")*(C2:C7807="95-049563-01")*G2:G7807)}

I don't get an error when I complete this, but it always tallies to zero.
I'd appreciate any help anyone can give at all. Thanks!

Sincerely,

Bob



All times are GMT +1. The time now is 01:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com