Formula for attendance daily summary

Jayrey

New Member
Joined
Oct 4, 2023
Messages
5
Office Version
  1. 365
Platform
  1. Windows
I've built an attendance sheet with a letter indicating the associates position (Picker, Shipper, Forklift) in column A, associate names in column B and the days of the week across (Monday, Tuesday etc.) across. I'm marking an "x" to those in attendance by day.

I'm looking for a formula to give me todays totals in attendance.

I want to say: if today is (day of the week), go to attendance sheet and count all associates with a P AND "x" under the corresponding (day of the week) column.

I'm looking for it to return a total count of associates from each position who are present and I want it to update to Todays day.

Thank you in advanced!
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hey jeyrey. Welcome.
Please post some data (sanitized to protect identities, if necessary) of your scenario, as well as expected outcomes.
Mr. Excel has a tool, xl2bb add in (link below) that allow you to do this. If you cannot use the add in, please post the data (label columns and rows please) using the TABLE posting tool (in each post's ribbon). If the data is not huge an image is okay, but it does mean the forum must completely recreate your scenario and that can lead to errors and is time consuming.
 
Upvote 0
I've built an attendance sheet with a letter indicating the associates position (Picker, Shipper, Forklift) in column A, associate names in column B and the days of the week across (Monday, Tuesday etc.) across. I'm marking an "x" to those in attendance by day.

I'm looking for a formula to give me todays totals in attendance.

I want to say: if today is (day of the week), go to attendance sheet and count all associates with a P AND "x" under the corresponding (day of the week) column.

I'm looking for it to return a total count of associates from each position who are present and I want it to update to Todays day.

Thank you in advanced!
 
Upvote 0
Here is a visual. I want to automate "Todays Actuals" to only give me attendance for the day of the week that match Today().
1696472296342.png
 
Upvote 0
Book1
ABCDEFGHI
1MondayTuesdayWednesdayThursdayFridaySaturdaySunday
2PHappyx
3PBashfulxxx
4PSneezyxxx
5PGrumpyxxx
6DDopeyxx
7DSleepyxxxx
8PDocxxx
9PSnowxxx
10
11Staffing CountToday's ActualsThursday
12Pickers6Pickers2
13Drivers2Drivers1
14Total8Total3
15
Sheet3
Cell Formulas
RangeFormula
D12D12=COUNTIF($A$2:$A$9,"P")
D13D13=COUNTIF($A$2:$A$9,"D")
D14,G14D14=SUM(D12:D13)
G11G11=TEXT(TODAY(),"dddd")
G12G12=SUMPRODUCT(($A$2:$A$9="P")*($C$1:$I$1=$G$11)*($C$2:$I$9<>""))
G13G13=SUMPRODUCT(($A$2:$A$9="D")*($C$1:$I$1=$G$11)*($C$2:$I$9<>""))
 
Upvote 0
Solution
Book1
ABCDEFGHI
1MondayTuesdayWednesdayThursdayFridaySaturdaySunday
2PHappyx
3PBashfulxxx
4PSneezyxxx
5PGrumpyxxx
6DDopeyxx
7DSleepyxxxx
8PDocxxx
9PSnowxxx
10
11Staffing CountToday's ActualsThursday
12Pickers6Pickers2
13Drivers2Drivers1
14Total8Total3
15
Sheet3
Cell Formulas
RangeFormula
D12D12=COUNTIF($A$2:$A$9,"P")
D13D13=COUNTIF($A$2:$A$9,"D")
D14,G14D14=SUM(D12:D13)
G11G11=TEXT(TODAY(),"dddd")
G12G12=SUMPRODUCT(($A$2:$A$9="P")*($C$1:$I$1=$G$11)*($C$2:$I$9<>""))
G13G13=SUMPRODUCT(($A$2:$A$9="D")*($C$1:$I$1=$G$11)*($C$2:$I$9<>""))

Thank you so much.
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,263
Members
452,627
Latest member
KitkatToby

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top