Attendance Sheet

scummins22

New Member
Joined
May 3, 2018
Messages
12
Hello everyone,

I am a little stumped at this point and I have tried multiple things (maybe I need some coffee lol). So I am building an attendance sheet for my company to use across the network. I am trying to make it more user friendly. We use a point system when it comes to attendance. I am wanting the cell that adds up the points to look in the info cell to determine if the user inputted tardy, left early, or absent but at the same time look up the individuals name in the list to grab the last time the user had a point. For example,

A2: Bob Smith
I2: Tardy
J2: I want this to look up Bob Smith on the whole list and find the last input with his name in it and auto add .5 point to his running total due to him being tardy.

In B2 I do have the COUNTIF where it grabs the employees name from A2 and count the amount of times.

Can someone help me out?
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Can you provide some example data and the desired outcome?

Yes so here is the layout of the sheet.

Teammate Name Supervisor Department Shift Date Roll off Date Info Points
Joe Doe B Dunn Receive 1st 5/2/18 5/2/19 Tardy .5
Joe Doe "" "" "" 5/3/18 5/3/19 Absent 1.5

So as you see, this is the layout of the sheet. For example, in the second line Joe Doe was absent which at my company results in 1 point, tardies are .5 points, leave early is also .5 points. I want to where the if the teammate earns another point, the cell will look for Joe Doe in column A and based of the information in column I (tardy,left early, or absent) it will add the amount of points automatically without the user having to look it up manually. Does that make sense?
 
Upvote 0
[Table="width:, class:head"][tr=bgcolor:#E0E0F0][th] [/th][th]
A
[/th][th]
B
[/th][th]
C
[/th][th]
D
[/th][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
1
[/td][td]Name[/td][td]Info[/td][td]Points[/td][td][/td][/tr]


[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
2
[/td][td]John[/td][td]Tardy[/td][td]
0.5​
[/td][td][/td][/tr]


[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
3
[/td][td]Eric[/td][td]Absent[/td][td]
1​
[/td][td][/td][/tr]


[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
4
[/td][td]Laura[/td][td]Absent[/td][td]
1​
[/td][td][/td][/tr]


[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
5
[/td][td]Jennifer[/td][td]Tardy[/td][td]
0.5​
[/td][td][/td][/tr]


[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
6
[/td][td]John[/td][td]Absent[/td][td]
1.5​
[/td][td][/td][/tr]


[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
7
[/td][td]Laura[/td][td]Absent[/td][td]
2​
[/td][td][/td][/tr]


[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
8
[/td][td]John[/td][td]Absent[/td][td]
2.5​
[/td][td][/td][/tr]


[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
9
[/td][td]Eric[/td][td]Absent[/td][td]
2​
[/td][td][/td][/tr]


[tr=bgcolor:#FFFFFF][td=bgcolor:#E0E0F0]
10
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[/table]
[Table="width:, class:grid"][tr][td]Sheet: Sheet32[/td][/tr][/table]

Formula in cell C2:
=SUMPRODUCT((A2=$A$2:A2)*((($B$2:B2="Tardy")*0.5)+($B$2:B2="Absent")))

Copy cell C2 and paste to cells below.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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