You are on page 1of 165

300 EXAMPLES

Become an Excel Pro!


Ankit Kumar Verma
CONTENTS

Title Page
Range
Custom List
Comments
Hide Columns and Rows
Skip Blanks
Auto Fit
Transpose
Split Cells
Flash Fill
Move Columns
Most Used Functions
Subtract
Multiply
Divide
Square Root
Percentage
Named Range
Paste Options
Discount
Ribbon
Quick Access Toolbar
Customize the Ribbon
Developer Tab
Status Bar
CheckBox
Themes
View Mutiple Workbook
AutoRecover
Worksheet
Split
Spell Check
FreezePanes
Group Worksheet
Consolidate
View Multiple Worksheets
Get Sheet Name
RANGE
Auto Fill
Use AutoFill in Excel to automatically fill a series of
cells.

1. For
example, enter the value 10 into cell A1 and the value 20 into cell A2.
2. Select cell A1 and cell A2 and drag the fill handle down. The fill handle is
the little green box at the lower right of a selected cell or selected range of
cells.

Note: AutoFill automatically fills in the numbers based on the pattern of the
first two numbers.
3. Enter Jan into cell A1.

4. Select cell A1 and drag the fill handle down. AutoFill automatically fills in
the month names.

5. Enter Product 1 into cell A1.

6. Select cell A1 and drag the fill handle down. AutoFill automatically fills in
the product names.

7. Enter Friday into cell A1.

8. Select cell A1 and drag the fill handle down. AutoFill automatically fills in
the day names.
9. Enter the date 1/14/2019 into cell A1.

10. Select cell A1 and drag the fill handle down. AutoFill automatically fills
in the days.

11. Instead of filling in days, use the AutoFill options to fill in weekdays
(ignoring weekend days), months (see example below) or years.
12. Enter the date 1/14/2019 into cell A1 and the date 1/21/2019 into cell A2.

13. Select cell A1 and cell A2 and drag the fill handle down. AutoFill
automatically fills in the dates based on the pattern of the first two dates.

14. Enter the time 6:00 AM into cell A1.


15. Select cell A1 and drag the fill handle across. AutoFill automatically fills
in the times.

16. When Excel doesn't recognize a list, simply create a custom list

17. Use flash fill in Excel 2013 or later to automatically extract or to


automatically combine data.
If you have Excel 365, you can also use the SEQUENCE function to fill a
series of cells. This function is pretty cool.
18. The SEQUENCE function below generates a two-dimensional array.
Rows = 7, Columns = 4, Start = 0, Step = 5.

19. The
SEQUENCE function below generates a list of odd numbers. Rows = 10,
Columns = 1, Start = 1, Step = 2.

Fibnacci Sequence
It's easy to create all sorts of sequences in Excel. For example, the Fibonacci
sequence.
1. The first two numbers in the Fibonacci sequence are 0 and 1.

2. Each subsequent number can be found by adding up the two previous


numbers.

3. Click on the lower right corner of cell A3 and drag it down.

Result. The Fibonacci Sequence in Excel.


CUSTOM LIST
If you create a custom list in Excel, you can easily fill a range with your own
list of departments, clients, cities, credit card numbers, etc. This can save
time and reduce errors.
First, we will look at an example of a built-in list.
1. Type Sun into cell B2.

2. Select cell B2, click on the lower right corner of cell B2 and drag it across
to cell H2.

3. On the File tab, click Options.


4. Under Advanced, go to General and click Edit Custom Lists.
Here you can find the built-in 'days of the week' lists. Also notice the 'months
of the year' lists.
5. To create your own custom list, type some list entries, and click Add.
Note: you can also import a list from a worksheet.
6. Click OK.
7. Type London into cell C2.

8. Select cell C2, click on the lower right corner of cell C2 and drag it down
to cell C5.
COMMENTS
Insert a comment in Excel 2019 to start a conversation or to give feedback
about the content of a cell. Old style comments are still available and are now
called notes.
INSERT COMMENT
To insert a comment, execute the following steps.
1. Select a cell.
2. Right click, and then click New Comment.

3. Type your comment and post it.

Excel displays a purple indicator in the upper-right corner of the cell.


4. Hover over the cell to view the comment.
5. To edit a comment, hover over the comment and click Edit.

6. Others can now reply to your comment.

Tip: use OneDrive to share your Excel file with other people.
DELETE COMMENT
To delete a comment, execute the following steps.
1. Select the cell with the comment.
2. Right click, and then click Delete Comment.
SHOW COMMENTS
To view all comments in an Excel file, execute the following steps.
1. On the Review tab, in the Comments group, click Show Comments.

Tip: instead of using the Review tab, simply click the Comments button in
the upper-right corner of the ribbon.
Excel opens the Comments pane with all comments in this Excel file.
HIDE COLUMNS AND
ROWS
Sometimes it can be useful to hide columns or rows in Excel.
HIDE
To hide a column, execute the following steps.
1. Select a column.

2. Right click, and then click Hide.


Result:
Note: to hide a row, select a row, right click, and then click Hide.

UNHIDE
To unhide a column, execute the following steps.
1. Select the columns on either side of the hidden column.

2. Right click, and then click Unhide.


Result:

Note: to unhide a row, select the rows on either side of the hidden row, right
click, and then click Unhide.

MULTIPLE COLUMNS OR ROWS


To hide multiple columns, execute the following steps.
1. Select multiple columns by clicking and dragging over the column headers.
2. To select non-adjacent columns, hold CTRL while clicking the column
headers.

3. Right click, and then click Hide.


Result:

To unhide all columns, execute the following steps.


4. Select all columns by clicking the Select All button.
5. Right click a column header, and then click Unhide.

Result:
Note: in a similar way, you can hide and unhide multiple rows.

HIDDEN TRICKS
Impress your boss with the following hidden :-) tricks. To hide and show
columns with the click of a button, execute the following steps.
1. Select one or more columns.

2. On the Data tab, in the Outline group, click Group.

3. To hide the columns, click the minus sign.


4. To show the columns again, click the plus sign.

Note: to ungroup the columns, first, select the columns. Next, on the Data
tab, in the Outline group, click Ungroup.
Finally, to hide cells in Excel, execute the following steps.
1. Select a range of cells.
2. Right click, and then click Format Cells.
The 'Format Cells' dialog box appears.
3. Select Custom.
4. Type the following number format code: ;;;
5. Click OK.
Result:
SKIP BLANKS
Use the 'Paste Special Skip Blanks' option and Excel will not overwrite existing values with blanks.
1. Select the range B1:B12.
2. Right click, and then click Copy.

