Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
50 views

Formulas and Functions

Jsjdjdjajdhxhjsjsjdbdjjajdjxhsnsjd

Uploaded by

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

Formulas and Functions

Jsjdjdjajdhxhjsjsjdbdjjajdjxhsnsjd

Uploaded by

Anica Emperado
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Formulas and Functions

What is a Formula vs Function in Excel? A Formula is an equation designed by a


user in Excel, while a Function is a predefined calculation in the spreadsheet
application.

Examples of a Formula

When a user types an equals sign in a cell, they are starting to create a
formula.

Examples of a formula include:

=4+3

=A3+C9

=B7+B8-(4*2)+1

Examples of a Function

When a user types an equals sign followed by a predefined set of letters (or
clicks on the Fx button in the formula bar), a function begins to be
implemented.

=SUM(A3:A27)

=AVERAGE(F4:F8)

Examples of a Formula and Function

It doesn’t just need to be a case of formula vs function. Users can combine


the two to create an even more powerful analysis.

Examples of the two combined are:

=SUM(A5:A8)/5

=AVERAGE(B3:B19)+25+SUM(1,2,3,5)

FUNCTIONS
1. Average
AVERAGE function in Excel is used to generate a number that
represents a typical value from a range, distribution, or list of numbers.
It is calculated by adding all the numbers in the list, then dividing the
total by the number of values within the list.
Example: =Average(100,95,80) or =Average(A1:A10)

2. SUM

The SUM function adds values. You can add individual values, cell
references or ranges or a mix of all three.

For example:

 =SUM(A2:A10) Adds the values in cells A2:10.

 =SUM(100,150,75)

 =SUM(A2:A10, C2:C10) Adds the values in cells A2:10, as well


as cells C2:C10.

3. SUMIF
You use the SUMIF function to sum the values in a range that meet
criteria that you specify. For example, suppose that in a column that
contains numbers, you want to sum only the values that are larger
than 5. You can use the following formula: =SUMIF(B2:B25,">5")

4. Count
The COUNT function counts the number of cells that contain numbers,
and counts numbers within the list of arguments. Use
the COUNT function to get the number of entries in a number field
that is in a range or array of numbers. For example, you can enter the
following formula to count the numbers in the range
A1:A20: =COUNT(A1:A20). In this example, if five of the cells in the
range contain numbers, the result is 5.

5. Counta
The COUNTA function counts cells containing any type of
information, including error values and empty text (""). For
example, if the range contains a formula that returns an empty string,
the COUNTA function counts that value. The COUNTA function does not
count empty cells.
Example: =counta(A1:A10)

6. CountIf
The COUNTIF function is a premade function in Excel, which counts
cells as specified.
NOTE: The COUNTIF function can have basic or more advanced uses.
This covers the basic use for how to count specific numbers and words.

7. Concatenate
Use CONCATENATE, one of the text functions, to join two or more
text strings into one string.

 Example: =CONCATENATE(B2, " ",C2)

8. If

The IF function is one of the most popular functions in Excel, and it


allows you to make logical comparisons between a value and what you
expect.

So an IF statement can have two results. The first result is if your


comparison is True, the second if your comparison is False.
For example, =IF(C2=”Yes”,1,2) says IF(C2 = Yes, then return a 1,
otherwise return a 2).

9. Vlookup

Use VLOOKUP when you need to find things in a table or a range by


row. For example, look up a price of an automotive part by the part
number, or find an employee name based on their employee ID.

=VLOOKUP(What you want to look up, where you want to look for it,
the column number in the range containing the value to return, return
an Approximate or Exact match – indicated as 1/TRUE, or 0/FALSE).

10. Drop down list

Drop-downs allow people to pick an item from a list that you create.
11. Rank
The RANK Function is categorized as an Excel Statistical function. The
function returns the statistical rank of a given value within a supplied
array of values. Thus, it determines the position of a specific value in
an array.
Formula: =RANK(number,ref,[order])
=RANK(B1,($B$1:$B$11),0)

The RANK function uses the following arguments:

1. Number (required argument) – This is the value for which we need to


find the rank.
2. Ref (required argument) – Can be a list of, or an array of, or reference
to, numbers.
3. Order (optional argument) – This is a number that specifies how the
ranking will be done (ascending or descending order).
o 0 – is used for descending order
o 1 – is used for ascending order
o If we omit the argument, it will take a default value of 0
(descending order). It will take any non-zero value as the value 1
(ascending order).

You might also like