0% found this document useful (0 votes)
11 views16 pages

Study Excel

The document provides a comprehensive guide on performing various mathematical operations and functions in Excel, including addition, subtraction, multiplication, division, and advanced functions like SUMIF, SUMIFS, VLOOKUP, and XLOOKUP. It also covers the use of conditional functions such as IF, COUNTIF, and COUNTA, as well as shortcuts for efficiency. Additionally, it explains how to use functions like INDIRECT and XMATCH for referencing and searching within data sets.

Uploaded by

Monisha K
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views16 pages

Study Excel

The document provides a comprehensive guide on performing various mathematical operations and functions in Excel, including addition, subtraction, multiplication, division, and advanced functions like SUMIF, SUMIFS, VLOOKUP, and XLOOKUP. It also covers the use of conditional functions such as IF, COUNTIF, and COUNTA, as well as shortcuts for efficiency. Additionally, it explains how to use functions like INDIRECT and XMATCH for referencing and searching within data sets.

Uploaded by

Monisha K
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 16

Basics: doing math with Excel

Values
C4 5
C5 2

To Add 7
To Subtract 3
To Multiply 10
To Divide 2.5

Fruit Amount using short cut


Apples 50 50
Oranges 20 20
Bananas 60 60
Lemons 40 40
To Total SUM 170 170
keyboard shortcut : Select cell 18( A cell below last coloum value where total to be shown), then press ALT+ = then

Item Amount interest


Cars 20 50
Cars 10 10
Bikes 10 10
Skates 40 60
30 10

1 Total: 2 Additional Value New Total 3


180 100 180

SUMIF function
60 30 60
sum of amount which
is greater than 10 which has cars item Amount for which the Interest is greater than 10
SUMIFS function

Quantity Sold Product Salesperson


5 Apples Tom
4 Apples Sarah
15 Artichokes Tom
3 Artichokes Sarah
22 Bananas Tom
12 Bananas Sarah
10 Carrots Tom

20 30
Sum of Quantity sold
is starts with A named product and sales person as TOM is not a bannana and sales person is TOM

SUMSQ function
Sum of Square of values
25

COUNTIF
=COUNTIF(Where do you want to look?, What do you want to look for?)

Data Data
apples 32
oranges 54
peaches 75
apples 86

2 2 3
number of cells with number of cells with
apples match with B62 SUM of 2 countif results

1 4 2
a value greater than
(>) or equal to (=) 32 The asterisk (*) -
and less than (<) or wildcard character to Counts the number of cells that have exactly 7 characters,
equal to (=) 85 match any character and end with the letters "es" in cells. The question mark (?)

COUNT IFS

person no Visted date Visited / not gifted / not


1 5/1/2011 yes yes
2 5/2/2011 yes yes
3 5/3/2011 no yes
4 5/4/2011 no yes
5 5/5/2011 yes no
6 5/6/2011 no no
1 1 1
no of Person no equal to 6 no of Person no equal to 2 and visted yes when 2 and 6 th person not visited and not gifted same way
4 2 2
between 1 and 6 not including 1&6 Person no <5 and <5/3/11 Person no <5 and <C76

COUNTA
Count a non blank cells

Data
39790
19
22.24

#DIV/0!

LINK TO REFER https://support.microsoft.com/en-us/office/countifs-function-dda3dc6e-f74e-4aee-88bc-aa8c2a86

IF Functions

MARK GRADE
93 A
89 B
71 C
60 D
58 F

A A

NESTED IFS

=IF(Something is True, then do something, otherwise do something else)

LINK TO REFER IF function – nested formulas and avoiding pitfalls - Microsoft Support

VLOOKUPS

=VLOOKUP(What you want to look up, where you want to look for it, the column number in the range containing t

ID LAST NAME FIRST NAME TITLE B.DATE


101 DAVIS SARA SALES REP 12/8/1968
102 FONTANA OLIVIER VP (SALES) 2/19/1952
103 LEAL KARINA SALES REP 8/30/1963
104 PATTEN MICHAEL SALES REP 9/19/1958
105 BURKE BRIAN SALES MANAGER 3/4/1955
106 SOUSA LUIS SALES REP 7/2/1963

Results Descriptions
OLIVIER VERTICALLY CHECKS FOR C126 PERSONS FIRST NAME
FONTANA VERTICALLY CHECKS FOR 102S LAST NAME
NOT MATCHES CHECKS FOR 103 LAST NAME IS SOUSA AND PRINT NOT MATCHES / MATCHES
69 DATE FUNCTION - USED TO ENTER DATE VALUE AND YEARFAC FUNCTION SUBTRACTS THE VLOOKUP VALUE (IE
EMPLOYEE NOT FO VLOOKUP THE VALUE AND IF THE VALUE IS NOT FOUND IE #N/A THEN ISNA CONVERTS #N/A INTO THE TEXT AS

Axles Bearings Bolts


4 1/3/1900 9
5 1/6/1900 10
6 1/7/1900 11

HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup])

RESULTS DESCRIPTIONS

4 Looks up "Axles" in row 1, and returns the value from row 2 that's in the same column
7 Looks up "Bearings" in row 1, and returns the value from row 3 that's in the same column
5 Looks up "B" in row 1, and returns the value from row 3 that's in the same column. Becau
11 Looks up "Bolts" in row 1, and returns the value from row 4 that's in the same column
c Looks up the number 3 in the three-row array constant, and returns the value from row 2

XLOOKUP

The XLOOKUP function searches a range or an array, and then returns the item corresponding to the first match it finds. If no m
=XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])

