101 Excel 2013 Tips, Tricks and Timesavers

101 Excel® 2013 Tips, Tricks & Timesavers

Published by
John Wiley & Sons, Inc.
111 River Street
Hoboken, NJ 07030-5774
www.wiley.com

Copyright © 2013 by John Wiley & Sons, Inc., Hoboken, New Jersey

Published by John Wiley & Sons, Inc., Hoboken, New Jersey

Published simultaneously in Canada

No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at
www.wiley.com/go/permissions
.

Trademarks:
Wiley and the Wiley logo are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates in the United States and other countries, and may not be used without written permission. Excel is a registered trademark of Microsoft Corporation in the United States and/or other countries. All other trademarks are the property of their respective owners. John Wiley & Sons, Inc., is not associated with any product or vendor mentioned in this book.

Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose. No warranty may be created or extended by sales or promotional materials. The advice and strategies contained herein may not be suitable for every situation. This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional services. If professional assistance is required, the services of a competent professional person should be sought. Neither the publisher nor the author shall be liable for damages arising herefrom. The fact that an organization or Website is referred to in this work as a citation and/or a potential source of further information does not mean that the author or the publisher endorses the information the organization or Website may provide or recommendations it may make. Further, readers should be aware that Internet Websites listed in this work may have changed or disappeared between when this work was written and when it is read. FULFILLMENT OF EACH COUPON OFFER IS THE SOLE RESPONSIBILITY OF THE OFFEROR.

For general information on our other products and services, please contact our Customer Care Department within the U.S. at 877-762-2974, outside the U.S. at 317-572-3993, or fax 317-572-4002.

For technical support, please visit
www.wiley.com/techsupport
.

Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic books.

Library of Congress Control Number: 2013936846

ISBN: 978-1-118-64218-4; ISBN: 978-1-118-64232-0 (ebk); ISBN: 978-1-118-65106-3 (ebk); ISBN: 978-1-118-65114-8 (ebk)

Manufactured in the United States of America

10 9 8 7 6 5 4 3 2 1

About the Author

John Walkenbach
is a leading authority on spreadsheet software, and principal of J-Walk and Associates Inc., a one-person consulting firm based in southern Arizona. John is the author of more than 50 spreadsheet books and has written more than 300 articles and reviews for a variety of publications, including PC World, InfoWorld, PC Magazine, Windows, and PC/Computing. John also maintains a popular website (The Spreadsheet Page,
http://spreadsheetpage.com
) and is the developer of several Excel utilities, including the Power Utility Pak, an award-winning add-in for Excel. John graduated from the University of Missouri and earned a Masters and PhD from the University of Montana.

Publisher’s Acknowledgments

We’re proud of this book; please send us your comments at
dummies.custhelp.com
. For other comments, please contact our Customer Care Department within the U.S. at 877-762-2974, outside the U.S. at 317-572-3993, or fax 317-572-4002.

Some of the people who helped bring this book to market include the following:

Acquisitions, Editorial, and Media Development

Senior Project Editor: Mark Enochs

Acquisitions Editor: Katie Mohr

Copy Editor: Melba Hopper

Technical Editor: Mike Talley

Editorial Manager: Leah Michael

Vertical Websites Project Manager: Laura Moss-Hollister

Supervising Producer: Rich Graves

Vertical Websites Associate Producers: Josh Frank, Marilyn Hummel, Douglas Kuhn, Shawn Patrick

Editorial Assistant: Annie Sullivan

Sr. Editorial Assistant: Cherie Case

Composition Services

Project Coordinator: Katherine Crocker

Layout and Graphics: Melanee Habig

Proofreader: Melissa Cossell

Indexer: BIM Indexing & Proofreading Services

Publishing and Editorial for Technology Dummies

Richard Swadley, Vice President and Executive Group Publisher

Andy Cummings, Vice President and Publisher

Mary Bednarek, Executive Acquisitions Director

Mary C. Corder, Editorial Director

Publishing for Consumer Dummies

Diane Graves Steele, Vice President and Publisher

Composition Services

Debbie Stailey, Director of Composition Services

101 Excel® 2013 Tips, Tricks & Timesavers

Table of Contents

Introduction

Part I: Workbooks and Files

Tip 1: Changing the Look of Excel

Tip 2: Customizing the Quick Access Toolbar

Tip 3: Customizing the Ribbon

Tip 4: Understanding Protected View

Tip 5: Understanding AutoRecover

Tip 6: Using a Workbook in a Browser

Tip 7: Saving to a Read-Only Format

Tip 8: Generating a List of Filenames

Tip 9: Generating a List of Sheet Names

Tip 10: Using Document Themes

Tip 11: Understanding Excel Compatibility Issues

Tip 12: Where to Change Printer Settings

Part II: Formatting

Tip 13: Working with Merged Cells

Tip 14: Indenting Cell Contents

Tip 15: Using Named Styles

