0% found this document useful (0 votes)
7 views8 pages

Hafsa Assignment1

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

Hafsa Assignment1

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

QUANTITATIVE AND

COMPUTATIONAL
REASONING
LAB REPORT 4

Submitted by: Hafsa Lariab


Roll Number: Num-BSMATH-2024-12
Task 1:
In the provided Excel sheet sales_data.xlsx (file provided), calculate the total sales for each
salesperson using the SUM formula. Then, find the average sales using the AVERAGE
formula, and use the IF statement to determine whether the sales exceeded $5000 (display
"Target Met" or "Target Not Met")
Solution:

1
Task 2:
Copy the IF formula you created in Task 1 for all salespersons to determine if they met
their sales target.
Solution:
Formula: =IF(H2:H44 > 5000, "Target Met", "Target Not Met")

2
3
Task 3:
Find the maximum, minimum, and standard deviation of the sales data using the
MAX,MIN, and STDEV functions.
Solution:

Task 4:
Create the following charts from the sales_data.xlsx:
1. A Bar Chart comparing the sales of each salesperson.

Sale_amt
120,000.00
100,000.00
80,000.00
60,000.00
40,000.00
20,000.00
-
r id n r n r n n r n id al id n n
n de av ve nde are nde are are nde ve av ig av ve ve
a D Ste xa K xa K K xa Ste D S D te te
lex le le le S S
A A A A

2. A Pie Chart showing the percentage of total sales for each salesperson.

Alexander
Sale_amt
ShelliLuis David Stephen
Alexander Steven Luis Michael Alexander
Sigal Diana Karen Alexander John
Alexander Sigal Alexander Karen Shelli
John Karen David John Alexander
1
4
0
2
1
0
3
5
2
6
0
3
29
2
3
0
5
2
7
8 Stephen Luis Steven Diana David
6
0
1
3
13
2
8
%
%
%
%%
%
%
% David Shelli Alexander Sigal Shelli
%
%%
%
Stephen David Stephen Michael Steven
Luis Luis Steven

4
3. A Line Chart to display the sales trend over a period (if time data is available).

Sale_amt
120,000.00
100,000.00
80,000.00
60,000.00
40,000.00
20,000.00
-
8 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9
6 /1 2/1 0/1 7/1 3/1 9/1 5/1 1/1 7/1 5/1 1/1 7/1 4/1 9/1 6/1 2/1
1/ 2/2 4/1 5/2 7/1 8/2 0/1 12/ 1/1 3/ 4/2 6/ 7/2 9/ 0/2 2/1
1 1 1

Task 5:
Add a title, axis labels, and data labels to the bar chart you created in Task 4.

Sales Comparison of Each


Salesperson
120,000.00
Sales Amount

80,000.00
40,000.00
-
l l
d er en ae ren ga hn der na der vid uis
n h h a S i Jo an Dia an Da L
p c
exa te Mi K
ex ex
S
Al Al Al
Sales Persons

Figure 1: Bar graph comparising Sales Amount vs Sales Persons

5
Additional Tasks:
1. Create a scatter plot from a new dataset that includes hours worked and sales
figures

Salesperson Hours Worked Sales Figures ($)

John 40 6,500
Sarah 35 4,200
Mike 42 5,800
Emma 30 3,500
Liam 45 7,200
Olivia 38 5,300
Noah 36 4,900
Ava 32 6,000
Ethan 44 8,100
Sophia 33 4,400

Sales Figures (Scatter Chart)


9,000
8,000
7,000
6,000
5,000
4,000
3,000
2,000
1,000
0
28 30 32 34 36 38 40 42 44 46

2. Explore advanced functions like VLOOKUP and COUNTIF in your dataset


VLOOKUP
=VLOOKUP("Liam", A2:C11, 3, FALSE) Solution: 7200

COUNTIF
=COUNTIF(B2:B11, ">40") Solution: 3

6
7

You might also like