Excel using COUNTIFS Function to create a Punchcard -
in data source have column contains dates of occurrences , column contains hour of same occurrences.
with this, goal obtain punchcard plot (maybe bubble chart appropriate)
the intermediate structure has weekday(sunday-saturday) rows (a2:a8), , hours (8-22) columns (b1:p1), each column must have occurrence count week day in hour.
with said, tried use countifs function, using following approach, cell b2:
=countifs(weekday(rawdata!t2:t9852;1);a2;hour(rawdata!u2:u9852);b1)
however, excel not computing value, finding problem on formula, having tried using insert formula option.
place following in b2
=sumproduct((weekday($t$2:$t$8,1)=weekday($a2,1))*(hour($u$2:$u$8)=hour(b$1)))
you need convert ,
match ;
on system
- in range a2:a8 enter known date monday such 2017/08/20. select a2:a8 , apply custom formatting number format , set ddd. display day of week in text keep value in cell number.
- adjust ranges suit data.
- copy formula fill in table.
wiki
Comments
Post a Comment