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

Assignment 10 Mine

Uploaded by

uid26879
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Assignment 10 Mine

Uploaded by

uid26879
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

ASSIGNMENT-10

❖ PROBLEM STATEMENT:
Create an Employee Records worksheet and insert data in it as shown below:

LAST FIRST DATE OF YEARS OF


ID DEPERTMENT
NAME NAME JOINING EXPERIENCE
108 SMITH JOE SALES 03-05-2010
110 PAL BANI IT 09-10-2021
190 BASU SOUMYA HR 08-03-2020
201 SEN SURJYO IT 07-07-2015
205 MISHRA RAJA IT 08-04-2023
210 DAVIS JOE HR 06-06-2019

Find the following:

1. Using appropriate formula find the years of experience of each employee.

2. Highlight the cell that stores the maximum years of experience.

3. Using lookup functions find the following.

a. First name of the employee whose record is at the second position.

b. Date of joining of Raja.

c. Department of Smith.

d. ID of the employee whose record is at last.

❖ SOLUTIONS:
SOLUTIONS: 1. The required worksheet containing the years of experience of each employee:

LAST FIRST DATE OF YEARS OF


ID DEPERTMENT
NAME NAME JOINING EXPERIENCE
108 SMITH JOE SALES 03-05-2010 14
110 PAL BANI IT 09-10-2021 3
190 BASU SOUMYA HR 08-03-2020 4
201 SEN SURJYO IT 07-07-2015 9
205 MISHRA RAJA IT 08-04-2023 1
210 DAVIS JOE HR 06-06-2019 5

• To calculate the years of experience(F2): =DATEDIF(E2,TODAY(),"Y")

2. Highlight the cell storing the maximum years of experience:

LAST FIRST DATE OF YEARS OF


ID DEPERTMENT
NAME NAME JOINING EXPERIENCE
108 SMITH JOE SALES 03-05-2010 14
110 PAL BANI IT 09-10-2021 3
190 BASU SOUMYA HR 08-03-2020 4
201 SEN SURJYO IT 07-07-2015 9
205 MISHRA RAJA IT 08-04-2023 1
210 DAVIS JOE HR 06-06-2019 5

• To highlight the cell storing the maximum years of experience: Go to Home tab
→ Conditional Formatting → New Rule → Select “Use a formula to determine
which cells to format” → Enter the formula: =F2=MAX($F$2:$F$7) → Set a format
→ Click OK.
3. a. First name of the employee whose record is at the second position:

FIRST NAME OF THE EMPLOYEE WHOSE RECORD IS AT THE SECOND POSITION


BANI

• Formula of First name of the employee whose record is at the second position:
=INDEX(C2:C7,2)

b. Date of joining of RAJA:

DATE OF JOINING OF RAJA


08-04-2023

• Formula of Date of joining of RAJA: =VLOOKUP("RAJA",C1:E7,3,FALSE)

c. Department of SMITH:

DEPERTMENT OF SMITH
SALES
• Formula of Department of SMITH: =VLOOKUP("SMITH",B2:D7,3,FALSE)

d. ID of the employee whose record is at last:

ID OF THE EMPLOYEE WHOSE RECORD IS LAST


210

• Formula of ID of the employee whose record is at last: =INDEX(A2:A7,COUNTA(A2:A7))

You might also like