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

MS Excel Formulas

This document provides an overview of various Excel formulas including: 1) Date and time functions like TODAY and NOW to retrieve the current date and time. 2) Mathematical functions like SUM, AVERAGE, MIN, and MAX to calculate sums, averages, minimums, and maximums of ranges. 3) Logical functions like IF, AND, and OR to perform conditional logic and comparisons.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
210 views

MS Excel Formulas

This document provides an overview of various Excel formulas including: 1) Date and time functions like TODAY and NOW to retrieve the current date and time. 2) Mathematical functions like SUM, AVERAGE, MIN, and MAX to calculate sums, averages, minimums, and maximums of ranges. 3) Logical functions like IF, AND, and OR to perform conditional logic and comparisons.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

MS EXCEL FORMULAS

By: Ms. Ria S. Arellado, MIT


TODAY/NOW

• There are 24 Date and Time functions listed on the drop-down menu under
Formulas > Date & Time: 11 Date formats, 10 Time formats, and as many user-
defined custom formats you can create.
• The TODAY function reveals the current month, day, and year;
• While the NOW function reveals the current month, day, year, and time of day.
This is a handy function if you’re one of those individuals who always forgets to
date your work.
SUM FUNCTIONS

• Probably the most frequently used function in Excel (or any


other spreadsheet program), =SUM does just that: It sums a
column, row, or range of numbers—but it doesn’t just sum.
It also subtracts, multiplies, divides, and uses any of the
comparison operators to return a result of 1 (true) or 0
(false).
RAND FUNCTION

• . TheRAND function is really simple and traditionally used for


statistical analysis, cryptography, gaming, gambling, and probability
theory, among dozens of other things. In Excel, the RAND function
generates a random number between 0 and 1.
COUNT FUNCTIONS

• Use the COUNT function to count the number of numeric


values in a range of cells; for example: C4:C15 contains the
quantity of garden tools Mr. McGregor needs to order for
his shop. Note that the answer is 10 (out of 12), because the
COUNT function does not include blank cells. However, if
you enter a zero, a numeric code, or a date, Excel counts it
as an “occupied” cell and includes it in its answer.
AVERAGE FUNCTION

• Most everyone knows that an average is determined by


adding all the values in a list, then dividing by the number of
values listed; e.g., 4+5+3=12/3=4, which is the average.You
can use the SUM function and add the division all in one
formula, or you can just use the AVERAGE function. The
syntax is: =AVERAGE(range).
MIN/MAX FUNCTIONS

• . Use the MIN function to find the smallest number in a


range of values,
• And the MAX function to find the highest. The syntax for
these functions are: =MIN(range); =MAX(range) where
range equals the list of numbers you’re calculating.
CONCAT/CONCATENATE

• The functions CONCAT and CONCATENATE do the


same thing: They both combine multiple cells, ranges, or
strings of data into one cell. The most common use of this
function is to combine first and last name into one cell or
join the city, state, and ZIP code into one cell.
TRIM

• This function removes extra (or padded) spaces that infect your data
as a result of user error, downloading data from an external source
such as the Internet, or importing data from another computer
system. And you don’t have to “tell Excel” where the spaces are
located in the string of text in each cell; it recognizes the extra
spaces and removes them. Note; however, that it will not remove a
space in the middle of a word. The syntax is simple: =TRIM(cell
address).
UPPER/LOWER/PROPER

• Another easy group, these functions convert text in a cell or


range of cells to uppercase, lowercase or proper case.
Proper case is first letter in caps and remaining letters in
lowercase. The syntax is simple: function, cell address.
REPT

• When Lotus 1-2-3 was the only game in town, you could enter a
backslash followed by any character and Lotus would repeat that
character throughout a cell. If the cell width grew larger or smaller,
so did the character. In Excel, this feature is handled by the function
REPT. It’s not quite as efficient because you must add the character
to the formula, then specify how many times you want that character
repeated. This means if the cell width is increased, the repeated
character is not, and if the cell width is decreased, the repeated
character bleeds over into the adjacent cell.
IF STATEMENT

• The IF function (also more commonly called IF statements) work


like this: IF, then, else. Basically, that means if a condition is true, then
do one thing, else/otherwise do something else. For example, if the
puppy is a Labrador, then buy a blue collar, otherwise/else, buy a red
collar.
• The syntax (the way the commands are organized in the formula) of
the IF statement is: =IF(logic_test, value_if true, value_if_false). IF
statements are used in all programming languages and, although the
syntax may vary slightly, this function provides the same results.
AND/OR

• AND and OR are common functions in the programmers’


environment, also referred to as Boolean operators (along
with NOT).
• AND means that all conditions in the query must be true;
• OR means that at least one condition must be true

You might also like