Team,
Is there a way to add an UNLESS or AND clause to a countif. For example: Let's say you have two columns, one has group assignment and the other has a break time.
I want to either count everyone whose break time is "X" and is a member of group "A", or everyone whose break time is "X" and is not in group "A". Where X is any time I enter and A is a group letter.
Either solution will work since everyone is either in group A or group B, so it is a wash whether I count A's or "Not B"'s.
Currently what I have is:
=COUNTIF($AO$3:$AO$263,"="&BA$1)
Where the column AO holds break times and cell BA1 holds the time I want to compare it to. THe piece that I am missing is the group piece.
The reason there is no $ on BA is that times are actually stored in AU1 thru DF1 and leaving it off allows me to drag across.
Thanks
CP
Is there a way to add an UNLESS or AND clause to a countif. For example: Let's say you have two columns, one has group assignment and the other has a break time.
I want to either count everyone whose break time is "X" and is a member of group "A", or everyone whose break time is "X" and is not in group "A". Where X is any time I enter and A is a group letter.
Either solution will work since everyone is either in group A or group B, so it is a wash whether I count A's or "Not B"'s.
Currently what I have is:
=COUNTIF($AO$3:$AO$263,"="&BA$1)
Where the column AO holds break times and cell BA1 holds the time I want to compare it to. THe piece that I am missing is the group piece.
The reason there is no $ on BA is that times are actually stored in AU1 thru DF1 and leaving it off allows me to drag across.
Thanks
CP