Applications Programming --- Lab 2

Objective:

References:

Problem Description

An elementary school let its classroom teachers help to collect payment for the supplies needed by the class students.

In the input file of Lab 2, a list of supplies and their respective price is stored in worksheet named "Information" in the range of A1 to B11. And in the same worksheet, in the range of D2 to F9, each row shows a class with its classroom's teacher's name, its grade and the number of students in this class.

In the worksheet named "Orders", there are two tables showing two order lists. The first table is for orders of the supplies that each student in each class must have. Row 2 shows these must have item's product name. And row 3 shows the number of the supplies needed by each student. Column A of this table shows the classroom teachers' names.

The second table in the "Orders" worksheet shows a list orders of extra supplies made by students. Each row stores an order. Each order shows the name of the student who made this order, the name of the student's classroom teacher, the name of the product ordered, and the number of the product ordered.

Note that the data shown in the input file is only a sample collection to show you the format of the data. You should assume that there are way more data in these two worksheets, especially in the Optional Order list.

Your tasks

In your formula, if possible, you MUST always use cell references instead of literal values. Pay attention to the cell reference type, so that copy/pasted formula always give you the right result.

There is a weekly assignment 2 following this lab.