Forum Discussion

BFellner82's avatar
BFellner82
Copper Contributor
May 06, 2022
Solved

Sum of data across multiple columns & rows based on Criteria

I have a data set that ranges across multiple rows and columns.  I am building a nested formula and looking to sum QTY based on multiple criteria in one part of it.  I tried sumifs, however, that does not work.  Below is my example using a hypothetical sumifs (keeping in mind, this does not work).  Any suggestions on how to return my expected result would be greatly appreciated.

 

 

3 Replies

  • BFellner82 

    Try

     

    =SUMPRODUCT('PROD&DMD'!$G$4:$AF$2099, ('PROD&DMD'!$A$4:$A$2099=$A4)*('PROD&DMD'!$G$2:$AF$2=$M4)

      • nmpwynd's avatar
        nmpwynd
        Copper Contributor
        OMG I didn't think this was possible! you have saved me hours of changing my data structure - THANK YOU!

Resources