3. Select cell A1.


4. Right click, and then click Paste Special.
5. Check Skip Blanks.
6. Click OK.
AUTO FIT
You probably know how to change the width of a column in Excel, but do
you also know how to automatically fit the widest entry in a column?
AUTOFIT COLUMN WIDTH
The default width of a column is 64 pixels.
1. You can change the width of a column by clicking and dragging the right
border of the column header.

2. To automatically fit the widest entry in a column, double click the right
border of a column header.

3. To autofit multiple columns, first select multiple columns by clicking and


dragging over the column headers.

Note: to select non-adjacent columns, hold CTRL while clicking the column
headers.
4. Next, double click the right border of one of the column headers.

5. To change the width of all columns, first select all columns by clicking the
Select All button.

6. Next, change the width of a column.

AUTOFIT ROW HEIGHT


The techniques described above can also be used to change the height of a
row. Instead of clicking the right border of a column header, simply click the
bottom border of a row header. There's one more way to autofit columns or
rows.
1. First, select multiple rows by clicking and dragging over the row headers.

2. On the Home tab, in the Cells group, click Format.


3. Click AutoFit Row Height.

Result:

Note: you can also use this technique to set a row height or a column width
(see screenshot at step 3). Be careful, don't think in pixels here. The default
width of a column is 8.43 units and the default height of a row is 15.00 units.
TRANSPOSE
Use the 'Paste Special Transpose' option to switch rows to columns or
columns to rows in Excel. You can also use the TRANSPOSE function.
PASTE SPECIAL TRANSPOSE
To transpose data, execute the following steps.
1. Select the range A1:C1.
2. Right click, and then click Copy.

3. Select cell E2.


4. Right click, and then click Paste Special.
5. Check Transpose.
6. Click OK.

TRANSPOSE FUNCTION
To insert the TRANSPOSE function, execute the following steps.
1. First, select the new range of cells.

