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

Basic Furmola in Microsoft Excel: 2. Count

The document describes 10 common formulas in Microsoft Excel: SUM, COUNT, COUNTA, LEN, TRIM, RIGHT, LEFT, MID, VLOOKUP, and IF statements. It explains what each formula does, including examples of their proper syntax and use. The most detailed explanations are of the VLOOKUP formula for looking up values and returning data from tables, and IF statements for conditional logic. The document concludes by briefly describing SUMIF, COUNTIF, AVERAGEIF and CONCATENATE formulas.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
100 views

Basic Furmola in Microsoft Excel: 2. Count

The document describes 10 common formulas in Microsoft Excel: SUM, COUNT, COUNTA, LEN, TRIM, RIGHT, LEFT, MID, VLOOKUP, and IF statements. It explains what each formula does, including examples of their proper syntax and use. The most detailed explanations are of the VLOOKUP formula for looking up values and returning data from tables, and IF statements for conditional logic. The document concludes by briefly describing SUMIF, COUNTIF, AVERAGEIF and CONCATENATE formulas.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

BASIC FURMOLA IN MICROSOFT EXCEL

1. SUM
Formula: =SUM(5, 5) or =SUM(A1, B1) or =SUM(A1:B5)
The SUM formula does exactly what you would expect. It allows you to add 2 or more numbers
together. You can use cell references as well in this formula.
The above shows you different examples. You can have numbers in there separated by commas
and it will add them together for you, you can have cell references and as long as there are
numbers in those cells it will add them together for you, or you can have a range of cells with a
colon in between the 2 cells, and it will add the numbers in all the cells in the range.
2. COUNT

Formula: =COUNT(A1:A10)
The count formula counts the number of cells in a range that have numbers in them.
This formula only works with numbers though:
3. COUNTA

Formula: =COUNTA(A1:A10)
Counts the number of non-empty cells in a range. It will count cells that have numbers and/or
any other characters in them.
The COUNTA Formula works with all data types.
It counts the number of non-empty cells no matter the data type.
4. LEN

Formula: =LEN(A1)
The LEN formula counts the number of characters in a cell. Be careful though! This includes
spaces.
Notice the difference in the formula results: 10 characters without spaces in between the words,
12 with spaces between the words.

5. TRIM

Formula: =TRIM(A1)
Gets rid of any space in a cell, except for single spaces between words. Ive found this formula to
be extremely useful because Ive often run into situations where you pull data from a database
and for some reason extra spaces are put in behind or in front of legitimate data. This can wreak
havoc if you are trying to compare using IF statements or VLOOKUPs.
6. RIGHT, LEFT, MID

Formulas: = RIGHT(text, number of characters), =LEFT(text, number of characters), =MID(text,


start number, number of characters).
Note: In all of these formulas, wherever it says text you can use a cell reference as well)
These formulas return the specified number of characters from a text string. RIGHT gives you
the number of characters from the right of the text string, LEFT gives you the number of
characters from the left, and MID gives you the specified number of characters from the middle
of the word. You tell the MID formula where to start with the start_number and then it grabs the
specified number of characters to the right of the start_number.
7. VLOOKUP

Formula: =VLOOKUP(lookup_value, table_array, col_index_num, range_lookup)


By far my most used formula. The official description of what it does: Looks for a value in the
leftmost column of a table, and then returns a value in the same row from a column you
specify. (See the full explanation of VLOOKUP) Basically, you define a value (the
lookup_value) for the formula to look for. It looks for this value in the leftmost column of a table
(the table_array).
Note: If at all possible use a number for the lookup_value. This makes it a lot easier to make sure
the data you are getting back is a correct match.
If it finds a match of the lookup_value in the left column of the table_array it will return the
value in the column you specify using the index_num. The index_num is relative to the left
most column. So, if you have the table_index look in column A and you want what is returned to
be whats in column B the index_num would be 2 because the leftmost column, column A in
this case, is the 1st column in the table array and column B is the 2nd column (hence the 2 for the
index number). If you want what is in column C to be returned youd put 3 for the index_num.
The range_lookup is a TRUE or FALSE value. If you put TRUE it will give you the closest
match. If you put FALSE it will only give you an exact match. I only use FALSE when using the
VLOOKUP formula.

8. IF Statements

Formula: =IF(logical_statement, return this if logical statement is true, return this if logical
statement is false)
This IF statement will tell us if the first salesperson met their quota or not. We would then copy
and paste this formula along all the entries in the list. It would change for each sales person.
9. SUMIF, COUNTIF, AVERAGEIF

Formulas: =SUMIF(range, criteria, sum_range), =COUNTIF(range, criteria),


=AVERAGEIF(range, criteria, average_range)
These formulas all do their respective functions (SUM, COUNT, AVERAGE) IF the criteria are
met. There are also the formulas: SUMIFS, COUNTIFS, AVERAGEIFS where they will do their
respective functions based on multiple criteria you give the formula.
10. CONCATENATE

A fancy word for combining data in 2 (or more) different cells into one cell. This can be done
with the Concatenate excel formula or it can be done by simply putting the & symbol in between
the two cells. If I have Steve in cell A1 and Quatrani in cell B1 I could put this formula:
=A1& &B1 and it would give me Steve Quatrani. (The puts a space in between what you
are combining with the &). I can use =concatenate(A1, , B1) and it will give me the same
thing: Steve Quatrani

Breaking Down Complicated Excel Formulas


=IFERROR(TRIM(IF(LEN(VLOOKUP(F7, Sheet2!$A$1:$B$10000, 2,
FALSE))>0,SUBSTITUTE(VLOOKUP(F7, Sheet2!$A$1:$B$10000, 2, FALSE), , ),)),
)

You might also like