willow1985
Well-known Member
- Joined
- Jul 24, 2019
- Messages
- 886
- Office Version
- 365
- Platform
- Windows
Hello,
I seem to be having trouble with countifs formulas and not understanding why I am getting zero. I want the formula to count how many matches with "On Time", "Early", and "Late" based on the data in U and W (see chart and data example below)
If I make the data on the same sheet as the chart it works:
My formula for column B is: =COUNTIFS($U:$U,$B$1,$W:$W,A2)
My formula for column C is: =COUNTIFS($U:$U,$C$1,$W:$W,A2)
My formula for column D is: =COUNTIFS($U:$U,$D$1,$W:$W,A2)
However as soon as I change it to reference the data on another sheet it gives me a result of 0:
My formula for column B is:=COUNTIFS('Time Tracker'!$U:$U,$B$1,'Time Tracker'!$W:$W,A2)
Here is my chart that will have the formula
<colgroup><col><col><col span="2"></colgroup><tbody>
</tbody>
And here is my Data:
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>
</tbody>
Note: the Early, Late and On time are determined by formulas as well as the Months.
Any insight would be greatly appreciated as I am stumped
Thank you!
I seem to be having trouble with countifs formulas and not understanding why I am getting zero. I want the formula to count how many matches with "On Time", "Early", and "Late" based on the data in U and W (see chart and data example below)
If I make the data on the same sheet as the chart it works:
My formula for column B is: =COUNTIFS($U:$U,$B$1,$W:$W,A2)
My formula for column C is: =COUNTIFS($U:$U,$C$1,$W:$W,A2)
My formula for column D is: =COUNTIFS($U:$U,$D$1,$W:$W,A2)
However as soon as I change it to reference the data on another sheet it gives me a result of 0:
My formula for column B is:=COUNTIFS('Time Tracker'!$U:$U,$B$1,'Time Tracker'!$W:$W,A2)
Here is my chart that will have the formula
<colgroup><col><col><col span="2"></colgroup><tbody> </tbody> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<colgroup><col><col><col span="2"></colgroup><tbody>
</tbody>
And here is my Data:
U | W |
Early | July |
Late | August |
On Time | August |
Early | August |
Early | September |
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>
</tbody>
Note: the Early, Late and On time are determined by formulas as well as the Months.
Any insight would be greatly appreciated as I am stumped
Thank you!