Tip 16: Creating Custom Number Formats

Tip 17: Using Custom Number Formats to Scale Values

Tip 18: Creating a Bulleted List

Tip 19: Shading Alternate Rows Using Conditional Formatting

Tip 20: Formatting Individual Characters in a Cell

Tip 21: Using the Format Painter

Tip 22: Inserting a Watermark

Tip 23: Showing Text and a Value in a Cell

Tip 24: Avoiding Font Substitution for Small Point Sizes

Tip 25: Updating Old Fonts

Part III: Formulas

Tip 26: Resizing the Formula Bar

Tip 27: Monitoring Formula Cells from Any Location

Tip 28: Learning Some AutoSum Tricks

Tip 29: Knowing When to Use Absolute and Mixed References

Tip 30: Avoiding Error Displays in Formulas

Tip 31: Creating Worksheet-Level Names

Tip 32: Using Named Constants

Tip 33: Sending Personalized E-Mail from Excel

Tip 34: Looking Up an Exact Value

Tip 35: Performing a Two-Way Lookup

Tip 36: Performing a Two-Column Lookup

Tip 37: Calculating Holidays

Tip 38: Calculating a Person’s Age

Tip 39: Working with Pre-1900 Dates

Tip 40: Displaying a Live Calendar in a Range

Tip 41: Returning the Last Nonblank Cell in a Column or Row

Tip 42: Various Methods of Rounding Numbers

Tip 43: Converting Between Measurement Systems

Tip 44: Counting Nonduplicated Entries in a Range

Tip 45: Using the AGGREGATE Function

Tip 46: Making an Exact Copy of a Range of Formulas

Tip 47: Using the Background Error-Checking Features

Tip 48: Using the Inquire Add-In

Tip 49: Hiding and Locking Your Formulas

Tip 50: Using the INDIRECT Function

Tip 51: Formula Editing in Dialog Boxes

Tip 52: Converting a Vertical Range to a Table

Part IV: Working with Data

Tip 53: Selecting Cells Efficiently

Tip 54: Automatically Filling a Range with a Series

Tip 55: Fixing Trailing Minus Signs

Tip 56: Restricting Cursor Movement to Input Cells

Tip 57: Transforming Data with and Without Using Formulas

Tip 58: Creating a Drop-Down List in a Cell

Tip 59: Comparing Two Ranges by Using Conditional Formatting

Tip 60: Finding Duplicates by Using Conditional Formatting

Tip 61: Working with Credit Card Numbers

Tip 62: Identifying Excess Spaces

Tip 63: Transposing a Range

Tip 64: Using Flash Fill to Extract Data

Tip 65: Using Flash Fill to Combine Data

Tip 66: Inserting Stock Information

Tip 67: Getting Data from a Web Page

Tip 68: Importing a Text File into a Worksheet Range

Tip 69: Using the Quick Analysis Feature

Tip 70: Filling the Gaps in a Report

Tip 71: Performing Inexact Searches

Tip 72: Proofing Your Data with Audio

Tip 73: Getting Data from a PDF File

Part V: Tables and Pivot Tables

Tip 74: Understanding Tables

Tip 75: Using Formulas with a Table

Tip 76: Numbering Table Rows Automatically

Tip 77: Identifying Data Appropriate for a Pivot Table

Tip 78: Using a Pivot Table Instead of Formulas

Tip 79: Controlling References to Cells Within a Pivot Table

Tip 80: Creating a Quick Frequency Tabulation

Tip 81: Grouping Items by Date in a Pivot Table

Tip 82: Creating Pivot Tables with Multiple Groupings

Tip 83: Using Pivot Table Slicers and Timelines

Part VI: Charts and Graphics

Tip 84: Understanding Recommended Charts

Tip 85: Customizing Charts

Tip 86: Making Charts the Same Size

Tip 87: Creating a Chart Template

Tip 88: Creating a Combination Chart

Tip 89: Handling Missing Data in a Chart

Tip 90: Using High-Low Lines in a Chart

Tip 91: Using Multi-Level Category Labels

Tip 92: Linking Chart Text to Cells

Tip 93: Freezing a Chart

Tip 94: Creating a Chart Directly in a Range

Tip 95: Creating Minimalistic Charts

Tip 96: Applying Chart Data Labels from a Range

Tip 97: Grouping Charts and Other Objects

Tip 98: Taking Pictures of Ranges

Tip 99: Changing the Look of Cell Comments

Tip 100: Enhancing Images

Tip 101: Saving Shapes, Charts, and Ranges as Images

Introduction

Excel is a very popular program. Millions of people throughout the world use it on a regular basis. But it’s a safe bet that the vast majority of users have yet to discover some of the amazing things this product can do. If I’ve done my job, you’ll find enough useful information in this book to help you use Excel on a new level.

What You Should Know

