Help with Attendance Tracker - Percentage of Dates

SGMiller

New Member
Joined
Jan 30, 2017
Messages
1
I'm trying to create a workbook that tracks attendance. The main goal is to see how often a person has attended over a period of time based on the current date. I have come up blank on how to accomplish this. Could anyone provide any insight? The data would be in one worksheet as shown below.

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Date 1[/TD]
[TD]Date 2[/TD]
[TD]Date 3[/TD]
[/TR]
[TR]
[TD]Joe Black[/TD]
[TD]Yes[/TD]
[TD]No[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Stacy Smith[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[TD]Yes[/TD]
[/TR]
</tbody>[/TABLE]

Ideal goal:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Last week[/TD]
[TD]Last 2 weeks[/TD]
[TD]Last 3 weeks[/TD]
[TD]Overall[/TD]
[/TR]
[TR]
[TD]Joe Black[/TD]
[TD]100%[/TD]
[TD]50%[/TD]
[TD]66%[/TD]
[TD]50%[/TD]
[/TR]
[TR]
[TD]Stacy Smith[/TD]
[TD]100%[/TD]
[TD]100%[/TD]
[TD]100%[/TD]
[TD]100%[/TD]
[/TR]
</tbody>[/TABLE]

Thanks in advance, Scott
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Hi and welcome to Mrexcel,

It's bit vague but take a look at this and see if this is something you can use:


Excel 2016 (Windows) 64 bit
ABCDEF
1Name7-1-201723-1-201730-1-2017
2Joe BlackYesNoYes
3Stacy SmithYesYesYes
4
5
6
7NameThis WeekLast weekLast 2 weeksLast 3 weeksOverall
8Joe Black14%0%0%0%6%
9Stacy Smith14%14%0%0%10%
Sheet1
Cell Formulas
RangeFormula
E8=SUMPRODUCT(--(WEEKNUM($B$1:$D$1+0)=WEEKNUM(NOW())-COLUMN()+2)*($A$2:$A$3=$A8)*($B$2:$D$3="Yes"))/7
F8=SUMPRODUCT(($A$2:$A$3=$A8)*($B$2:$D$3="Yes"))/DAY(EOMONTH($B$1,0))
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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