Additional Excel Features
Additional Excel Features
• More functions
• Filtering in Excel
• Copying
• Mail merge
INDEX function
MATCH function
• Range argument (1,0,-1) – almost the same as it is for the VLOOKUP
VLOOKUP has met it’s MATCH
• Who is the CEO of Wells Fargo?
• Vlookup only goes left to right
INDEX/MATCH examples
ARRAYS
• A formula that can perform multiple calculations
on one or more of the items in an array
• Answers appear in more than one cell
• Use curvy brackets in the formula to designate
that it’s part of an array
• Array functions require CTRL+SHIFT+ENTER to do
the operation
– Hitting ENTER won’t work
– COMMAND used instead of CONTROL on the Mac
Array Example PROBLEM: Multiply the
values in the array (the
cell range C2:D11)
• Select cells E2 through
E11, and then enter
the following formula
in the formula bar:
• =C2:C11*D2:D11
• Press
CTRL+SHIFT+ENTER
– Remember “CSE”
– Notice the curly braces
around the formula
Multi-cell/Array formula RULES
• You must select the range of cells to hold your results before you enter
the formula. You did this in step 3 of the multi-cell array formula exercise
when you selected cells E2 through E11.
• You cannot change the contents of an individual cell in an array formula.
To try this, select cell E3 in the sample workbook and press DELETE.
• You can move or delete an entire array formula, but you cannot move or
delete part of it. In other words, to shrink an array formula, you first
delete the existing formula and then start over.
• TIP To delete an array formula, select the entire formula (for
example, =C2:C11*D2:D11), press DELETE, and then press
CTRL+SHIFT+ENTER.
• You cannot insert blank cells into or delete cells from a multi-cell array
formula.
Returning
Multiple
Values
using Arrays
Returning
Multiple
Values
using Arrays
=IF(ISERROR(INDEX($A$1:$B$8,SMALL(IF($A$1:$A$8=$E$1,RO
W($A$1:$A$8)),ROW(1:1)),2)),"",INDEX($A$1:$B$8,SMALL(IF(
$A$1:$A$8=$E$1,ROW($A$1:$A$8)),ROW(1:1)),2))
Excel Filtering
• Highlight column headers
• Data Ribbon
• Filter Icon
• Drop down arrow
per column
Filtering
Data
• Sales in the USA during the 4th quarter
– Can “Clear” to right of Filter icon
Excel Filtering
– Defaults to AND filtering (cont)
• Sales in the USA or during the 4th quarter
– Advanced icon
Wildcards
Sorting
Sort On options:
Values
Cell Color
Font Color
Cell Icon
Order options:
A to Z
Z to A
Custom List
Subtotal i.e. the Total line in Access
• Have to SORT first
• Highlight cells
• Subtotal icon
• Choose options
– See left
• Pivot vs Subtotal
Subtotal example
Subtotal example
Copy-Paste EMBED
Area Fog Snow Rain More #Cities Fog&Avg
Area Fog Snow Rain More #Cities Fog&Avg
North 55 25 Snow FALSE
North FALSE 55 25 Snow 2 FALSE
South FALSE 1 32 Rain 3 FALSE South FALSE 1 32 Rain 3 FALSE
East TRUE 25 35 Rain 1 FALSE East TRUE 25 35 Rain 1 FALSE
West TRUE 45 16 Snow 2 TRUE West TRUE 45 16 Snow 2 TRUE
Midwest FALSE 22 22 Even 2 FALSE
Midwest FALSE 22 22 Even 2 FALSE
SIMPLE COPY-PASTE
Ctrl-C then Ctrl-V Area Fog Snow Rain More #Cities Fog&Avg
North FALSE 55 25 Snow 2 FALSE PASTE SPECIAL -
What can be changed?! South FALSE 1 32 Rain 3 FALSE PICTURE
East TRUE 25 35 Rain 1 FALSE
Walk through Paste options West TRUE 45 16 Snow 2 TRUE
Midwest FALSE 22 22 Even 2 FALSE
• You try…
– MailMergeDoc.docx
– AdditionalExcelFeatures.xlsx