0% found this document useful (0 votes)
25 views17 pages

Extra Class-2

The document contains a performance summary of employees, including their sales, regions, and scores, along with various Excel formulas for data analysis. It also includes questions regarding the performance metrics and answers derived from the data. Additionally, it outlines key functions and their syntax used for data manipulation and analysis in Excel.

Uploaded by

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

Extra Class-2

The document contains a performance summary of employees, including their sales, regions, and scores, along with various Excel formulas for data analysis. It also includes questions regarding the performance metrics and answers derived from the data. Additionally, it outlines key functions and their syntax used for data manipulation and analysis in Excel.

Uploaded by

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

Performance

Employee Sales Region Score 1. How


colum
John 200 East 85 2. How
Sarah 150 West 90 3. How
Mike Apple North 75 300?
Emma 300 South 65 4. How
Liam East 60 5. How
Noah 500 West 95 6. Wri
Ava Banana North 50 betwe
Sophia 600 South 70 7. Find
James East 30 Score
Oliver 800 West 88

SOLUTION
1. =COUNT(SalesRange)
2. =COUNTA(RegionRange) Numeric Sales
3. =COUNTIF(SalesRange, ">300")
4. =COUNTIF(RegionRange, "East") (COUNT)
5. =COUNTBLANK(SalesRange)
6. =COUNTIFS(SalesRange, ">200", SalesRange, "<600")
7. =COUNTIFS(RegionRange, "West", PerformanceRange, ">80")
QUESTIONS
1. How many numeric values are present in the Sales
column?
2. How many employees have a recorded Region?
3. How many employees have a Sales value greater than
300?
4. How many employees belong to the East region?
5. How many employees have missing Sales data?
6. Write a formula to count all employees whose Sales are
between 200 and 600.
7. Find out how many employees have a Performance
Score above 80 and belong to the West region.

ANSWER
Recorded
Sales > 300 East Region Missing Sales Sales 200-600
Region
(COUNTIF) (COUNTIF) (COUNTBLANK) (COUNTIFS)
(COUNTA)
Score > 80 & West
(COUNTIFS)
Student Name Score Comment %
Brian 274
Christian 280 QUESTION-1
Laura 237 Score Comment
Melissa 210 Over 249 Excellent
Mike 186 >=200 Good
Neal 240 >=150 Satisfactory
Peter 90 <150 Poor
Rachel 287
QUESTION-2
Score %
0-100 5%
101-200 10%
Over 200 15%
Summary of Key Functions Used
VLOOKUP Searches vertically for a value in the first column and
returns data from another column.
HLOOKUP Searches horizontally for a value in the first row and
returns data from a specified row.
INDEX Returns the value at a specific row and column in a range.
MATCH Returns the position of a value in a row or column.
INDEX + MATCH A powerful alternative to VLOOKUP for dynamic
lookups.

FUNCTION SYNTAX
1. =VLOOKUP("Emma",Table4[[Name]:[Region]],3,0)
2. =HLOOKUP("HR",Q5:T7,2,0)
3. =VLOOKUP(103,Table4,2,0) / =HLOOKUP(103,Q3:T4,2)
4. =INDEX(Table4[Name],2)
5. =MATCH("Mike",Table4[Name],0)
6. =INDEX(Table4[Region],MATCH(104,Table4[Employee ID],0))
7.=INDEX(J20:L29,MATCH("Michael",L20:L29,0),MATCH("Sales",J19:
L19,0)) / =INDEX(K20:K30,MATCH("Michael",L20:L30,0))
8. =INDEX(K20:K30,MATCH(TRUE,EXACT("MICHAEL",L20:L30),0))
Employee ID Name Department Salary Region
101 John Sales 50000 East
102 Sarah HR 60000 West
103 Mike IT 70000 North
104 Emma Finance 80000 South

Question Answer
1. Find the Salary of Emma.
2. Find the salary of the
employee in the "HR"
department.
3. Find the name of the
employee with ID 103.
4. Find the name of the 2nd
employee.
5. Find the row number of
"Mike".
6.Find the employee name
of IT department.

Store Sales Manager Q1. What is the sale of Michael?


1 679 John FALSE
Michael's
2 568 Jenny FALSE Sales
3 534 Mark FALSE
4 679 Jim FALSE
5 757 Michael FALSE
6 798 Hannah FALSE
7 544 Kane FALSE
8 751 Alan FALSE
9 598 Angela FALSE
10 571 Chris FALSE
11 800 MICHAEL TRUE
Employee ID 101 102 103 104
Name John Sarah Mike Emma
Department Sales HR IT Finance
Salary 50000 60000 70000 80000
Region East West North South

the sale of Michael?


Expense

% Change = (Present-Previous)/Previous
Month Amount % Change
January $ 6,126 N/A
February 5,728
March 6,218
April 4,371
May 1,435
June 4,690
July 8,057
August 1,501
September 5,677
October 8,431
November 5,451
December 8,681

