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

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
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
A
B
C
D
1
NameInfoPoints
2
JohnTardy
0.5​
3
EricAbsent
1​
4
LauraAbsent
1​
5
JenniferTardy
0.5​
6
JohnAbsent
1.5​
7
LauraAbsent
2​
8
JohnAbsent
2.5​
9
EricAbsent
2​
10
Sheet: Sheet32

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,214,830
Messages
6,121,835
Members
449,051
Latest member
excelquestion515

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