[if_not_found] - Optional
Where a valid match is not found, return the [if_not_found] text you supply, If a valid match is not found, and [if_n
[match_mode]
Optional
Specify the match type:
0 - Exact match. If none found, return #N/A. This is the default.
-1 - Exact match. If none found, return the next smaller item.
1 - Exact match. If none found, return the next larger item.
2 - A wildcard match where *, ?, and ~ have special meaning.

[search_mode] Optional
Specify the search mode to use:
1 - Perform a search starting at the first item. This is the default.
-1 - Perform a reverse search starting at the last item
2 - Perform a binary search that relies on lookup_array being sorted in ascending order. If not sorted, i
-2 - Perform a binary search that relies on lookup_array being sorted in descending order. If not sorted

ID LAST NAME TITLE


101 DAVIS SALES REP
102 FONTANA VP (SALES)
103 LEAL SALES REP
104 PATTEN SALES REP
105 BURKE SALES MANAGER
106 SOUSA SALES REP

IF EMP code is 101 #NAME? #NAME?


IF EMP code is not #NAME?

product name TAX amount tax amount


aluminum 10% 9700.00 970.00
steel 11% 1190.00 130.90
plastic 12% 11000.00 1320.00
iron 18% 1290.00 232.20
copper 28% 13000.00 3640.00
metal 16% 1400.00 224.00

12%
10% nearest greatest value

NESTED XLOOKUP
Uses a nested XLOOKUP function to perform both a vertical and horizontal match.

Product name Tax Amount Tax amount


#NAME? #NAME? #NAME? #NAME?

SUM OF X LOOKUPS

12190 sum of amount of steel and plastic

XMATCH function
we'll use XMATCH to determine an item's position within a list.

product name NOV TAX FEB TAX 3 used to check position of plastic
aluminum 10% 18% 2 ste? Used to check for first 3 lett
steel 11% 28%
plastic 12% 16%
iron 18% 10%
copper 28% 11%
metal 16% 12%

INDEX/XMATCH/XMATCH.
IRON FEB TAX #NAME?
COPPER NOV TAX #NAME?

XMATCH can be used to return a value within an array


1

INDEX The INDEX function returns a value or the reference to a value from within a table or range.
11% Value at the intersection of the second row and second column in the range
steel Value at the intersection of the second row and first column in the range
2 Value found in the first row, second column in the array. The array contains 1 and 2 in the first row and 3 and
4 Value found in the second row, second column in the array (same array as above).

Fruit Price Count


Apples 69% 4000%
Bananas 34% 3800%
Lemons 55% 1500%
Oranges 25% 2500%
Pears 59% 4000%
Almonds 280% 1000%
Cashews 355% 1600%
Peanuts 125% 2000%
Walnuts 175% 1200%

Formula Description Result


38 The intersection 38.00
1.25 The intersection 1.25
216 The sum of the t 216.00
2.42 The sum of the r 2.42
INDIRECT function
Returns the reference specified by a text string
Use INDIRECT when you want to change the reference to a cell within a formula without changing the formula itself.

Data
C258 1.333
C259 45
George 10
5 62

1.333 Valueof the reference in cell A2. The reference is to cell B2, which contains the value 1.333.
45 Value of the reference in cell A3. The reference is to cell B3, which contains the value 45.
#REF! Because cell B260 has the defined name "George," the reference to that defined name is to cell B4
62 Combines "c" with the value in 261, which is 5. This, in turn, refers to cell B5, which contains the va

EXCEL FUCTION
Excel functions (by category) - Microsoft Support

EXCEL SHORTCUTS
Keyboard shortcuts in Excel - Microsoft Support
n), then press ALT+ = then, Enter. This automatically enters SUM for you.

Additional Value New Total 4ndividual cell


with cell series 250 29.5

50 30

item ends with es item doesnot have any value


2 3

>55 The ampersand (&) merges the comparison operator for not equal to (<>) and the value in C62

2 Counts the number of cells that apple and ? Indicates after apple it may end with the any letter.

cells that have exactly 7 characters,


s "es" in cells. The question mark (?) is used as the wildcard character to match individual characters
n not visited and not gifted same way

-f74e-4aee-88bc-aa8c2a866842

er in the range containing the value to return, return an Approximate or Exact match – indicated as 1/TRUE, or 0/FALSE).
SUBTRACTS THE VLOOKUP VALUE (IE A DATE) AND PROVIDE A RETURNS A VALUE WHICH THEN CONVERTED TO INTEGER BY INT FUNCTION
A CONVERTS #N/A INTO THE TEXT AS MENTIONED

that's in the same column


w 3 that's in the same column

's in the same column. Because an exact match for "B" is not found(due to True is mentioned (not exact match), the largest value in row 1 that is less tha
that's in the same column

returns the value from row 2 in the same (in this case, third) column. There are three rows of values in the array constant, each row separated by a semi

the first match it finds. If no match exists, then XLOOKUP can return the closest (approximate) match.
earch_mode])

atch is not found, and [if_not_found] is missing, #N/A is returned.


ng order. If not sorted, invalid results will be returned.
ding order. If not sorted, invalid results will be returned.

income qtr 1 qtr 2 qtr 3


sale 50000 78200 89000
cost of sale 25000 42000 59000
gross profit 25000 36100 30800
profit% 2% 5% 3%

qtr gross profit sale profit%


qtr 1 #NAME? #NAME? #NAME?
to check position of plastic
Used to check for first 3 letter and with any letter behind

n the range

d 2 in the first row and 3 and 4 in the second row.


the formula itself.

ains the value 1.333.


ains the value 45.
defined name is to cell B4, which contains the value 10.
l B5, which contains the value 62.
RUE, or 0/FALSE).
e largest value in row 1 that is less than "B" is used: "Axles," in column A.

nstant, each row separated by a semicolon (;). Because "c" is found in row 2 and in the same column as 3, "c" is returned.

You might also like