Forum Discussion

rangelsammon's avatar
rangelsammon
Brass Contributor
Sep 13, 2022

countif or sumproduct for this problem

i put the info in the sheet. im trying to add multiple criteria matches but im getting lost. any help is greatly appreciated!

 

https://1drv.ms/x/s!AnFi6uGE1reki2F7ZOcOKhcx_EZj?e=JEaMwG

8 Replies

  • DexterG_III's avatar
    DexterG_III
    Iron Contributor

    rangelsammon 

     

    Is this what you were expecting?

    If so, here is the formula I used in the Conditional Eval column.  So if you want to calculate a sum outside the table you can simply sum the Conditional Eval column if that works.  

     

    =IF(OFFSET([@safety],2,0)<>"yes",0,COUNTIFS([player],[@player],[match],[@match],[ball in hand],"yes",[win],"yes",[inning],[@inning]))

     

     

    • rangelsammon's avatar
      rangelsammon
      Brass Contributor
      Thank you for the reply Dexter! can you save in the worksheet? I tried saving but i cant get it to calculate to see if it works
      • DexterG_III's avatar
        DexterG_III
        Iron Contributor

        rangelsammon Sorry, I made the changes in an offline copy but just transferred to your online file and saved.  

Resources