Hi all,
I am trying to utilize a countifs function that would search a range of cells, and would include information based on if a toggle button is false or true. So far I have the current countifs below for you to peruse at your leisure.
=COUNTIFS('The Data'!$B$2:$B$5000,'Overall Head to Head'!$A$2,'The Data'!$C$2:$C$5000,'Overall Head to Head'!$E$2,'The Data'!$O$2:$O$5000,"W",'The Data'!$A$2:$A$5000,">=" & 'Overall Head to Head'!$H$2,'The Data'!$A$2:$A$5000,"<=" & 'Overall Head to Head'!$L$2)
So basically the formula will include everything from the "The Data" sheet column B that is equivalent to whatever the value of cell A2 in the "Overall Head to Head" sheet is and...
everything from the "The Data" sheet column C that is equivalent to whatever the value of cell E2 in the "Overall Head to Head" sheet is and...
everything from the "The Data" sheet column O that is equal to "W" and...
everything from the "The Data" sheet column A that is within a range >= with the value on sheet "Overall Head to Head" cell H2 and <= the value on sheet "Overall Head to Head" cell L2.
So now I want to add a criteria that will take into account if a toggle button is true or false. Is there a way to do this, I've experimented with a few things, and while the formula accepted the text without errors, I could not get a satisfactory result.
Any examples would be appreciated.
Thanks.
Bookmarks