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

S1. Work With Basic and Advanced Functions in Excel

This document provides examples and explanations of various Excel functions organized into categories including string, date time, logical, lookup and reference, statistical, and database functions. It includes examples of using functions to extract name parts, calculate time differences, use logical operators, lookup values, summarize data, and extract values from a database based on criteria. Users are prompted to write Excel functions to complete examples in each category testing their understanding of how to use the various functions.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

S1. Work With Basic and Advanced Functions in Excel

This document provides examples and explanations of various Excel functions organized into categories including string, date time, logical, lookup and reference, statistical, and database functions. It includes examples of using functions to extract name parts, calculate time differences, use logical operators, lookup values, summarize data, and extract values from a database based on criteria. Users are prompted to write Excel functions to complete examples in each category testing their understanding of how to use the various functions.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

WORK WITH BASIC AND

ADVANCED FUNCTIONS IN EXCEL


String functions

• LEFT, RIGHT, MID,


• FIND, LEN, SUBSTITUTE
Example: Please write the functions extracting your first name, middle name, last name and the
length of your full name
Datetime functions • DATE, DAY, MONTH, YEAR, HOUR, MINUTE, SECOND
• DATEDIF, TODAY, NOW
Example: Please write the functions to calculate
1) How many days from 1/1/2022 to 19/8/2022?
2) How many minutes since the beginning of today?
Logical functions

• AND, OR, NOT


• IF
Example: Please explain the result
of the functions in address A6 and
A7
Lookup and reference functions

• VLOOKUP
• HLOOKUP
• MATCH

Example: Please write the functions


to find
1) Return the first name of ID 101
2) Check if the last name of ID
104 is Sousa or not
3) Return the position of ID 105
in column A
Statistical functions

• SUM, MAX, MIN, STDEV.S, VAR.S, AVERAGE


• COUNT, COUNTBLANK, COUNTA
• SUMIF, COUNTIF, AVERAGEIF
Example: Please write the functions to make a
summary statistics of the given variables
(SUM, MAX, MIN, STDEV.S, AVERAGE)
Database functions

• DSUM, DMAX, DMIN, DAVERAGE, DCOUNT, DPRODUCT

DSUM(database, field, criteria)


• Database: The range of cells that makes up the list or database. A database is a list of related
data in which rows of related information are records, and columns of data are fields. The first
row of the list contains labels for each column.
• Field: Indicates which column is used in the function. Enter the column label enclosed
between double quotation marks, such as "Age" or "Yield," or a number (without quotation
marks) that represents the position of the column within the list: 1 for the first column, 2 for
the second column, and so on.
• Criteria: Is the range of cells that contains the conditions that you specify. You can use any
range for the criteria argument, as long as it includes at least one column label and at least
one cell below the column label in which you specify a condition for the column.
Please write the functions to calculate
1) The total profit from apple trees
2) The product of the yields from apple
trees with a height between 10 and
16 feet and any pear trees
3) The total profit from apple trees with
a height between 10 and 16 feet, and
all pear trees
4) The maximum profit of either any
apple tree with a height between 10
and 16 feet or any pear tree

You might also like