Planning TimeSheets for Work - Struggling with formulas


Some help would be greatly appreciated, I'm looking for the correct formula to tally up my staff's sleeping in shifts (columns Y & Z) so that I can show the accumulation of each staff's individual number sleep shifts in the row 37.

Mac mini, macOS 15.5

Posted on May 27, 2025 1:41 PM

Reply
Question marked as Top-ranking reply

Posted on Jun 2, 2025 10:23 AM

If I understand the ask correctly, columns Y and Z indicate the staff's initials, and that matches the values in row 1, right?


You then want row 37 to count how many shifts are assigned to each individual?


That's easy using COUNTIF()


COUNTIF() takes a range (in this case Y:Z for those two columns), and a condition (in this case the value of the cell in row 1) and returns the number of matches:


set C37 to:


=COUNTIF($Y:$Z,C$1)


and fill across the row.


3 replies
Question marked as Top-ranking reply

Jun 2, 2025 10:23 AM in response to JJLNGRD23

If I understand the ask correctly, columns Y and Z indicate the staff's initials, and that matches the values in row 1, right?


You then want row 37 to count how many shifts are assigned to each individual?


That's easy using COUNTIF()


COUNTIF() takes a range (in this case Y:Z for those two columns), and a condition (in this case the value of the cell in row 1) and returns the number of matches:


set C37 to:


=COUNTIF($Y:$Z,C$1)


and fill across the row.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Planning TimeSheets for Work - Struggling with formulas

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.