This book isn’t a beginner’s guide to Excel. Rather, it’s a book for those who already use Excel but realize that they have a lot more to learn. This book contains 101 tips and tricks that I’ve learned over the years, and I’m certain that about 99 percent of all Excel users will find something new and useful in these pages.

If you have absolutely no experience with Excel, this book might not be the best choice for you. To get the most out of this book, you should have some background in using Excel. Specifically, I assume that you know how to accomplish the following tasks with Excel:

→ Create workbooks, insert worksheets, save files, and perform other basic tasks.

→ Navigate through a workbook.

→ Use the Excel Ribbon and dialog boxes.

→ Use basic Windows features, such as file management and copy-and-paste techniques.

What You Should Have

To use this book, you need a copy of Microsoft Excel 2013 for Windows. If you use an older version of Excel, some of the tips won’t apply.

As far as hardware goes for the computer you use to run Excel, the faster, the better. And, of course, the more memory in your system, the happier you’ll be.

Conventions in This Book

Take a minute to skim this section and become familiar with some of the typographic conventions used throughout this book.

Formula listings

Formulas usually appear on a separate line in monospace font. For example, I might list the following formula:

=VLOOKUP(StockNumber,PriceList,2,False)

Excel supports a special type of formula known as an
array formula.
When you enter an array formula, press Ctrl+Shift+Enter (not just Enter). Excel encloses an array formula in curly braces to remind you that it’s an array formula.

Don’t type the curly braces for an array formula. Excel puts them in automatically.

Key names

Names of keys on the keyboard appear in normal type: for example, Alt, Home, PgDn, and Ctrl. When you need to press two or more keys simultaneously, the keys are connected with a plus sign: Press Ctrl+G to display the Go To dialog box.

The Ribbon

Excel 2013 features the Ribbon user interface, which was introduced in Excel 2007.

When you need to select a command by using the Ribbon, I describe the command by using the tab name, the group name, and the command name: for example, Choose Home⇒Alignment⇒Wrap Text. This command translates to “Click the Home tab, locate the Alignment group, and then click the Wrap Text button.”

Some commands use a drop-down Ribbon control. For example: Home⇒Styles⇒Conditional Formatting⇒New Rule. In this case, you need to click the down-pointing arrow on the Conditional Formatting control in order to access the New Rule command.

Many commands begin with the word File. Clicking the File tab takes you to the Backstage View.

Functions, procedures, and named ranges

The names of the Excel worksheet functions appear in all uppercase letters: for example, “Use the SUM function to add the values in column A.”

Unless you’re dealing with text inside quotation marks, Excel isn’t sensitive to case. In other words, both the following formulas produce the same result:

=SUM(A1:A50)

=sum(a1:a50)

Excel, however, converts the characters in the second formula to uppercase.

Mouse conventions

The mouse terminology in this book is all standard fare: pointing, clicking, right-clicking, dragging, and so on. You know the drill.

What the icons mean

Throughout this book, icons appear in the left margin to call your attention to points that are particularly important.

I use Note icons to tell you that something is important — perhaps a concept that can help you master the task at hand or something fundamental for understanding subsequent material.

  I use Caution icons when the operation I’m describing can cause problems if you’re not careful.

  I use the Cross-Reference icon to refer you to other tips that have more to say on a particular topic.

How This Book Is Organized

To provide some semblance of order, I grouped these tips and tricks into six parts:

→ Part I: Workbooks and Files

→ Part II: Formatting

→ Part III: Formulas

→ Part IV: Working with Data

→ Part V: Tables and Pivot Tables

→ Part VI: Charts and Graphics

How to Use This Book

This book really isn’t intended to be read from cover to cover, as you would read a novel — but I’m sure that some people will do so. More likely, you’ll want to use it as a reference book and consult it when necessary. If you’re faced with a challenging task, you may want to check the index first to see whether the book specifically addresses your problem. The order of the parts and tips is arbitrary. Most readers will probably skip around and pick up useful tidbits here and there.

There are also an additional 30 bonus tips that you’ll find at
www.dummies.com/go/101excel2013tips
.

About the Power Utility Pak Offer

Toward the back of this book is a coupon that you can redeem for a discounted copy of my award-winning Power Utility Pak — a collection of useful Excel utilities, plus many new worksheet functions.

You can also use this coupon to purchase the complete VBA source code for a nominal fee. Study-ing the code is an excellent way to pick up some useful programming techniques. You can take the product for a test drive by downloading the trial version from my website at
http://spreadsheetpage.com
.

Power Utility Pak version 7 requires the Windows version of Excel 2007 or later.

Other books

The House of Djinn by Suzanne Fisher Staples
Plain and Fancy by Wanda E. Brunstetter
Paper Chains by Nicola Moriarty
Nightwalker by Connie Hall
Death in Twilight by Jason Fields
Stolen Chances by Elisabeth Naughton
Nobody Does It Better by Julie Kenner
The Mourning Sexton by Michael Baron
The Obsidian Blade by Pete Hautman