Reputation: 1
I would like to consolidates data in a table per day to a table per week. I have an input table with all the days of the year in columns and all operators in rows. If an operator plans a holiday, we put a "H" on that day.
I'd like to have an output table with all weeks in rows and all operators in columns where I want to count the number of holidays an operator takes in a week.
Upvotes: 0
Views: 37
Reputation: 59450
Copy your data and Paste Special, Transpose into B1 of a new sheet. In A2 and copied down to suit:
=WEEKNUM(B2)
Select your data (entire columns would serve) and DATA, Outline, Subtotal, At each change in: (ColumnA)
, Use function: Count
, Add subtotal to: tick each operator
, OK.
Upvotes: 0