I propose a powerquery/powerpivot solution like this -
- remove auto filter
- select data
from table
on get&transform
group on Data
tab
it will look like this
- select
name
and rollnum
both, rightclick group-by
. add aggregations like the screenshot
- close and load the data back (it will automatically load to a new sheet in same book)
Note I think you'll these aggregations for each of the day for each of the roll number. It is therefore, advised that create a separate column of date before loading the data into powerquery window and thereafter groupby on name
rollnum
and date
columns.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…