FryGirl
Well-known Member
- Joined
- Nov 11, 2008
- Messages
- 1,368
- Office Version
- 365
- 2016
- Platform
- Windows
I have a date range with names in column A and column G will count how many times this person is signed up for a class between column B to column F. Taking into account how many classes the person is taking, I need to return their names in a list that many times
Data Range
[TABLE="class: grid"]
<tbody>[TR]
[TD][/TD]
[TD]
[TD]
[TD]
[TD]
[TD]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD][/TD]
[TD]
[TD]
[TD]
[TD]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[TD][/TD]
[TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[TD]
[TD][/TD]
[TD]
[TD][/TD]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[TD][/TD]
[TD]
[TD]
[TD][/TD]
[TD][/TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[TD]
[TD][/TD]
[TD]
[TD]
[TD]
[TD]
[/TR]
</tbody>[/TABLE]
Results
[TABLE="class: grid"]
<tbody>[TR]
[TD][/TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[/TR]
</tbody>[/TABLE]
Data Range
[TABLE="class: grid"]
<tbody>[TR]
[TD][/TD]
[TD]
A
[/TD][TD]
B
[/TD][TD]
C
[/TD][TD]
D
[/TD][TD]
E
[/TD][TD]
F
[/TD][TD]
G
[/TD][/TR]
[TR]
[TD]
1
[/TD][TD][/TD]
[TD]
Class 1
[/TD][TD]
Class 2
[/TD][TD]
Class 3
[/TD][TD]
Class 4
[/TD][TD]
Class 5
[/TD][TD]
Count
[/TD][/TR]
[TR]
[TD]
2
[/TD][TD]
Jim
[/TD][TD][/TD]
[TD]
1
[/TD][TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]
1
[/TD][/TR]
[TR]
[TD]
3
[/TD][TD]
Jane
[/TD][TD]
1
[/TD][TD][/TD]
[TD]
1
[/TD][TD][/TD]
[TD]
1
[/TD][TD]
3
[/TD][/TR]
[TR]
[TD]
4
[/TD][TD]
Joe
[/TD][TD][/TD]
[TD]
1
[/TD][TD]
1
[/TD][TD][/TD]
[TD][/TD]
[TD]
2
[/TD][/TR]
[TR]
[TD]
5
[/TD][TD]
Jack
[/TD][TD]
1
[/TD][TD][/TD]
[TD]
1
[/TD][TD]
1
[/TD][TD]
1
[/TD][TD]
4
[/TD][/TR]
</tbody>[/TABLE]
Results
[TABLE="class: grid"]
<tbody>[TR]
[TD][/TD]
[TD]
J
[/TD][/TR]
[TR]
[TD]
1
[/TD][TD]
List
[/TD][/TR]
[TR]
[TD]
2
[/TD][TD]
Jim
[/TD][/TR]
[TR]
[TD]
3
[/TD][TD]
Jane
[/TD][/TR]
[TR]
[TD]
4
[/TD][TD]
Jane
[/TD][/TR]
[TR]
[TD]
5
[/TD][TD]
Jane
[/TD][/TR]
[TR]
[TD]
6
[/TD][TD]
Joe
[/TD][/TR]
[TR]
[TD]
7
[/TD][TD]
Joe
[/TD][/TR]
[TR]
[TD]
8
[/TD][TD]
Jack
[/TD][/TR]
[TR]
[TD]
9
[/TD][TD]
Jack
[/TD][/TR]
[TR]
[TD]
10
[/TD][TD]
Jack
[/TD][/TR]
[TR]
[TD]
11
[/TD][TD]
Jack
[/TD][/TR]
</tbody>[/TABLE]