Forum Discussion
jmcniven860
May 30, 2019Copper Contributor
Excel: How to return the total number of values in a table column based on date
I have a spreadsheet is meant to track employee vacation days. The leftmost Column contains employee names, and the Column Headers contains dates for the current scheduling period. I need to be ...
SergeiBaklan
May 30, 2019Diamond Contributor
For such sample data
formula could be
=SUM(COUNTIF(INDEX($C:$H,0,MATCH($K2,$C$1:$H$1,0)),{"VAC","STAT","VAC/STAT"}))