0% found this document useful (0 votes)
7 views

Assignment Lab 3

The document outlines a series of lab tasks focused on using Microsoft Excel for various applications, including creating sales invoices, calculating student grades, and analyzing class demographics. It provides detailed steps for formatting tables, applying formulas, and generating charts. Additionally, it includes a vacation budget report and explanations of Excel features like conditional formatting and text separation.

Uploaded by

The Prediators
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Assignment Lab 3

The document outlines a series of lab tasks focused on using Microsoft Excel for various applications, including creating sales invoices, calculating student grades, and analyzing class demographics. It provides detailed steps for formatting tables, applying formulas, and generating charts. Additionally, it includes a vacation budget report and explanations of Excel features like conditional formatting and text separation.

Uploaded by

The Prediators
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

ASSIGNMENT TITLE: LAB 3

FROM: HAMZA RIAZ


REGISTRATION NUMBER: 127
SECTION: C
SUBJECT: APPLICATION OF INFORMATION AND
COMMUNICATION TECHNOLOGY
TO: SIR DR. MOHSIN FAYYAZ
LAB TASK 1

Use the template and create your own invoice for purchased products. You
can sell any product at any price, but you must include General sales tax,
discount percentages and at least four items in your invoice. Do all formulas
required. Format the invoice for clarity.

Sales Invoice Creation Report

Step 1: Creating the Table Structure

• Open Microsoft Excel and start a new worksheet.


• In the first row, add a bold and large title: 'Sales Invoice'.
• Below the title, create a table with the following columns: Item, Quantity, List Price,
Discount, Your Price, and Total.
• Format the header row with a background color for clear visibility.

Step 2: Entering Data:

• Input the product names (e.g., Lays, Pepsi, Kitkat, Biscuits) in the Item column.
• Fill in Quantity, List Price, and Discount columns for each item.
• Calculate 'Your Price' using the formula: =List Price - Discount.
• Calculate 'Total' for each item using the formula: =Quantity * Your Price.

Step 3: Calculating Subtotal, GST, and Amount Due

• Below the table, add a row for 'Subtotal' and use the formula =SUM(Total Column).
• Add a row for 'GST (17% of Subtotal)' with the formula =Subtotal * 0.17.
• Add 'Amount Due' row and calculate it with =Subtotal + GST.

Step 4: Formatting the Invoice:

• Adjust cell sizes to make everything look neat.


• Add borders to the table and align data properly.
• Use bold text for headers, subtotal, GST, and amount due.
• Ensure the final look matches the provided example.
LAB TASK 2

Recreate the table shown below. Determine the average for each student’s
final grade. Alphabetize the list. Using the IF statements, calculate the letter
grade for each student whereby anything over 90 is an A, 80 is a B, 70 is a C, 60
is a D and anything lower is an F. Chart the final grades in a bar chart.

Creating a Bar Chart in Excel:

Step 1: Enter Data in Excel


• Open Microsoft Excel.
• Enter your data properly in rows and columns. For example, in our case:

• Column A: Student Names

• Columns B, C, D: Exam scores

• Column E: Final Average (calculated as an average of the exams)

• Column F: Final Grade (can be assigned based on ranges)


Step 2: Apply Formulas (Optional)
• To calculate the final average for each student, use this formula in cell E3:

• =AVERAGE(B3:D3)

• Drag the formula down to apply it to all students.


• For letter grades, you can use an IF formula like this in F3:

• =IF(E3>=90,"A",IF(E3>=80,"B",IF(E3>=70,"C",IF(E3>=60,"D","F"))))

• Drag the formula down to fill all rows.


Step 3: Select Data for the Bar Chart
• Highlight the data you want to include in the chart. For example:

• Select Column A (Names) and Column E (Final Scores).


Step 4: Insert the Bar Chart
• Go to the Insert tab.
• In the Charts group, select Bar Chart (Clustered Bar or any style you prefer).
• Your chart will appear on the sheet.
Step 5: Customize the Chart
• Click on the chart to select it.
• Use the Chart Design and Format tabs to style the chart.

• Change the chart title.

• Add data labels.

• Adjust axis labels.

• Choose a color theme or layout.


Step 6: Move or Resize the Chart
• Click and drag the chart to move it to a better spot.
• Use the corners to resize the chart if needed.
LAB TASK 3
Class Make-up Create a chart for each:
• There are 28 students in the class. 10 are freshmen, 8 sophomores, 4
juniors, and 1 senior. 5 people did not answer the question.
• There are 11 men and 17 women – do a pie chart for this.
• If only 23 of the students did the homework assignment, what percent
of the class is that? Another pie chart.

Class Breakdown by Year:


Step 1: Data Entry in Excel
1. Open Excel.
2. In Column A, type the headings and data

Step 2: Create Pie Chart


1. Select all data (both columns).
2. Go to Insert tab → Pie Chart → 2D Pie.
3. Add a Chart Title: "Class Breakdown by Year."
4. Right-click on slices → Add Data Labels to show numbers.
5. Customize colors if needed.
Gender Breakdown:
Step 1: Data Entry in Excel
1. In a new section (below or beside Chart 1 data), type:
Step 2: Create Pie Chart
1. Select this new data.
2. Go to Insert → Pie Chart → 2D Pie.
3. Add Chart Title: "Gender Breakdown."
4. Add Data Labels again.
5. Color tweak: Use blue for Men, pink/purple for Women (or any color you prefer).

