Forum Discussion

cmckernan1's avatar
cmckernan1
Copper Contributor
Feb 01, 2024
Solved

Best formula to use - Sumif? - Help

Hello    I have attachted sample data below    need a forumla for the cells in yellow   I need to find the sum of c2 to c30 with both of the conditions present in adjacent cells in a44 and b44 ...
  • HansVogelaar's avatar
    Feb 01, 2024

    cmckernan1 

    Use SUMIFS instead of SUMIF for this. In C44:

     

    =SUMIFS($C$2:$C$29,$A$2:$A$29,A44,$B$2:$B$29,B44)

     

    Fill down.

Resources