Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 4

USING COUNTIF AND SUM

S. No. Questions
Q. No.-1 How many people have their birthday before "31-12-1960"?
Q. No.-2 How many people belong to Dept. SNTI?
Q. No.-3 How many managers are there in total?
Q. No.-4 How many Managers are there in SNTI dept?
Q. No.-5 How many Officer(s) are there in ITS dept who earn more than 60000
Q. No.-6 How many Employees don't have any Last Name?

Q. No.-7 Find the Sum of Basics of all Emplyees from HRM Dept.
Q. No.-8 Find the Sum of Basics of all Officers.
Q. No.-9 Find the sum of Basics of all Managers.
Q. No.-10 Find the Sum of Basics of all employees whose Last Name is Chandra
Q. No.-11 Find the sum of Basics of Officers from ITS Dept.
Q. No.-12 Find the sum of Basics of Managers from LD3 Dept.
Q. No.-13 Find the Sum of Basics of all employees whose DOB is after 31-12-19
Q. No.-14 Count the number of Officers having salary > 6000
Q. No.-15 How many employees have Basics more than 5000.

FNAME LNAME EmplCode POSITION DEPT


Deepak Kumar BBSOLA Manager HRM
Motilal Sahoo BBMOLS Officer HRM
Rohit Kumar ABLOLA AsstMgr HRM
Rang Nath Dubey 129675 AsstMgr HRM
Mamta 508967 AsstMgr ITS
Suresh Prasad JO5756 Officer ITS
Manish NOA756 Manager ITS
Arun Mathur H45675 Officer ITS
Rakesh Kumar Ojha 500128 Head ITS
Somendu Sanyal G48756 Officer ITS
Harharan WB6785 Officer ITS
B. Srinivas Rao OA1298 Manager LD3
Gopal Chandra BBTOPS Manager LD3
Bachchan Sharma 178654 Officer LD3
Anjay Kumar OA1378 Officer LD3
Gopal Jha 104057 Officer LD3
Sarvesh Khanna 120356 Head SNTI
Karishma Kumari 110251 Officer SNTI
Lalit Kumar 405634 Manager SNTI
Srinivas Rao 122445 AsstMgr SNTI
Arun Kumar Singh 510298 Officer SNTI
Jitendra Pathak 110456 AsstMgr SNTI
Biswajit Narayan BBAERO Manager SNTI
IF AND SUMIF
Hints Practice Here
2-1960"? Use COUNTIF
Use COUNTIF
Use COUNTIF
Use COUNTIFS
more than 60000? Use COUNTIFS
Use COUNTBLANK

Use SUMIF
Use SUMIF
Use SUMIF
Name is Chandra. Use SUMIF
Use SUMIFS
Use SUMIFS
is after 31-12-1959. Use SUMIFS
Use COUNTIFS
Use COUNTIF

SECTION DOB BASIC


PAYROLL 8/4/1958 45300
ADMIN 12/5/1960 75500
PAYROLL 9/7/1963 35500
ADMIN 12/1/1965 38500
DATABASE SECURITY 3/12/1957 45300
PAYROLL 9/17/1957 65400
ADMIN 1/21/1960 51550
ADMIN 7/14/1960 38580
ADMIN 7/29/1962 49500
NETWORKING 10/9/1962 72500
DATABASE SECURITY 10/12/1963 65500
ADMIN 8/8/1955 58500
Elect. Maint. 8/14/1955 75800
Elect. Maint. 8/4/1957 73300
PAYROLL 3/9/1958 56000
Mech. Maint. 2/11/1962 44500
ADMIN 4/5/1958 67000
ITA 9/22/1958 52500
ITA 4/29/1960 48500
Mechanical 11/11/1960 45350
ADMIN 5/13/1961 76000
Electrical 8/21/1970 62550
Mechanical 9/15/1970 65500

You might also like