Forum Discussion

Emilia_Emcke's avatar
Emilia_Emcke
Copper Contributor
Nov 02, 2022
Solved

Count If statement - refer to label name on separate sheet

Hey! I'm trying to create a count if statement that counts all cells in a column on a different sheet with values greater than 4. I need to refer to the column by name, not simply by the array of cel...
  • OliverScheurich's avatar
    Nov 02, 2022

    Emilia_Emcke 

    =SUMPRODUCT((sheet2!$A$1:$I$1="header 2")*(sheet2!$A$2:$I$23>4))

    You can try this formula.

    This is "sheet2":

    The formula returns the number of cells from "sheet2" that are under "header 2" and have a value greater 4.

     

Resources