Excel Advance
Excel Advance
TABLE OF CONTENTS
1 INTRODUCTION 1
1.1 Method 1
1.2 Software and other settings 2
1.3 Exercise files 2
2 MULTIPLE WORKSHEETS 3
2.1 Working with multiple worksheets 3
Adding a worksheet 4
Deleting a worksheet 6
Naming the worksheets 6
Setting a tab color 7
Moving a worksheet 8
Copying a worksheet 9
Hiding and unhiding a worksheet 10
Worksheet background 11
Grouping worksheets. 11
2.2 Formulas with values from another worksheet 13
Writing formulas by selecting cells 13
Creating a formula by selecting a series of worksheets 14
2.3 Calculations over multiple workbooks 15
Referring to another file 15
Refresh linked data 16
2.4 Checking cell references 18
Trace precedents 18
Trace dependents 19
Error messages 19
2.5 Window options 20
Locking titles 20
Splitting windows 22
Two windows on the same workbook 24
Hide an open workbook window 24
Comparing window contents 25
5 FUNCTIONS 79
5.1 Math functions with a condition 79
Using function suggestions 79
The Insert Function window 80
The SUMIF function 81
The COUNT and COUNTIF functions 83
5.2 Logical Functions 86
The AND function 86
The OR function 87
The IF function 89
The IF function in combination with time 92
Nested IF Function 92
IF function in combination with AND or OR 94
5.3 Date Functions 96
Other date functions 98
5.4 Text functions 98
The & character 99
5.5 Search functions 100
Search in columns: the VLOOKUP function 101
VLOOKUP with exact match 104
VLOOKUP in intervals 105
Search in rows: the HLOOKUP function 106
The INDEX function 108
The MATCH function 110
Combining INDEX and MATCH 111
5.6 Database functions 112
DSUM 112
DAVERAGE 114
DGET 115
5.7 Array formulas 116
To calculate large numbers of cells at one time with an array formula 118
Totalling using an array formula 120
iv
Excel 2016 Advanced
6 VALIDATION 122
6.1 Data validation 122
Validate correct input 122
Validate data in retrospect 124
6.2 List with allowed values 125
6.3 Errors 126
Causing an error 127
The Error button 128
6.4 Checking formulas 129
6.5 The error checking button 130
Other tools for errors 130
6.6 The Watch Window 132
8 TEMPLATES 176
8.1 Creating a template 176
Protecting the right cells 178
8.2 Using a template 179
8.3 Editing a template 180
v
Excel 2016 Advanced
10 MACROS 190
10.1 Creating macros 190
10.2 Starting a macro 193
10.3 Relative/absolute macro recording 194
A relative macro 195
10.4 Editing a macro 196
10.5 Linking a macro to a button in the worksheet 198
10.6 Adding macros to the ribbon 200
Adding a macro to the Quick Access toolbar 200
Adding a macro to the ribbon 202
10.7 Defining functions 204
INDEX 248