Hello,
I need help on how to to count a specific value on a range after a lookup. Basically, I want to count the number of values with a condition which is date (Weekend date). Is there a way to lookup the range instead of manually inputting every time I need to count a specific value in range of dates? Also is it possible to make the formula dynamic? I need to calculate data for years.
Example: If WE 8.5 appears on any column, count how many absences under those columns.
[TABLE="class: grid, width: 715, align: center"]
<colgroup><col><col><col span="9"></colgroup><tbody>[TR]
[TD][/TD]
[TD]WE 8.5[/TD]
[TD]WE 8.5[/TD]
[TD]WE 8.5[/TD]
[TD]WE 8.5[/TD]
[TD]WE 8.5[/TD]
[TD]WE 8.12[/TD]
[TD]WE 8.12[/TD]
[TD]WE 8.12[/TD]
[TD]WE 8.12[/TD]
[TD]WE 8.12[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1-Aug[/TD]
[TD]2-Aug[/TD]
[TD]3-Aug[/TD]
[TD]4-Aug[/TD]
[TD]5-Aug[/TD]
[TD]6-Aug[/TD]
[TD]7-Aug[/TD]
[TD]8-Aug[/TD]
[TD]9-Aug[/TD]
[TD]10-Aug[/TD]
[/TR]
[TR]
[TD]Person 1[/TD]
[TD]Present[/TD]
[TD]Absent[/TD]
[TD]Present[/TD]
[TD]Present[/TD]
[TD]Present[/TD]
[TD]Present[/TD]
[TD]ABSENT[/TD]
[TD]RD[/TD]
[TD]RD[/TD]
[TD]Absent[/TD]
[/TR]
[TR]
[TD]Person 2[/TD]
[TD]Present[/TD]
[TD]Absent[/TD]
[TD]Present[/TD]
[TD]RD[/TD]
[TD]Present[/TD]
[TD]Present[/TD]
[TD]RD[/TD]
[TD]Present[/TD]
[TD]Absent[/TD]
[TD]Absent[/TD]
[/TR]
[TR]
[TD]Person 3[/TD]
[TD]Present[/TD]
[TD]Absent[/TD]
[TD]Present[/TD]
[TD]RD[/TD]
[TD]Present[/TD]
[TD]Present[/TD]
[TD]RD[/TD]
[TD]Present[/TD]
[TD]Absent[/TD]
[TD]Absent[/TD]
[/TR]
[TR]
[TD]Person 4[/TD]
[TD]RD[/TD]
[TD]Absent[/TD]
[TD]Present[/TD]
[TD]Present[/TD]
[TD]RD[/TD]
[TD]Present[/TD]
[TD]ABSENT[/TD]
[TD]Present[/TD]
[TD]Absent[/TD]
[TD]Absent[/TD]
[/TR]
[TR]
[TD]Person 5[/TD]
[TD]RD[/TD]
[TD]Absent[/TD]
[TD]Present[/TD]
[TD]Present[/TD]
[TD]RD[/TD]
[TD]RDS[/TD]
[TD]ABSENT[/TD]
[TD]Present[/TD]
[TD]Absent[/TD]
[TD]Absent[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Output Table here:
[TABLE="class: grid, width: 331, align: left"]
<colgroup><col><col><col span="3"></colgroup><tbody>[TR]
[TD][/TD]
[TD]Absent[/TD]
[TD]Present[/TD]
[TD]Absent[/TD]
[TD]RD[/TD]
[/TR]
[TR]
[TD]WE 8.5[/TD]
[TD]9[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]WE 8.12[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]WE 8.19[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]WE 8.26[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
Thanks in advance.
I need help on how to to count a specific value on a range after a lookup. Basically, I want to count the number of values with a condition which is date (Weekend date). Is there a way to lookup the range instead of manually inputting every time I need to count a specific value in range of dates? Also is it possible to make the formula dynamic? I need to calculate data for years.
Example: If WE 8.5 appears on any column, count how many absences under those columns.
[TABLE="class: grid, width: 715, align: center"]
<colgroup><col><col><col span="9"></colgroup><tbody>[TR]
[TD][/TD]
[TD]WE 8.5[/TD]
[TD]WE 8.5[/TD]
[TD]WE 8.5[/TD]
[TD]WE 8.5[/TD]
[TD]WE 8.5[/TD]
[TD]WE 8.12[/TD]
[TD]WE 8.12[/TD]
[TD]WE 8.12[/TD]
[TD]WE 8.12[/TD]
[TD]WE 8.12[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1-Aug[/TD]
[TD]2-Aug[/TD]
[TD]3-Aug[/TD]
[TD]4-Aug[/TD]
[TD]5-Aug[/TD]
[TD]6-Aug[/TD]
[TD]7-Aug[/TD]
[TD]8-Aug[/TD]
[TD]9-Aug[/TD]
[TD]10-Aug[/TD]
[/TR]
[TR]
[TD]Person 1[/TD]
[TD]Present[/TD]
[TD]Absent[/TD]
[TD]Present[/TD]
[TD]Present[/TD]
[TD]Present[/TD]
[TD]Present[/TD]
[TD]ABSENT[/TD]
[TD]RD[/TD]
[TD]RD[/TD]
[TD]Absent[/TD]
[/TR]
[TR]
[TD]Person 2[/TD]
[TD]Present[/TD]
[TD]Absent[/TD]
[TD]Present[/TD]
[TD]RD[/TD]
[TD]Present[/TD]
[TD]Present[/TD]
[TD]RD[/TD]
[TD]Present[/TD]
[TD]Absent[/TD]
[TD]Absent[/TD]
[/TR]
[TR]
[TD]Person 3[/TD]
[TD]Present[/TD]
[TD]Absent[/TD]
[TD]Present[/TD]
[TD]RD[/TD]
[TD]Present[/TD]
[TD]Present[/TD]
[TD]RD[/TD]
[TD]Present[/TD]
[TD]Absent[/TD]
[TD]Absent[/TD]
[/TR]
[TR]
[TD]Person 4[/TD]
[TD]RD[/TD]
[TD]Absent[/TD]
[TD]Present[/TD]
[TD]Present[/TD]
[TD]RD[/TD]
[TD]Present[/TD]
[TD]ABSENT[/TD]
[TD]Present[/TD]
[TD]Absent[/TD]
[TD]Absent[/TD]
[/TR]
[TR]
[TD]Person 5[/TD]
[TD]RD[/TD]
[TD]Absent[/TD]
[TD]Present[/TD]
[TD]Present[/TD]
[TD]RD[/TD]
[TD]RDS[/TD]
[TD]ABSENT[/TD]
[TD]Present[/TD]
[TD]Absent[/TD]
[TD]Absent[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Output Table here:
[TABLE="class: grid, width: 331, align: left"]
<colgroup><col><col><col span="3"></colgroup><tbody>[TR]
[TD][/TD]
[TD]Absent[/TD]
[TD]Present[/TD]
[TD]Absent[/TD]
[TD]RD[/TD]
[/TR]
[TR]
[TD]WE 8.5[/TD]
[TD]9[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]WE 8.12[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]WE 8.19[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]WE 8.26[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
Thanks in advance.