2. Type in =TRANSPOSE(
3. Select the range A1:C1 and close with a parenthesis.

4. Finish by pressing CTRL + SHIFT + ENTER.


Note: The formula bar indicates that this is an array formula by enclosing it in
curly braces {}. To delete this array formula, select the range E2:E4 and press
Delete.

TRANSPOSE TABLE WITHOUT


ZEROS
The TRANSPOSE function in Excel converts blank cells to zeros. Simply
use the IF function to fix this problem.
1. For example, cell B4 below is blank. The TRANSPOSE function converts
this blank cell to a zero (cell G3).

2. If blank, the IF function below returns an empty string (two double quotes
with nothing in between) to transpose.

TRANSPOSE MAGIC
The 'Paste Special Transpose' option is a great way to transpose data but if
you want to link the source cells to the target cells, you need a few magic
tricks.
1. Select the range A1:E2.
2. Right click, and then click Copy.
3. Select cell A4.
4. Right click, and then click Paste Special.
5. Click Paste Link.

Result.

6. Select the range A4:E5 and replace all equal signs with xxx.
Result.

7. Use 'Paste Special Transpose' to transpose this data.

8. Select the range G1:H5 and replace all occurrences of 'xxx' with equal
signs (the exact opposite of step 6).

Note: for example, change the value in cell C2 from 16 to 36. The value in
cell H3 will also change from 16 to 36.
SPLIT CELLS
To split a cell in Excel, add a new column, change the column widths and
merge cells. To split the contents of a cell into multiple cells, use the Text to
Columns wizard, flash fill or formulas.
SPLIT A CELL
Use the following trick to "split" a cell in Excel.
1. For example, task B starts at 13:00 and requires 2 hours to complete.

Suppose task B starts at 13:30. We would like to split cell B3 and color the
right half.
2. Select column C.

3. Right click, and then click Insert.


Result:

4. The default width of a column is 64 pixels. Change the width of column B


and C to 32 pixels.

5. Select cell B1 and cell C1.


6. On the Home tab, in the Alignment group, click the down arrow next to
Merge & Center and click Merge Cells.
Result:

7. Repeat steps 5-6 for cell B2 and cell C2 (and cell B4 and cell C4).
8. Change the background color of cell B3 to No Fill.
Result:

Note: suppose task A ends at 15:30. Use the trick explained above to "split"
cell E2. Download the Excel file and give it a try.

TEXT TO COLUMNS
To split the contents of a cell into multiple cells, use the Text to Columns
wizard. For example, let's split full names into last and first names.
1. Select the range with full names.
2. On the Data tab, in the Data Tools group, click Text to Columns.

The following dialog box appears.


3. Choose Delimited and click Next.

4. Clear all the check boxes under Delimiters except for the Comma and
Space check box.
5. Click Finish.
Result:

Note: this example has commas and spaces as delimiters. You may have
other delimiters in your data. Experiment by checking and unchecking the
different check boxes. You get a live preview of how your data will be
separated.

FLASH FILL
Do you like Magic? Instead of using the Text to Columns wizard, use flash
fill to quickly split data into multiple columns.
1. First, split the contents of one cell into multiple cells.
2. Select cell B1 and press CTRL + E (flash fill shortcut).

3. Select cell C1 and press CTRL + E.

4. Select cell D1 and press CTRL + E.

Note: flash fill in Excel only works when it recognizes a pattern. Download
the Excel file and give it a try. Visit our page about Flash Fill to learn more
about this great Excel tool.
One drawback when using these tools is that the output will not automatically
update when the source data changes. Create formulas to overcome this
limitation. Let's split full names into first and last names.
1. The formula below returns the first name.
2. The formula below returns the last name.

3. Select the range B2:C2 and drag it down.

Note: visit our page about separating strings to understand the logic behind
these formulas.
FLASH FILL
Use flash fill in Excel 2013 or later to automatically extract or to
automatically combine data. Flash Fill in Excel only works when it
recognizes a pattern.
FLASH FILL EXAMPLE 1
For example, use flash fill in Excel to extract the numbers in column A
below.
1. First, tell Excel what you want to do by entering the value 4645 into cell
B1.

2. On the Data tab, in the Data Tools group, click Flash Fill (or press CTRL +
E).

Result:
FLASH FILL EXAMPLE 2
For example, use flash fill in Excel to join the last names in column A below
and the first names in column B below to create email addresses.
1. First, tell Excel what you want to do by entering a correct email address in
cell C1.

2. On the Data tab, in the Data Tools group, click Flash Fill (or press CTRL +
E).

Result:

FLASH FILL EXAMPLE 3


For example, use flash fill in Excel to reformat the numbers in column A
below.
1. First, tell Excel what you want to do by entering a correct social security
number in cell B1.

2. On the Data tab, in the Data Tools group, click Flash Fill (or press CTRL +
E).

Result:

FLASH FILL LIMITATIONS


Flash fill is a great Excel tool. However, it has a few limitations. For
example, use flash fill in Excel to extract the numbers in column A below.
1. First, tell Excel what you want to do by entering the value 130 into cell B1.

2. On the Data tab, in the Data Tools group, click Flash Fill (or press CTRL +
E).

Result:

Note: flash fill did not correctly extract the decimal numbers (only the digits
after the decimal point).
3. Flash fill needs a little help sometimes. Immediately after executing step 2,
change the value in cell B3 to 26.2 and Excel will correctly extract all other
decimal numbers for you.

4. Flash fill in Excel does not automatically update your results when your
source data changes. For example, if you change the number in cell A1 to
200, Excel will not update the number in cell B1.
MOVE COLUMNS
To move columns in Excel, use the shift key or use Insert Cut Cells. You can
also change the order of all columns in one magic move.
SHIFT KEY
To quickly move columns in Excel without overwriting existing data, press
and hold the shift key on your keyboard.
1. First, select a column.

2. Hover over the border of the selection. A four-sided arrow appears.


3. Press and hold the Shift key on your keyboard.
4. Click and hold the left mouse button.

5. Move the column to the new position.


6. Release the left mouse button.
7. Release the shift key.
Result:

To move multiple columns in Excel without overwriting existing data.


8. First, select multiple columns by clicking and dragging over the column
headers.
9. Repeat steps 2-7.
Result:

Note: in a similar way, you can move a single row or multiple rows in Excel.

INSERT CUT CELLS


If you prefer the old-fashioned way, execute the following steps.
1. First, select a column.
2. Right click, and then click Cut.

3. Select a column. The column will be inserted before the selected column.
4. Right click, and then click Insert Cut Cells.

Result:

Note: in a similar way, you can move multiple columns, a single row or
multiple rows.

MAGIC MOVE
Finally, you can change the order of all columns in one magic move. Are you
ready?
1. Select row 1.
2. Right click, and then click Insert.

3. Use the first row to indicate the new order of the columns (Sales, Quarter,
Country, Last Name).
4. Select the data.

5. On the Data tab, in the Sort & Filter group, click Sort.
The Sort dialog box appears.
6. Click Options.

7. Click Sort left to Right and click OK.

8. Select Row 1 from the 'Sort by' drop-down list and click OK.

9. Delete row 1.
Result:
MOST USED FUNCTIONS
1. COUNT
To count the number of cells that contain numbers, use the COUNT function
in Excel.

Note: use COUNTA to count all cells that are not empty. COUNTA stands
for count all.

2. SUM
To sum a range of cells, use the SUM function in Excel. The SUM function
below sums all values in column A.

Note: you can also use the SUM function to sum an entire row. For example,
=SUM(5:5) sums all values in the 5th row.

3. IF
The IF function checks whether a condition is met, and returns one value if
true and another value if false.

Explanation: if the score is greater than or equal to 60, the IF function shown
above returns Pass, else it returns Fail. To quickly copy this formula to the
other cells, click on the lower right corner of cell C2 and drag it down to cell
C6.
4. AVERAGE
To calculate the average of a group of numbers, use the AVERAGE function
(no rocket science here). The formula below calculates the average of the top
3 numbers in the range A1:A6.

Explanation: the LARGE function returns the array constant {20,15,10}. This
array constant is used as an argument for the AVERAGE function, giving a
result of 15.
5. COUNTIF
The COUNTIF function below counts the number of cells that contain
exactly star + a series of zero or more characters.

Explanation: an asterisk (*) matches a series of zero or more characters. Visit


our page about the COUNTIF function for more information and examples.
6. SUMIF
The SUMIF function below sums values in the range B1:B5 if the
corresponding cells in the range A1:A5 contain exactly circle + 1 character.

Explanation: a question mark (?) matches exactly one character. Visit our
page about the SUMIF function for more information and examples.
7. VLOOKUP
The VLOOKUP function below looks up the value 53 (first argument) in the
leftmost column of the red table (second argument). The value 4 (third
argument) tells the VLOOKUP function to return the value in the same row
from the fourth column of the red table.
Note: visit our page about the VLOOKUP function to learn more about this
powerful Excel function.
8. MIN
To find the minimum value, use the MIN function. It's as simple as it sounds.

9. MAX
To find the maximum value, use the MAX function.

Note: visit our chapter about statistical functions to learn much more about
Excel and Statistics.
10. SUMPRODUCT
To calculate the sum of the products of corresponding numbers in one or
more ranges, use Excel's powerful SUMPRODUCT function.

Explanation: the SUMPRODUCT function performs this calculation: (2 *


1000) + (4 * 250) + (4 * 100) + (2 * 50) = 3500.
SUBTRACT

There's no SUBTRACT function in Excel. However, there are several ways


to subtract numbers in Excel. Are you ready to improve your Excel skills?
1. For example, the formula below subtracts numbers in a cell. Simply use
the minus sign (-). Don't forget, always start a formula with an equal sign (=).

2. The formula below subtracts the value in cell A2 and the value in cell A3
from the value in cell A1.

3. As you can imagine, this formula can get quite long. Simply use the SUM
function to shorten your formula. For example, the formula below subtracts
the values in the range A2:A9 from the value in cell A1.
Take a look at the screenshot below. To subtract the numbers in column B
from the numbers in column A, execute the following steps.
4a. First, subtract the value in cell B1 from the value in cell A1.

4b. Next, select cell C1, click on the lower right corner of cell C1 and drag it
down to cell C6.

Take a look at the screenshot below. To subtract a number from a range of


cells, execute the following steps.
5a. First, subtract the value in cell A8 from the value in cell A1. Fix the
reference to cell A8 by placing a $ symbol in front of the column letter and
row number ($A$8).
5b. Next, select cell B1, click on the lower right corner of cell B1 and drag it
down to cell B6.

Explanation: when we drag the formula down, the absolute reference ($A$8)
stays the same, while the relative reference (A1) changes to A2, A3, A4, etc.
If you're not a formula hero, use Paste Special to subtract in Excel without
using formulas!
6. For example, select cell C1.

7. Right click, and then click Copy (or press CTRL + c).
8. Select the range A1:A6.
9. Right click, and then click Paste Special.
10. Click Subtract.

11. Click OK.

Note: to subtract numbers in one column from numbers in another column, at


step 6, simply select a range instead of a cell.
MULTIPLY
To multiply numbers in Excel, use the asterisk symbol (*) or the PRODUCT
function. Learn how to multiply columns and how to multiply a column by a
constant.
1. The formula below multiplies numbers in a cell. Simply use the asterisk
symbol (*) as the multiplication operator. Don't forget, always start a formula
with an equal sign (=).

2. The formula below multiplies the values in cells A1, A2 and A3.

3. As you can imagine, this formula can get quite long. Use the PRODUCT
function to shorten your formula. For example, the PRODUCT function
below multiplies the values in the range A1:A7.
4. Here's another example.

Explanation: =A1*A2*A3*A4*A5*A6*A7*B1*B2*B3*B4*C1*8 produces


the exact same result.
Take a look at the screenshot below. To multiply two columns together,
execute the following steps.
5a. First, multiply the value in cell A1 by the value in cell B1.

5b. Next, select cell C1, click on the lower right corner of cell C1 and drag it
down to cell C6.
Take a look at the screenshot below. To multiply a column of numbers by a
constant number, execute the following steps.
6a. First, multiply the value in cell A1 by the value in cell A8. Fix the
reference to cell A8 by placing a $ symbol in front of the column letter and
row number ($A$8).

6b. Next, select cell B1, click on the lower right corner of cell B1 and drag it
down to cell B6.

Explanation: when we drag the formula down, the absolute reference ($A$8)
stays the same, while the relative reference (A1) changes to A2, A3, A4, etc.
If you're not a formula hero, use Paste Special to multiply in Excel without
using formulas!
7. For example, select cell C1.

8. Right click, and then click Copy (or press CTRL + c).
9. Select the range A1:A6.
10. Right click, and then click Paste Special.
11. Click Multiply.

12. Click OK.


Note: to multiply numbers in one column by numbers in another column, at
step 7, simply select a range instead of a cell.
DIVIDE
There's no DIVIDE function in Excel. Simply use the forward slash (/)
to divide numbers in Excel.
1. The formula below divides numbers in a cell. Use the forward slash (/) as
the division operator. Don't forget, always start a formula with an equal sign
(=).

2. The formula below divides the value in cell A1 by the value in cell B1.

3. Excel displays the #DIV/0! error when a formula tries to divide a number
by 0 or an empty cell.

4. The formula below divides 43 by 8. Nothing special.


5. You can use the QUOTIENT function in Excel to return the integer portion
of a division. This function discards the remainder of a division.

6. The MOD function in Excel returns the remainder of a division.

Take a look at the screenshot below. To divide the numbers in one column by
the numbers in another column, execute the following steps.
7a. First, divide the value in cell A1 by the value in cell B1.

7b. Next, select cell C1, click on the lower right corner of cell C1 and drag it
down to cell C6.
Take a look at the screenshot below. To divide a column of numbers by a
constant number, execute the following steps.
8a. First, divide the value in cell A1 by the value in cell A8. Fix the reference
to cell A8 by placing a $ symbol in front of the column letter and row number
($A$8).

8b. Next, select cell B1, click on the lower right corner of cell B1 and drag it
down to cell B6.

Explanation: when we drag the formula down, the absolute reference ($A$8)
stays the same, while the relative reference (A1) changes to A2, A3, A4, etc.
If you're not a formula hero, use Paste Special to divide in Excel without
using formulas!
9. For example, select cell C1.

10. Right click, and then click Copy (or press CTRL + c).
11. Select the range A1:A6.
12. Right click, and then click Paste Special.
13. Click Divide.

14. Click OK.


Note: to divide numbers in one column by numbers in another column, at
step 9, simply select a range instead of a cell.
SQUARE ROOT
The square root of a number is a value that, when multiplied by itself, gives
the number. The SQRT function in Excel returns the square root of a number.
1. First, to square a number, multiply the number by itself. For example, 4 * 4
= 16 or 4^2 = 16.

Note: to insert a caret ^ symbol, press SHIFT + 6.


2. The square root of 16 is 4.

3. Instead of using the SQRT function, you could also use an exponent of 1/2.
Don't forget the parentheses.

4. If a number is negative, the SQRT function returns the #NUM! error.

5. You can use the ABS function to remove the minus sign (-) from a
negative number.

Excel has no built-in function to calculate the nth root of a number. To


calculate the nth root of a number, simply raise that number to the power of
1/n.
6. For example, 5 * 5 * 5 or 5^3 is 5 raised to the third power.

7. The cube root of 125 is 5.

8. For example, 2 * 2 * 2 * 2 * 2 * 2 or 2^6 is 2 raised to the sixth power.

9. The sixth root of 64 is 2.


PERCENTAGE
Calculating percentages in Excel is easy. Percentage simply means 'out of
100', so 72% is '72 out of 100' and 4% is '4 out of 100', etc.
ENTER A PERCENTAGE
To enter a percentage in Excel, execute the following steps.
1. First, enter a decimal number.

2. On the Home tab, in the Number group, click the percentage symbol to
apply a Percentage format.

Result.

Note: to change the percentage in cell A1, simply select cell A1 and type a
new percentage (do not type a decimal number).

PERCENTAGE OF TOTAL
To calculate the percentage of a total in Excel, execute the following steps.
1. Enter the formula shown below. This formula divides the value in cell A1
by the value in cell B1. Simply use the forward slash (/) as the division
operator. Don't forget, always start a formula with an equal sign (=).

2. On the Home tab, in the Number group, click the percentage symbol to
apply a Percentage format.

Result.

3. On the Home tab, in the Number group, click the Increase Decimal button
once.

Result.
Note: Excel always uses the underlying precise value in calculations,
regardless of how many decimals you choose to display.

INCREASE BY PERCENTAGE
To increase a number by a percentage in Excel, execute the following steps.
1. Enter a number in cell A1. Enter a decimal number (0.2) in cell B1 and
apply a Percentage format.

2. To increase the number in cell A1 by 20%, multiply the number by 1.2


(1+0.2). The formula below does the trick.

Note: Excel uses a default order in which calculations occur. If a part of the
formula is in parentheses, that part will be calculated first.
3. To decrease a number by a percentage, simply change the plus sign to a
minus sign.

PERCENTAGE CHANGE
To calculate the percentage change between two numbers in Excel, execute
the following steps.
1. Enter an old number in cell A1 and a new number in cell B1.

2. First, calculate the difference between new and old.

3. Next, divide this result by the old number in cell A1.

Note: Excel uses a default order in which calculations occur. If a part of the
formula is in parentheses, that part will be calculated first.
4. On the Home tab, in the Number group, click the percentage symbol to
apply a Percentage format.

Result.

5. The (New-Old)/Old formula always works.


NAMED RANGE
Create a named range or a named constant and use these names in your Excel
formulas. This way you can make your formulas easier to understand.
To create a named range, execute the following steps.
1. Select the range A1:A4.

2. On the Formulas tab, in the Defined Names group, click Define Name.

3. Enter a name and click OK.


There's an even quicker way of doing this.
4. Select the range, type the name in the Name box and press Enter.

5. Now you can use this named range in your formulas. For example, sum
Prices.

To create a named constant, execute the following steps.


6. On the Formulas tab, in the Defined Names group, click Define Name.
7. Enter a name, type a value, and click OK.

8. Now you can use this named constant in your formulas.

If the tax rate changes, use the Name Manager to edit the value
and Excel automatically updates all the formulas that use TaxRate.
9. On the Formulas tab, in the Defined Names group, click Name Manager.
10. Select TaxRate and click Edit.

Note: use the Name Manager to view, create, edit and delete named ranges.
If your data has labels, you can quickly create named ranges in Excel.
11. For example, select the range A1:D13.

12. On the Formulas tab, in the Defined Names group, click Create from
Selection.
13. Check Top row and Left column and click OK.

14. Excel created 12 + 3 = 15 named ranges! Simply select a range and look
at the Name box.

15. Use the intersect operator (space) to return the intersection of two named
ranges.
PASTE OPTIONS
This example illustrates the various paste options in Excel. Cell B5 below
contains the SUM function which calculates the sum of the range B2:B4.
Furthermore, we changed the background color of this cell to yellow and
added borders.

PASTE
The Paste option pastes everything.
1. Select cell B5, right click, and then click Copy (or press CTRL + c).
2. Next, select cell F5, right click, and then click Paste under 'Paste Options:'
(or press CTRL + v).

Result.
VALUES
The Values option pastes the result of the formula.
1. Select cell B5, right click, and then click Copy (or press CTRL + c).
2. Next, select cell D5, right click, and then click Values under 'Paste
Options:'

Result.

Note: to quickly replace the formula in cell B5 with its own result, select cell
B5, press F2 (to edit the formula) and press F9.

FORMULAS
The Formulas option only pastes the formula.
1. Select cell B5, right click, and then click Copy (or press CTRL + c).
2. Next, select cell F5, right click, and then click Formulas under 'Paste
Options:'
Result.

FORMATTING
The Formatting option only pastes the formatting.
1. Select cell B5, right click, and then click Copy (or press CTRL + c).
2. Next, select cell D5, right click, and then click Formatting under 'Paste
Options:'

Result.

Note: the Format Painter copy/pastes formatting even quicker.


PASTE SPECIAL
The Paste Special dialog box offers many more paste options. To launch the
Paste Special dialog box, execute the following steps.
1. Select cell B5, right click, and then click Copy (or press CTRL + c).
2. Next, select cell D5, right click, and then click Paste Special.

The Paste Special dialog box appears.

Note: here you can also find the paste options described above. You can also
paste comments only, validation criteria only, use the source theme, all
except borders, column widths, formulas and number formats, values and
number formats. You can also use the Paste Special dialog box to perform
quick operations, skip blanks and transpose data.
DISCOUNT
If you know the original price and the discounted price, you can calculate
the percentage discount. If you know the original price and the percentage
discount, you can calculate the discounted price, etc.
CALCULATE PERCENTAGE
DISCOUNT
If you know the original price and the discounted price, you can calculate the
percentage discount.
1. First, divide the discounted price by the original price.

Note: you're still paying $60 of the original $80. This equals 75%.
2. Subtract this result from 1.

Note: if you're still paying 75%, you're not paying 25% (the percentage
discount).
3. On the Home tab, in the Number group, click the percentage symbol to
apply a Percentage format.
Result.

CALCULATE DISCOUNTED PRICE


If you know the original price and the percentage discount, you can calculate
the discounted price.
1. First, subtract the percentage discount from 1.

Note: you're still paying 75%.


2. Multiply this result by the original price.

Note: you're still paying 75% of the original $80. This equals $60.

CALCULATE ORIGINAL PRICE


If you know the discounted price and the percentage discount, you can
calculate the original price. Take a look at the previous screenshot. To
calculate the discounted price, we multiplied the original price by (1 -
Percentage Discount).
1. To calculate the original price, simply divide the discounted price by (1 -
Percentage Discount).
RIBBON
Excel selects the ribbon's Home tab when you open it. Learn how to use
the ribbon.
TABS
The tabs on the ribbon are: File, Home, Insert, Page layout, Formulas, Data,
Review, View and Help. The Home tab contains the most frequently used
commands in Excel.

GROUPS
Each tab contains groups of related commands. For example, the Page Layout
tab contains the Themes group, the Page Setup group, etc.

USE THE RIBBON


Let's use the ribbon to insert a table. Tables allow you to analyze your data in
Excel quickly and easily.
1. Click any single cell inside a data set.
2. On the Insert tab, in the Tables group, click Table.

3. Excel automatically selects the data for you. Check 'My table has headers'
and click on OK.

Result. Excel creates a nicely formatted table for you.


Note: use the drop-down arrows to quickly sort and filter. Visit our chapter
about tables to learn more about this topic.
COLLAPSE THE RIBBON
You can collapse the ribbon to get extra space on the screen. Right click
anywhere on the ribbon, and then click Collapse the Ribbon (or press CTRL
+ F1).

Result.
QUICK ACCESS TOOLBAR
If you use an Excel command frequently, you can add it to the Quick Access
Toolbar. By default, the Quick Access Toolbar contains four commands:
AutoSave, Save, Undo and Redo.
QUICK ACCESS TOOLBAR 101
To add a command to the Quick Access Toolbar, execute the following steps.
1. Right click the command, and then click Add to Quick Access Toolbar.

2. You can now find this command on the Quick Access Toolbar.

3. To remove a command from the Quick Access Toolbar, right click the
command, and then click Remove from Quick Access Toolbar.
COMMANDS NOT IN THE RIBBON
To add a command to the Quick Access Toolbar that isn't on the ribbon,
execute the following steps.
1. Click the down arrow.
2. Click More Commands.

3. Under Choose commands from, select Commands Not in the Ribbon.


4. Select a command and click Add.
Note: by default, Excel customizes the Quick Access Toolbar for all
documents (see orange arrow). Select the current saved workbook to only
customize the Quick Access Toolbar for this workbook.
5. Click OK.
6. You can now find this command on the Quick Access Toolbar.
CUSTOMIZE THE RIBBON
The ribbon in Excel can be customized. You can easily create your own tab
and add commands to it.

1. Right click anywhere on the ribbon, and then click Customize the Ribbon.

2. Click New Tab.


3. Add the commands you like.
4. Rename the tab and group.

Note: you can also add new groups to existing tabs. To hide a tab, uncheck
the corresponding check box. Click Reset, Reset all customizations, to delete
all Ribbon customizations.
5. Click OK.
Result.
DEVELOPER TAB
Turn on the Developer tab in Excel if you want to create a macro, export and
import XML files or insert controls.
To turn on the Developer tab, execute the following steps.
1. Right click anywhere on the ribbon, and then click Customize the Ribbon.

2. Under Customize the Ribbon, on the right side of the dialog box, select
Main tabs (if necessary).
3. Check the Developer check box.
4. Click OK.
5. You can find the Developer tab next to the View tab.
STATUS BAR
The status bar in Excel can be quite useful. By default, the status bar at the
bottom of the window displays the average, count and sum of selected cells.
STATUS BAR 101
The status bar in Excel can do the math for you.
1. Select the range A1:A3.

2. Look at the status bar to see the average, count and sum of these cells.

3. To quickly change the workbook view, use the 3 view shortcuts on the
status bar.

Note: visit our page about workbook views to learn more about this topic.
4. Use the zoom slider on the status bar to quickly zoom in or out to a preset
percentage.
Note: use the ribbon to zoom to a specific percentage or to zoom to a
selection.
CUSTOMIZE STATUS BAR
Many status bar options are selected by default. Right click the status bar to
activate even more options.
1. Right click the status bar.
2. For example, click Caps Lock.

Note: this doesn't turn on Caps Lock (see image above, Caps Lock is still
turned off). The status bar displays the Caps Lock status now.
3. Press the Caps Lock key on your keyboard.
4. Excel displays the text Caps Lock in the status bar.
5. Right click the status bar.
6. For example, click Minimum.

