Hi everybody. My first ever post.
Would anybody know how to return a counta possibly using index and match? Or is there a better way.
I have a table to record when people are on leave.
The column headers are Grade / Team, Name, Staff Number, then the rest are dates in DD/MM/YYYY format and vertical to keep columns less wide (as it runs from Jun17 to March18).
[TABLE="width: 500"]
<tbody>[TR]
[TD]Grade / Team
[/TD]
[TD]Name
[/TD]
[TD]Staff No
[/TD]
[TD]12/6/17
[/TD]
[TD]13/6/17 etc
[/TD]
[/TR]
[TR]
[TD]Grade 6
[/TD]
[TD]JOHN
[/TD]
[TD]1
[/TD]
[TD][/TD]
[TD]AL
[/TD]
[/TR]
[TR]
[TD]Grade 7
[/TD]
[TD]PAUL
[/TD]
[TD]2
[/TD]
[TD]AL
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Grade 7
[/TD]
[TD]GEORGE
[/TD]
[TD]3
[/TD]
[TD]FL
[/TD]
[TD]FL
[/TD]
[/TR]
[TR]
[TD]TEAM1
[/TD]
[TD]RINGO
[/TD]
[TD]4
[/TD]
[TD]OFF
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]TEAM1
[/TD]
[TD]PETE
[/TD]
[TD]5
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]TEAM2
[/TD]
[TD]BRIAN
[/TD]
[TD]6
[/TD]
[TD]PRIV
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
What I would like is a subtotal of entries against each grade on a given date so if I was to choose another day, the answers below would also change.
I have a nested list of dates in a dropdown list and the list of Grade / Team entries e.g. Grade 7, Grade 6 (either could be 10 rows as 10 people are Grade 6).
[TABLE="width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]dropdown list with 1/6/17, 2/6/17 etc.[/TD]
[/TR]
[TR]
[TD]Grade 6[/TD]
[TD]hopefully the total number of entries on the selected date for grade 6 staff[/TD]
[/TR]
[TR]
[TD]Grade7[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Team1[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
so if I choose 1/6/17 the grade 6 row would say 3 for example, grade 7 says nil but if I change the date to 6/6/17, grade 6 now shows 0, grade 7 shows 2 etc.
is this even possible? I am an absolute beginner but have been teaching myself what I need as I go but I cant work this out.
I know V and Hlookups are out as you'll only get the first occurance but in my head I can picture a SUM/COUNTIF/INDEX&MATCH hybrid that could change the world.
Apologies for rabbiting on. this is my first actual post so go easy on me ha.
All the best
Mike_CS
Would anybody know how to return a counta possibly using index and match? Or is there a better way.
I have a table to record when people are on leave.
The column headers are Grade / Team, Name, Staff Number, then the rest are dates in DD/MM/YYYY format and vertical to keep columns less wide (as it runs from Jun17 to March18).
[TABLE="width: 500"]
<tbody>[TR]
[TD]Grade / Team
[/TD]
[TD]Name
[/TD]
[TD]Staff No
[/TD]
[TD]12/6/17
[/TD]
[TD]13/6/17 etc
[/TD]
[/TR]
[TR]
[TD]Grade 6
[/TD]
[TD]JOHN
[/TD]
[TD]1
[/TD]
[TD][/TD]
[TD]AL
[/TD]
[/TR]
[TR]
[TD]Grade 7
[/TD]
[TD]PAUL
[/TD]
[TD]2
[/TD]
[TD]AL
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Grade 7
[/TD]
[TD]GEORGE
[/TD]
[TD]3
[/TD]
[TD]FL
[/TD]
[TD]FL
[/TD]
[/TR]
[TR]
[TD]TEAM1
[/TD]
[TD]RINGO
[/TD]
[TD]4
[/TD]
[TD]OFF
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]TEAM1
[/TD]
[TD]PETE
[/TD]
[TD]5
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]TEAM2
[/TD]
[TD]BRIAN
[/TD]
[TD]6
[/TD]
[TD]PRIV
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
What I would like is a subtotal of entries against each grade on a given date so if I was to choose another day, the answers below would also change.
I have a nested list of dates in a dropdown list and the list of Grade / Team entries e.g. Grade 7, Grade 6 (either could be 10 rows as 10 people are Grade 6).
[TABLE="width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]dropdown list with 1/6/17, 2/6/17 etc.[/TD]
[/TR]
[TR]
[TD]Grade 6[/TD]
[TD]hopefully the total number of entries on the selected date for grade 6 staff[/TD]
[/TR]
[TR]
[TD]Grade7[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Team1[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
so if I choose 1/6/17 the grade 6 row would say 3 for example, grade 7 says nil but if I change the date to 6/6/17, grade 6 now shows 0, grade 7 shows 2 etc.
is this even possible? I am an absolute beginner but have been teaching myself what I need as I go but I cant work this out.
I know V and Hlookups are out as you'll only get the first occurance but in my head I can picture a SUM/COUNTIF/INDEX&MATCH hybrid that could change the world.
Apologies for rabbiting on. this is my first actual post so go easy on me ha.
All the best
Mike_CS