Hello, I've been trying to figure this out on my own and had no luck. What I'm trying to do is sum up # of rows that match across three parameters - Course, Unit, and Activity #s.
I have two sheets with this information:
Sheet 1: Sections
[TABLE="width: 1475"]
<tbody>[TR]
[TD]Document No.[/TD]
[TD]Course[/TD]
[TD]Course Name[/TD]
[TD]Unit[/TD]
[TD]Unit Name[/TD]
[TD]Activity[/TD]
[TD]Activity Name[/TD]
[TD]Section[/TD]
[TD]Section Name[/TD]
[/TR]
[TR]
[TD]T1U1.A1.S1[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]1[/TD]
[TD]Dealing with Dilemmas[/TD]
[TD]1[/TD]
[TD]Business Dilemmas[/TD]
[/TR]
[TR]
[TD]T1U1.A1.S2[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]1[/TD]
[TD]Dealing with Dilemmas[/TD]
[TD]2[/TD]
[TD]Dealing with Dilemmas[/TD]
[/TR]
[TR]
[TD]T1U1.A1.S3[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]1[/TD]
[TD]Dealing with Dilemmas[/TD]
[TD]3[/TD]
[TD]Dealing with Business Dilemma[/TD]
[/TR]
[TR]
[TD]T1U1.A1.S4[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]1[/TD]
[TD]Dealing with Dilemmas[/TD]
[TD]4[/TD]
[TD]Asking for Advice[/TD]
[/TR]
[TR]
[TD]T1U1.A1.S5[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]1[/TD]
[TD]Dealing with Dilemmas[/TD]
[TD]5[/TD]
[TD]Core Values[/TD]
[/TR]
[TR]
[TD]T1U1.A1.S6[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]1[/TD]
[TD]Dealing with Dilemmas[/TD]
[TD]6[/TD]
[TD]Problems and Solutions[/TD]
[/TR]
[TR]
[TD]T1U1.A1[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]1[/TD]
[TD]Dealing with Dilemmas[/TD]
[TD]
[/TD]
[TD]-[/TD]
[/TR]
[TR]
[TD]T1U1.A2.S1[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]2[/TD]
[TD]Problem Solving[/TD]
[TD]1[/TD]
[TD]Common Problems at Work[/TD]
[/TR]
[TR]
[TD]T1U1.A2.S2[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]2[/TD]
[TD]Problem Solving[/TD]
[TD]2[/TD]
[TD]Problems in Companies[/TD]
[/TR]
[TR]
[TD]T1U1.A2.S3[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]2[/TD]
[TD]Problem Solving[/TD]
[TD]3[/TD]
[TD]Problem Solving[/TD]
[/TR]
[TR]
[TD]T1U1.A2.S4[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]2[/TD]
[TD]Problem Solving[/TD]
[TD]4[/TD]
[TD]Commonly Confused Words[/TD]
[/TR]
[TR]
[TD]T1U1.A2.S5[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]2[/TD]
[TD]Problem Solving[/TD]
[TD]5[/TD]
[TD]Describing Problems and Solutions[/TD]
[/TR]
[TR]
[TD]T1U1.A2.S6[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]2[/TD]
[TD]Problem Solving[/TD]
[TD]6[/TD]
[TD]Identifiying and Solving Problems[/TD]
[/TR]
[TR]
[TD]T1U1.A2.S7[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]2[/TD]
[TD]Problem Solving[/TD]
[TD]7[/TD]
[TD]Expressing Necessity[/TD]
[/TR]
[TR]
[TD]T1U1.A2.S8[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]2[/TD]
[TD]Problem Solving[/TD]
[TD]8[/TD]
[TD]Making Suggestions[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 2: Activities
[TABLE="width: 1091"]
<tbody>[TR]
[TD]Document No.[/TD]
[TD]Course[/TD]
[TD]Course Name[/TD]
[TD]Unit[/TD]
[TD]Unit Name[/TD]
[TD]Activity[/TD]
[TD]Activity Name[/TD]
[TD]# of Sections[/TD]
[/TR]
[TR]
[TD]T1U1.A1[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]1[/TD]
[TD]Dealing with Dilemmas[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]T1U1.A2[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]2[/TD]
[TD]Problem Solving[/TD]
[TD]-[/TD]
[/TR]
[TR]
[TD]T1U2.A1[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]2[/TD]
[TD]Business Plans and Processes[/TD]
[TD]1[/TD]
[TD]Adapting to an Evolving Business[/TD]
[TD]-[/TD]
[/TR]
[TR]
[TD]T1U2.A2[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]2[/TD]
[TD]Business Plans and Processes[/TD]
[TD]2[/TD]
[TD]Making Business Plans[/TD]
[TD]-[/TD]
[/TR]
[TR]
[TD]T1U3.A1[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]3[/TD]
[TD]Improving Business Performance[/TD]
[TD]1[/TD]
[TD]Analyzing a Company's Organization[/TD]
[TD]-[/TD]
[/TR]
</tbody>[/TABLE]
In both sheets, Document No. is concatenated from Course, Unit, and Activity columns.
What I'm trying to do is count the # of sections in each activity, which is the number of rows in sheet 1 that match the Course/Unit/Activity #s in Sheet 2.
There are lot of sections (1000+ rows) and a lot of activities (100+) that they belong to, so I'd rather not select the rows using ROWs function manually.
Is there a combination of functions that could do this automatically? I've been searching across Forums reading about SUMPRODUCT, ROW, ROWS, IF and COUNTIF functions, but not able to find a solution that works. To me it seems so simple, but I just can't figure out the right code to compare the two sheets.
Down the line, I also would like to populate Sections sheet (Sheet 1) with Course Name, Unit Name and Activity Name automatically from Activities Sheet (Sheet 2). I think I would need to do a complex VLOOKUP code, but again, how do I refer to multiple matching cells, so that all three values in the same row match (Course #, Unit #, and Activity#)?
Thank you in advance for you help!
I have two sheets with this information:
Sheet 1: Sections
[TABLE="width: 1475"]
<tbody>[TR]
[TD]Document No.[/TD]
[TD]Course[/TD]
[TD]Course Name[/TD]
[TD]Unit[/TD]
[TD]Unit Name[/TD]
[TD]Activity[/TD]
[TD]Activity Name[/TD]
[TD]Section[/TD]
[TD]Section Name[/TD]
[/TR]
[TR]
[TD]T1U1.A1.S1[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]1[/TD]
[TD]Dealing with Dilemmas[/TD]
[TD]1[/TD]
[TD]Business Dilemmas[/TD]
[/TR]
[TR]
[TD]T1U1.A1.S2[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]1[/TD]
[TD]Dealing with Dilemmas[/TD]
[TD]2[/TD]
[TD]Dealing with Dilemmas[/TD]
[/TR]
[TR]
[TD]T1U1.A1.S3[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]1[/TD]
[TD]Dealing with Dilemmas[/TD]
[TD]3[/TD]
[TD]Dealing with Business Dilemma[/TD]
[/TR]
[TR]
[TD]T1U1.A1.S4[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]1[/TD]
[TD]Dealing with Dilemmas[/TD]
[TD]4[/TD]
[TD]Asking for Advice[/TD]
[/TR]
[TR]
[TD]T1U1.A1.S5[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]1[/TD]
[TD]Dealing with Dilemmas[/TD]
[TD]5[/TD]
[TD]Core Values[/TD]
[/TR]
[TR]
[TD]T1U1.A1.S6[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]1[/TD]
[TD]Dealing with Dilemmas[/TD]
[TD]6[/TD]
[TD]Problems and Solutions[/TD]
[/TR]
[TR]
[TD]T1U1.A1[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]1[/TD]
[TD]Dealing with Dilemmas[/TD]
[TD]
[/TD]
[TD]-[/TD]
[/TR]
[TR]
[TD]T1U1.A2.S1[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]2[/TD]
[TD]Problem Solving[/TD]
[TD]1[/TD]
[TD]Common Problems at Work[/TD]
[/TR]
[TR]
[TD]T1U1.A2.S2[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]2[/TD]
[TD]Problem Solving[/TD]
[TD]2[/TD]
[TD]Problems in Companies[/TD]
[/TR]
[TR]
[TD]T1U1.A2.S3[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]2[/TD]
[TD]Problem Solving[/TD]
[TD]3[/TD]
[TD]Problem Solving[/TD]
[/TR]
[TR]
[TD]T1U1.A2.S4[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]2[/TD]
[TD]Problem Solving[/TD]
[TD]4[/TD]
[TD]Commonly Confused Words[/TD]
[/TR]
[TR]
[TD]T1U1.A2.S5[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]2[/TD]
[TD]Problem Solving[/TD]
[TD]5[/TD]
[TD]Describing Problems and Solutions[/TD]
[/TR]
[TR]
[TD]T1U1.A2.S6[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]2[/TD]
[TD]Problem Solving[/TD]
[TD]6[/TD]
[TD]Identifiying and Solving Problems[/TD]
[/TR]
[TR]
[TD]T1U1.A2.S7[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]2[/TD]
[TD]Problem Solving[/TD]
[TD]7[/TD]
[TD]Expressing Necessity[/TD]
[/TR]
[TR]
[TD]T1U1.A2.S8[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]2[/TD]
[TD]Problem Solving[/TD]
[TD]8[/TD]
[TD]Making Suggestions[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 2: Activities
[TABLE="width: 1091"]
<tbody>[TR]
[TD]Document No.[/TD]
[TD]Course[/TD]
[TD]Course Name[/TD]
[TD]Unit[/TD]
[TD]Unit Name[/TD]
[TD]Activity[/TD]
[TD]Activity Name[/TD]
[TD]# of Sections[/TD]
[/TR]
[TR]
[TD]T1U1.A1[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]1[/TD]
[TD]Dealing with Dilemmas[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]T1U1.A2[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]1[/TD]
[TD]Responding to Problems[/TD]
[TD]2[/TD]
[TD]Problem Solving[/TD]
[TD]-[/TD]
[/TR]
[TR]
[TD]T1U2.A1[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]2[/TD]
[TD]Business Plans and Processes[/TD]
[TD]1[/TD]
[TD]Adapting to an Evolving Business[/TD]
[TD]-[/TD]
[/TR]
[TR]
[TD]T1U2.A2[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]2[/TD]
[TD]Business Plans and Processes[/TD]
[TD]2[/TD]
[TD]Making Business Plans[/TD]
[TD]-[/TD]
[/TR]
[TR]
[TD]T1U3.A1[/TD]
[TD]1[/TD]
[TD]Managing People and Projects[/TD]
[TD]3[/TD]
[TD]Improving Business Performance[/TD]
[TD]1[/TD]
[TD]Analyzing a Company's Organization[/TD]
[TD]-[/TD]
[/TR]
</tbody>[/TABLE]
In both sheets, Document No. is concatenated from Course, Unit, and Activity columns.
What I'm trying to do is count the # of sections in each activity, which is the number of rows in sheet 1 that match the Course/Unit/Activity #s in Sheet 2.
There are lot of sections (1000+ rows) and a lot of activities (100+) that they belong to, so I'd rather not select the rows using ROWs function manually.
Is there a combination of functions that could do this automatically? I've been searching across Forums reading about SUMPRODUCT, ROW, ROWS, IF and COUNTIF functions, but not able to find a solution that works. To me it seems so simple, but I just can't figure out the right code to compare the two sheets.
Down the line, I also would like to populate Sections sheet (Sheet 1) with Course Name, Unit Name and Activity Name automatically from Activities Sheet (Sheet 2). I think I would need to do a complex VLOOKUP code, but again, how do I refer to multiple matching cells, so that all three values in the same row match (Course #, Unit #, and Activity#)?
Thank you in advance for you help!