7. Select the range A1:A3.

8. Look at the status bar to see the average, count, minimum and sum of these
cells.

STATUS BAR SECRETS


Here's a little secret: Excel uses the status bar in many other situations. If you
don't like this, hide the status bar.
1. For example, filter a table.
2. Excel uses the status bar to display the number of visible records.

3. Hover over a cell with one or more comments.

4. Excel uses the status bar to display the name of the author.

5. If you have Excel 2016, use the shortcut CTRL + SHIFT + F1 to hide the
ribbon and the status bar.
6. To only hide the status bar, add the following code line to the Workbook
Open Event:
Application.DisplayStatusBar = False
7. Use the StatusBar property in Excel VBA to display a message on the
status bar.
CHECKBOX
Inserting a checkbox in Excel is easy. For example, use checkboxes to create
a checklist or a dynamic chart. You can also insert a check mark symbol.
INSERT A CHECKBOX
To insert a checkbox, execute the following steps.
1. On the Developer tab, in the Controls group, click Insert.

2. Click Check Box in the Form Controls section.

3. For example, draw a checkbox in cell B2.

4. To remove "Check Box 1", right click the checkbox, click the text and
delete it.
LINK A CHECKBOX
To link a checkbox to a cell, execute the following steps.
1. Right click the checkbox and click Format Control.

2. Link the checkbox to cell C2.

3. Test the checkbox.


4. Hide column C.
5. For example, enter a simple IF function.

6. Uncheck the checkbox.

Note: read on for some cool examples.

CREATE A CHECKLIST
To create a checklist, execute the following steps.
1. Draw a checkbox in cell B2.
2. Click on the lower right corner of cell B2 and drag it down to cell B11.

3. Right click the first checkbox and click Format Control.


4. Link the checkbox to the cell next to it (cell C2).
5. Repeat step 4 for the other checkboxes.
6. Insert a COUNTIF function to count the number of items packed.

7. Hide column C.
8. Insert an IF function that determines if you're good to go.
9. Click all the checkboxes.

Note: we created a conditional formatting rule to automatically change the


background color of cell B16. Try it yourself. Download the Excel file and
test the checklist (second sheet).
DYNAMIC CHART
Let's take a look at one more cool example that uses checkboxes. A dynamic
chart.
1. For example, create a combination chart with two data series (Rainy Days
and Profit).
2. Add two checkboxes.

3. Right click the first checkbox and click Format Control. Link this
checkbox to cell B15.
4. Right click the second checkbox and click Format Control. Link this
checkbox to cell C15.

5. Uncheck the second checkbox. Cell C15 below changes to FALSE.


We're now going to create two new data series.
6. Insert the IF function shown below. Use the fill handle to copy this
formula down to cell F13.
7. Repeat this step for the new Profit data series.

Explanation: if the checkbox is checked, the old and new data series are the
same. If the checkbox is unchecked, the new data series changes to a range
with #N/A errors.
8. Use the new data series to create the combination chart. To achieve this,
select the chart, right click, and then click Select Data.

9. Uncheck the first checkbox and check the second checkbox.


Note: try it yourself. Download the Excel file and test the dynamic chart
(third sheet).

DELETE CHECKBOXES
To delete multiple checkboxes, execute the following steps.
1. Hold down CTRL and use the left mouse button to select multiple
checkboxes.

2. Press Delete.
POWERFUL CHECKBOXES
Finally, you can use VBA to create powerful checkboxes in Excel. Instead of
inserting a Form control, simply insert an ActiveX control.
1. Insert a checkbox (ActiveX control).
2. At step 6, you can add your own code lines to automate all kinds of tasks.
For example, add the following code lines to hide and unhide column F.
If CheckBox1.Value = True Then Columns("F").Hidden = True
If CheckBox1.Value = False Then Columns("F").Hidden = False

Note: maybe coding is one step too far for you at this stage, but it shows you
one of the many other powerful features Excel has to offer.
THEMES
Excel offers themes to change the look of your workbook with the click of a
button. Each theme consists of 12 colors, two fonts (Headings and Body) and
effects for shapes and SmartArt.
1. On the Page Layout tab, in the Themes group, you can see that the
worksheet below uses the standard Office theme.