Homework Completion:
Step 1: Data Entry in Excel
1. In a new section again, type data:
Step 2: Create Pie Chart
1. Select this data.
2. Go to Insert → Pie Chart → 2D Pie.
3. Add Chart Title: "Homework Completion."
4. Add Data Labels for clarity.
5. Customize colors (green for "Did Homework," red for "Did Not").
LAB TASK 4
Vacation Budget
Before you create the worksheet in Excel, explain where you want to go and
what kind of activities you would like to do while you are there in a Word
Document. What is your proposed budget? Set up your worksheet for
transportation costs (airfare, car rental, trains, etc.), accommodations, food,
sightseeing and shopping. Include any other activities you might enjoy.
Include a 10% contingency plan for emergencies.

Vacation Budget Report:


Destination: Dubai
Planned Activities:

• Visit Burj Khalifa

• Desert Safari

• Shopping at Dubai Mall

• Beach Relaxation

• Dhow Cruise Dinner

Proposed Budget Breakdown:

Expense Category Estimated Cost (PKR)

Airfare 150,000
Accommodation 100,000
Food 50,000
Transportation 30,000
Sightseeing & Tours 40,000
Shopping 60,000
Miscellaneous 20,000
Subtotal 450,000
Contingency (10%) 45,000
Total Budget 495,000
Contingency Plan:
10% of the total budget is reserved for emergencies or unexpected expenses.
Solved Lab Activities
Activity 1:

Conditional Formatting:
Conditional Formatting in MS Excel allows users to format cells based on specific
conditions. This feature is useful for highlighting important data, identifying trends, and making
spreadsheets more visually informative.

Steps to Apply Conditional Formatting:


Select the Data:
• Click and drag to select the range of cells where you want to apply conditional formatting.

Open Conditional Formatting Menu:


• Go to the "Home" tab on the ribbon.

• Click on "Conditional Formatting" in the Styles group.

Choose a Formatting Rule:


• Select from options like "Highlight Cells Rules," "Top/Bottom Rules," "Data Bars," "Color
Scales," or "Icon Sets."

• For example, if you want to highlight cells with values greater than 1000:

o Click "Highlight Cells Rules" → "Greater Than…"

o Enter 1000 in the value box.

o Choose a formatting style (e.g., red fill).

Customize the Rule (Optional):


• Click "More Rules" to create a custom condition, like using a formula for advanced
formatting.

Apply the Formatting:


• Click "OK" to apply the conditional formatting to the selected cells.

Edit or Remove Formatting (If Needed):


• Go back to "Conditional Formatting" → "Manage Rules" to modify or delete any applied
rules.
Types of Conditional Formatting in Excel:
Highlight Cells Rules:
Greater Than:
Highlights cells with values greater than a specific number.
Less Than:

Highlights cells with values less than a specific number.

Between:

Highlights cells with values within a specific range.

Equal To:

Highlights cells that match a specific value.


Text That Contains:

Highlights cells that contain a specific word or phrase.

Duplicate Values:

Highlights duplicate entries in a selected range.

Top/Bottom Rules:

These rules highlight the highest or lowest values in a range, including the top/bottom N items,
top/bottom percentages, and values above or below the average.
Activity 2 :
Separating Text within a Cell in Excel:
When working with large datasets, sometimes a single cell contains multiple pieces of information
that need to be separated into different columns. This can be done using Text to Columns or Excel
formulas.

Steps to Use Text to Columns:


1. Select the column that contains the text you want to separate.

2. Go to the Data tab and click on Text to Columns.

3. Choose Delimited if the text is separated by commas, spaces, or other characters.

4. Click Next, select the delimiter (e.g., comma, space, or custom character).

5. Click Next, choose the column format, and select the destination where the split data
should appear.

6. Click Finish, and Excel will split the text into separate columns.
Activity 3:
Use of Functions and Formulas in Excel:
Microsoft Excel provides a wide range of functions and formulas to perform calculations and data
analysis efficiently. Formulas allow users to perform mathematical, logical, and statistical
operations, while functions are predefined formulas that simplify complex calculations.

1. SUM() Function

The SUM() function is used to add multiple numeric values.

2. AVERAGE() Function

The AVERAGE() function calculates the mean (average) of a given set of numbers.

3. MAX() and MIN() Functions

These functions are used to find the highest and lowest values from a dataset.

• MAX() returns the largest value.

• MIN() returns the smallest value.

4. IF() Function

The IF() function applies a logical condition and returns different values based on whether the
condition is TRUE or FALSE.

Steps to Apply Formulas in Excel:


Calculate Total Cost (PKR)
• Click on D2 and enter the formula:
• Press Enter and drag down to apply to all rows.
Calculate Grand Total (Sum of Total Cost):
• Click on D7 and enter:
• =SUM(D2:D6)
• This gives the total cost of all products.
Find the Highest Price (MAX Function):

• Click on an empty cell and enter:


• =MAX(B2:B6)
• This will return the highest price among the products.

Find the Lowest Price (MIN Function):


• Click on another empty cell and enter:
• =MIN(B2:B6)
• This will return the lowest price.
Calculate Average Price of Products:

• Click on an empty cell and enter:


• =AVERAGE(B2:B6)
• This calculates the average price.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy