Forum Discussion

Bailey317's avatar
Bailey317
Copper Contributor
Dec 07, 2021
Solved

SUMIF using non-contiguous cells

I am looking for help in how to structure a formula to sum the amounts based on expiration dates.  I am stumped on how to use the SUMIF function for what I am trying to do or if that is even the corr...
  • OliverScheurich's avatar
    Dec 08, 2021

    Bailey317 

    =SUMPRODUCT(((C4<TODAY())*B4)+((E4<TODAY())*D4)+((G4<TODAY())*F4))

     

    You could use sumproduct function.