2. On the Home tab, in the Font group, you can view the Theme Colors and
Theme Fonts (Calibri Light and Calibri) of this theme.
3. On the Page Layout tab, in the Themes group, click Themes and choose
the Badge theme.

4. On the Home tab, in the Font group, you can view the Theme Colors and
Theme Fonts (Impact and Gill Sans MT) of this theme.
Note: on the Page Layout tab, in the Themes group, click Colors, Customize
Colors to create new theme colors or click Fonts, Customize Fonts to create
new theme fonts. Next, click Themes, Save Current Theme to save your
theme in the Document Themes folder. You can now use this theme in all
your workbooks. You can even use this theme in Word and PowerPoint!
VIEW MUTIPLE
WORKBOOK
If you want to view multiple Excel workbooks at the same time, execute the
following steps.
1. First, open two or more workbooks.
2. On the View tab, in the Window group, click Arrange All.

3. Select the desired arrange setting. For example, click Horizontal.

4. Click OK.
5. On the View tab, in the Window group, click View Side by Side (by
default, Synchronous Scrolling is activated), to scroll both workbooks at the
same time.
AUTORECOVER
Excel periodically saves a copy of your Excel file. Learn how to recover a
file that was never saved and how to recover a file that has been saved at least
once.
If Excel crashes, it displays the Document Recovery Pane, the first time you
open Excel again. This is a quick way to recover the last autosaved file.

FILE THAT WAS NEVER SAVED


If you've never saved a file and you accidentally click Don't Save below
when you close Excel (or Excel crashes), execute the following steps to
recover the last autosaved file.

Note: Excel tells you if a recent copy will be available.


1. On the File tab, click Info.
2. Click Manage Workbook, Recover Unsaved Workbooks.
3. Click the last autosaved file.

SAVED AT LEAST ONCE


If you've saved a file at least once and you accidentally click Don't Save
below when you close Excel (or Excel crashes), execute the following steps
to recover the last autosaved file.

Note: Excel tells you if a recent copy will be available.


1. Open the Excel file!
2. On the File tab, click Info.
3. Under Manage Workbook, click the last autosaved file.
VERSIONS
When you are working on an Excel file, Excel saves all previous autosaved
files under Manage Workbook.
1. On the File tab, click Info.
2. At any time, you can go back to a previous version of your Excel file.
Note: Excel deletes all previous autosaved files when you close the Excel
file.

OPTIONS
To change the AutoRecover options, execute the following steps.
1. On the File tab, click Options, Save.
Note: you can save AutoRecover information every x minutes, change the
AutoRecover file location, etc.
WORKSHEET
A worksheet is a collection of cells where you keep and manipulate the data.
Each Excel workbook can contain multiple worksheets.
SELECT A WORKSHEET
When you open an Excel workbook, Excel automatically selects Sheet1 for
you. The name of the worksheet appears on its sheet tab at the bottom of the
document window.

INSERT A WORKSHEET
You can insert as many worksheets as you want. To quickly insert a
new worksheet, click the plus sign at the bottom of the document window.
Result:

RENAME A WORKSHEET
To give a worksheet a more specific name, execute the following steps.
1. Right click on the sheet tab of Sheet1.
2. Choose Rename.

3. For example, type Sales 2016.

MOVE A WORKSHEET
To move a worksheet, click on the sheet tab of the worksheet you want to
move and drag it into the new position.
1. For example, click on the sheet tab of Sheet2 and drag it before Sales
2016.
Result:

DELETE A WORKSHEET
To delete a worksheet, right click on a sheet tab and choose Delete.
1. For example, delete Sheet2.

Result:

COPY A WORKSHEET
Imagine, you have got the sales for 2016 ready and want to create the exact
same sheet for 2017, but with different data. You can recreate the worksheet,
but this is time-consuming. It's a lot easier to copy the entire worksheet and
only change the numbers.
1. Right click on the sheet tab of Sales 2016.
2. Choose Move or Copy.

The 'Move or Copy' dialog box appears.


3. Select (move to end) and check Create a copy.

4. Click OK.
Result:
Note: you can even copy a worksheet to another Excel workbook by selecting
the specific workbook from the drop-down list (see the dialog box shown
earlier).
SPLIT
Split your worksheet to view multiple distant parts of your worksheet at once.
To split your worksheet (window) into an upper and lower part (pane),
execute the following steps.
1. First, select a cell in column A.

2. On the View tab, in the Window group, click Split.

3. Notice the two vertical scroll bars. For example, use the lower vertical
scroll bar to move to row 49. As you can see, the first 6 rows remain visible.
4. To change the window layout, use the horizontal split bar that divides the
panes.

5. To remove the split, simply double click the split bar.


Note: in a similar way, you can split your window into a left and right pane
by selecting a cell in row 1 before you click View, Split. You can even split
your window into four panes by selecting a cell that is not column A or row
1. Any changes you make to one pane are immediately reflected in the other
ones.
SPELL CHECK
Learn how to check the spelling of text in Excel, add words to your custom
dictionary or AutoCorrect list and learn how to change spell checking
options.
1. Open a worksheet with some spelling errors.

Note: to spell check the entire worksheet, simply select a single cell. If you
select multiple cells, Excel only checks the spelling for those cells.
2. On the Review tab, in the Proofing group, click Spelling (or press F7).
3. Select a suggestion and click Change to correct the misspelling
in cell A2.
Note: use the drop-down list to change the Dictionary language.
4. Click Change All to correct all instances of this misspelling (cell A2 and
cell A7).

5. Click Ignore Once to ignore the misspelling in cell A2. Click Ignore All to
ignore all instances of this misspelling.
6. Click Add to Dictionary to add this word to your custom dictionary.
7. To edit this list, click Options (see image above) and then click Custom
Dictionaries (see image below).

Note: to directly open the Custom Dictionaries dialog box, click File,
Options, Proofing and then click Custom Dictionaries.
8. Click AutoCorrect to add this word to your AutoCorrect list (every time
you type anwer, Excel will replace it with answer).

9. To edit this list, click Options and then click AutoCorrect Options.
Note: you can also add abbreviations to your AutoCorrect list. For example,
if you type ee.com, Excel can replace it with www.excel-easy.com.
10. To spell check words in a formula bar, select the words and press F7.

11. To spell check the entire workbook, hold down CTRL to select multiple
sheets and press F7.

12. By default, Excel ignores words in UPPERCASE, ignores words that


contain numbers, ignores internet and file addresses and flags repeated
words.
Note: to change these spell-checking options, click File, Options, Proofing.
FREEZEPANES
If you have a large table of data in Excel, it can be useful to freeze rows or
columns. This way you can keep rows or columns visible while scrolling
through the rest of the worksheet.
FREEZE TOP ROW
To freeze the top row, execute the following steps.
1. On the View tab, in the Window group, click Freeze Panes.

2. Click Freeze Top Row.

3. Scroll down to the rest of the worksheet.


Result. Excel automatically adds a dark grey horizontal line to indicate that
the top row is frozen.
UNFREEZE PANES
To unlock all rows and columns, execute the following steps.
1. On the View tab, in the Window group, click Freeze Panes.

2. Click Unfreeze Panes.

FREEZE FIRST COLUMN


To freeze the first column, execute the following steps.
1. On the View tab, in the Window group, click Freeze Panes.

2. Click Freeze First Column.

3. Scroll to the right of the worksheet.


Result. Excel automatically adds a dark grey vertical line to indicate that the
first column is frozen.

FREEZE ROWS
To freeze rows, execute the following steps.
1. For example, select row 4.
2. On the View tab, in the Window group, click Freeze Panes.

3. Click Freeze Panes.

4. Scroll down to the rest of the worksheet.


Result. All rows above row 4 are frozen. Excel automatically adds a dark
grey horizontal line to indicate that the first three rows are frozen.
FREEZE COLUMNS
To freeze columns, execute the following steps.
1. For example, select column E.
2. On the View tab, in the Window group, click Freeze Panes.

3. Click Freeze Panes.

4. Scroll to the right of the worksheet.


Result. All columns to the left of column E are frozen. Excel automatically
adds a dark grey vertical line to indicate that the first four columns are frozen.
FREEZE CELLS
To freeze cells, execute the following steps.
1. For example, select cell C3.
2. On the View tab, in the Window group, click Freeze Panes.

3. Click Freeze Panes.

4. Scroll down and to the right.


Result. The orange region above row 3 and to the left of column C is frozen.
MAGIC FREEZE BUTTON
Add the magic Freeze button to the Quick Access Toolbar to freeze the top
row, the first column, rows, columns or cells with a single click.
1. Click the down arrow.
2. Click More Commands.

3. Under Choose commands from, select Commands Not in the Ribbon.


4. Select Freeze Panes and click Add.
5. Click OK.
6. To freeze the top row, select row 2 and click the magic Freeze button.

7. Scroll down to the rest of the worksheet.


Result. Excel automatically adds a dark grey horizontal line to indicate that
the top row is frozen.
Note: to unlock all rows and columns, click the Freeze button again. To
freeze the first 4 columns, select column E (the fifth column) and click the
magic Freeze button, etc.
GROUP WORKSHEET
You can group worksheets in Excel if you want to edit multiple worksheets at
the same time. Our workbook contains 3 similar worksheets (North, Mid and
South) and a blank fourth worksheet.
1. To group worksheets, hold down CTRL and click the sheet tabs of the
sheets you want to group.

2. Release CTRL.
Now you can edit multiple worksheets at the same time.
3. For example, on the North sheet, change the value of cell B2 to $1000 and
delete row 4.

4. Go to the other two worksheets and you'll see that these worksheets have
been edited as well.
5. To ungroup, right click one of the sheet tabs and click Ungroup Sheets or
click any sheet tab outside the group. For example, the sheet tab of Sheet4.
CONSOLIDATE
You can use Excel's Consolidate feature to consolidate
your worksheets (located in one workbook or multiple workbooks) into one
worksheet. Below you can find the workbooks of three districts.
Before you start: if your worksheets are identical, it's probably easier to
create 3D-references (if you have one workbook) or External References (if
you have multiple workbooks) to consolidate your data.
As you can see, the worksheets are not identical. However, the beauty of the
Consolidate feature is that it can easily sum, count, average, etc this data by
looking at the labels. This is a lot easier than creating formulas.
1. Open all three workbooks.
2. Open a blank workbook. On the Data tab, in the Data Tools group, click
Consolidate.

3. Choose the Sum function to sum the data.


4. Click in the Reference box, select the range A1:E4 in the district1
workbook, and click Add.
5. Repeat step 4 for the district2 and district3 workbook.
6. Check Top row, Left column and Create links to source data.
Note: if you don't check Top row and Left column, Excel sums all cells that
have the same position. For example, cell B2 (in district1.xlsx) + cell B2 (in
district2.xlsx) + cell B2 (in district3.xlsx). Because our worksheets are not
identical, we want Excel to sum cells that have the same labels. If you check
Create links to source data, Excel creates a link to your source data (your
consolidated data will be updated if your source data changes) and creates
an outline.
7. Click OK.
Result.
VIEW MULTIPLE
WORKSHEETS
If you want to view multiple Excel worksheets at the same time, execute the
following steps.
1. Open a workbook.
2. On the View tab, in the Window group, click New Window.

Excel opens a new window containing another view of the document.


3. On the View tab, in the Window group, click Arrange All.

4. Select the desired arrange setting. For example, click Horizontal.


5. Click OK.
The titles (view-multiple-worksheets:1 and view-multiple-worksheets:2)
indicate that two windows of the same file are open.
6. In the lower window, select the sheet tab of Wk2. You can now view the
sales in week 1 and week 2 at the same time.
Note: any changes you make to one window are immediately reflected in the
other window.
7. On the View tab, in the Window group, click View Side by Side (by
default, Synchronous Scrolling is activated), to scroll both worksheets at the
same time.
GET SHEET NAME
To return the sheet name in a cell, use CELL, FIND and MID in Excel.
There's no built-in function in Excel that can get the sheet name.
1. The CELL function below returns the complete path, workbook name and
current worksheet name.

Note: instead of using A1, you can refer to any cell on the first worksheet to
get the name of this worksheet.
2. Use the FIND function to find the position of the right bracket. Add 1 to
return the start position of the sheet name.

3. To extract a substring, starting in the middle of a string, use the MID


function. First argument (formula from step 1). Second argument (formula
from step 2). Third argument (31).
Explanation: The MID function shown above starts at position 24 and
extracts 31 characters (maximum length of a worksheet name).
4. To get the name of the second worksheet, simply refer to any cell on the
second worksheet.

You might also like