Total $ 66,366 =SUM(B4:B15)


Average $ 5,531 =AVERAGE(B4:B15)
Highest Expense $ 8,681 =MAX(B4:B15)
Lowest Expense $ 1,435 =MIN(B4:B15)
Highest Month
Least Month
us)/Previous
Obtained Marks 0.00
Let's go for the following:

Q1. What is the average marks of CT for each student?


Q2. What is the maximum marks of CT for each student?
Q3. What is the minimum marks of CT for each student?
Q4. What is the average of best 2 of CT for each student?
Q5. What is the average of least 2 of CT for each student?
Q6. What is the highest marks of the class in CT 1?
Q7. What is the highest average mark in the class?
Q1 Q2 Q3 Q4

CT1 CT 2 CT 3 AVERAGE MAX MIN Average of Best 2

10.00 12.00 0.00


12.00 12.00 12.00
9.25 14.00 15.00
9.50 0.00 0.00
13.00 14.00 15.00
0.00 0.00 0.00
11.50 0.00 15.00
10.27 12.00 13.00
0.00 0.00 0.00
9.00 12.00 0.00
13.50 15.00 0.00
5.50 15.00 0.00
12.50 15.00 15.00
10.90 15.00 14.00
12.50 15.00 15.00
10.00 13.00 15.00
14.00 13.00 14.00
10.00 14.00 15.00
Questions
Marks

Marks Obtained

Q5 Q6 Q7
Highest Highest
Avergae of Less 2 mark average
in CT 1 Mark
1 2 3 4 5 6 7
2 2 2 2 2 2 2

0.00 0.00 0.00 0.00 0.00 0.00 0.00


0.00 Total 0.00
Product Name Units Sold Unit Price Inventory Level
Product X 200 10 150
Product Y 150 15 80
Product Z 300 12 200
Product W 100 20 50

Solution:
Task 1: Arithmetic Functions
Revenue:
Product X: =200 * 10.00 = 2000
Product Y: =150 * 15.00 = 2250
Product Z: =300 * 12.00 = 3600
Product W: =100 * 20.00 = 2000
Total Revenue:
=SUM(D2:D5) = 2000 + 2250 + 3600 + 2000 = 9850
Average Revenue:
=AVERAGE(D2:D5) = (2000 + 2250 + 3600 + 2000) / 4 = 2462.5
Maximum Revenue:
=MAX(D2:D5) = 3600
Minimum Revenue:
=MIN(D2:D5) = 2000
Task 2: Date & Time Functions
Days Until Restock for Product X:
=G2 - TODAY() (assuming TODAY() = 03/15/2025) → =01/10/2025 - 03/15/2025 = 300 days
Year from Stock Replenishment Date:
=YEAR(G2) → =YEAR(01/10/2025) = 2025
Month from Stock Replenishment Date:
=MONTH(G2) → =MONTH(01/10/2025) = 1
Day of the Week for Restock:
=TEXT(G2, "dddd") → "Saturday"
Days Between Ship Date and Restock:
=DATEDIF(TODAY(), G2, "d") → =DATEDIF(03/15/2025, 01/10/2025, "d") = 300 days
Task 3: Data Manipulation
Paste Special:
Copy the values from the Revenue column and paste them as values only in a new location.
Transpose Product Names:
Use =TRANSPOSE(A2:A5) to transpose product names from rows to columns.
Sort by Revenue:
Use Sort to arrange products in descending order of revenue.
Task 4: Conditional Functions
Categorize Products as High or Low Revenue:
=IF(D2 > 2000, "High Revenue", "Low Revenue")
High Revenue and High Profit:
=IF(AND(D2 > 2000, H2 > 150), "Yes", "No")
High Revenue or High Profit:
=IF(OR(D2 > 2000, H2 > 150), "Yes", "No")
Total Revenue for Products > $2000:
=SUMIF(D2:D5, ">2000") → =2250 + 3600 = 5850
Average Profit for Products > $2000 in Revenue:
=AVERAGEIF(D2:D5, ">2000", H2:H5) → (200 + 250) / 2 = 225
=IF(OR(D2 > 2000, H2 > 150), "Yes", "No")
Total Revenue for Products > $2000:
=SUMIF(D2:D5, ">2000") → =2250 + 3600 = 5850
Average Profit for Products > $2000 in Revenue:
=AVERAGEIF(D2:D5, ">2000", H2:H5) → (200 + 250) / 2 = 225
Stock Replenishment Date Sales Region Profit
45667 North 120
45693 South 200
45708 East 250
45717 West 150

0 = 9850
+ 2000) / 4 = 2462.5

/2025) → =01/10/2025 - 03/15/2025 = 300 days

03/15/2025, 01/10/2025, "d") = 300 days

n and paste them as values only in a new location.


duct names from rows to columns.
g order of revenue.
nue:
enue")
")

= 5850
venue:
200 + 250) / 2 = 225
= 5850
venue:
200 + 250) / 2 = 225

You might also like