- •About the Author
- •About the Technical Editor
- •Credits
- •Is This Book for You?
- •Software Versions
- •Conventions This Book Uses
- •What the Icons Mean
- •How This Book Is Organized
- •How to Use This Book
- •What’s on the Companion CD
- •What Is Excel Good For?
- •What’s New in Excel 2010?
- •Moving around a Worksheet
- •Introducing the Ribbon
- •Using Shortcut Menus
- •Customizing Your Quick Access Toolbar
- •Working with Dialog Boxes
- •Using the Task Pane
- •Creating Your First Excel Worksheet
- •Entering Text and Values into Your Worksheets
- •Entering Dates and Times into Your Worksheets
- •Modifying Cell Contents
- •Applying Number Formatting
- •Controlling the Worksheet View
- •Working with Rows and Columns
- •Understanding Cells and Ranges
- •Copying or Moving Ranges
- •Using Names to Work with Ranges
- •Adding Comments to Cells
- •What Is a Table?
- •Creating a Table
- •Changing the Look of a Table
- •Working with Tables
- •Getting to Know the Formatting Tools
- •Changing Text Alignment
- •Using Colors and Shading
- •Adding Borders and Lines
- •Adding a Background Image to a Worksheet
- •Using Named Styles for Easier Formatting
- •Understanding Document Themes
- •Creating a New Workbook
- •Opening an Existing Workbook
- •Saving a Workbook
- •Using AutoRecover
- •Specifying a Password
- •Organizing Your Files
- •Other Workbook Info Options
- •Closing Workbooks
- •Safeguarding Your Work
- •Excel File Compatibility
- •Exploring Excel Templates
- •Understanding Custom Excel Templates
- •Printing with One Click
- •Changing Your Page View
- •Adjusting Common Page Setup Settings
- •Adding a Header or Footer to Your Reports
- •Copying Page Setup Settings across Sheets
- •Preventing Certain Cells from Being Printed
- •Preventing Objects from Being Printed
- •Creating Custom Views of Your Worksheet
- •Understanding Formula Basics
- •Entering Formulas into Your Worksheets
- •Editing Formulas
- •Using Cell References in Formulas
- •Using Formulas in Tables
- •Correcting Common Formula Errors
- •Using Advanced Naming Techniques
- •Tips for Working with Formulas
- •A Few Words about Text
- •Text Functions
- •Advanced Text Formulas
- •Date-Related Worksheet Functions
- •Time-Related Functions
- •Basic Counting Formulas
- •Advanced Counting Formulas
- •Summing Formulas
- •Conditional Sums Using a Single Criterion
- •Conditional Sums Using Multiple Criteria
- •Introducing Lookup Formulas
- •Functions Relevant to Lookups
- •Basic Lookup Formulas
- •Specialized Lookup Formulas
- •The Time Value of Money
- •Loan Calculations
- •Investment Calculations
- •Depreciation Calculations
- •Understanding Array Formulas
- •Understanding the Dimensions of an Array
- •Naming Array Constants
- •Working with Array Formulas
- •Using Multicell Array Formulas
- •Using Single-Cell Array Formulas
- •Working with Multicell Array Formulas
- •What Is a Chart?
- •Understanding How Excel Handles Charts
- •Creating a Chart
- •Working with Charts
- •Understanding Chart Types
- •Learning More
- •Selecting Chart Elements
- •User Interface Choices for Modifying Chart Elements
- •Modifying the Chart Area
- •Modifying the Plot Area
- •Working with Chart Titles
- •Working with a Legend
- •Working with Gridlines
- •Modifying the Axes
- •Working with Data Series
- •Creating Chart Templates
- •Learning Some Chart-Making Tricks
- •About Conditional Formatting
- •Specifying Conditional Formatting
- •Conditional Formats That Use Graphics
- •Creating Formula-Based Rules
- •Working with Conditional Formats
- •Sparkline Types
- •Creating Sparklines
- •Customizing Sparklines
- •Specifying a Date Axis
- •Auto-Updating Sparklines
- •Displaying a Sparkline for a Dynamic Range
- •Using Shapes
- •Using SmartArt
- •Using WordArt
- •Working with Other Graphic Types
- •Using the Equation Editor
- •Customizing the Ribbon
- •About Number Formatting
- •Creating a Custom Number Format
- •Custom Number Format Examples
- •About Data Validation
- •Specifying Validation Criteria
- •Types of Validation Criteria You Can Apply
- •Creating a Drop-Down List
- •Using Formulas for Data Validation Rules
- •Understanding Cell References
- •Data Validation Formula Examples
- •Introducing Worksheet Outlines
- •Creating an Outline
- •Working with Outlines
- •Linking Workbooks
- •Creating External Reference Formulas
- •Working with External Reference Formulas
- •Consolidating Worksheets
- •Understanding the Different Web Formats
- •Opening an HTML File
- •Working with Hyperlinks
- •Using Web Queries
- •Other Internet-Related Features
- •Copying and Pasting
- •Copying from Excel to Word
- •Embedding Objects in a Worksheet
- •Using Excel on a Network
- •Understanding File Reservations
- •Sharing Workbooks
- •Tracking Workbook Changes
- •Types of Protection
- •Protecting a Worksheet
- •Protecting a Workbook
- •VB Project Protection
- •Related Topics
- •Using Excel Auditing Tools
- •Searching and Replacing
- •Spell Checking Your Worksheets
- •Using AutoCorrect
- •Understanding External Database Files
- •Importing Access Tables
- •Retrieving Data with Query: An Example
- •Working with Data Returned by Query
- •Using Query without the Wizard
- •Learning More about Query
- •About Pivot Tables
- •Creating a Pivot Table
- •More Pivot Table Examples
- •Learning More
- •Working with Non-Numeric Data
- •Grouping Pivot Table Items
- •Creating a Frequency Distribution
- •Filtering Pivot Tables with Slicers
- •Referencing Cells within a Pivot Table
- •Creating Pivot Charts
- •Another Pivot Table Example
- •Producing a Report with a Pivot Table
- •A What-If Example
- •Types of What-If Analyses
- •Manual What-If Analysis
- •Creating Data Tables
- •Using Scenario Manager
- •What-If Analysis, in Reverse
- •Single-Cell Goal Seeking
- •Introducing Solver
- •Solver Examples
- •Installing the Analysis ToolPak Add-in
- •Using the Analysis Tools
- •Introducing the Analysis ToolPak Tools
- •Introducing VBA Macros
- •Displaying the Developer Tab
- •About Macro Security
- •Saving Workbooks That Contain Macros
- •Two Types of VBA Macros
- •Creating VBA Macros
- •Learning More
- •Overview of VBA Functions
- •An Introductory Example
- •About Function Procedures
- •Executing Function Procedures
- •Function Procedure Arguments
- •Debugging Custom Functions
- •Inserting Custom Functions
- •Learning More
- •Why Create UserForms?
- •UserForm Alternatives
- •Creating UserForms: An Overview
- •A UserForm Example
- •Another UserForm Example
- •More on Creating UserForms
- •Learning More
- •Why Use Controls on a Worksheet?
- •Using Controls
- •Reviewing the Available ActiveX Controls
- •Understanding Events
- •Entering Event-Handler VBA Code
- •Using Workbook-Level Events
- •Working with Worksheet Events
- •Using Non-Object Events
- •Working with Ranges
- •Working with Workbooks
- •Working with Charts
- •VBA Speed Tips
- •What Is an Add-In?
- •Working with Add-Ins
- •Why Create Add-Ins?
- •Creating Add-Ins
- •An Add-In Example
- •System Requirements
- •Using the CD
- •What’s on the CD
- •Troubleshooting
- •The Excel Help System
- •Microsoft Technical Support
- •Internet Newsgroups
- •Internet Web sites
- •End-User License Agreement
Part VII: Appendixes
Chapter 43
•monitor a range.xlsm: A workbook that contains a VBA Worksheet_Change macro that monitors all changes made to a specific range.
•selection change event.xlsm: A workbook that contains a VBA Selection_Change macro that changes the color of the row and column of the active cell.
Chapter 44
•chart macros.xlsm: A workbook that contains VBA macros that manipulate charts.
•range copy.xlsm: A workbook that contains a VBA macro that copies a variable-sized range.
•range move.xlsm: A workbook that contains a VBA macro that moves a range of cells.
•select cells.xlsm: A workbook that contains VBA macros that demonstrate range selection techniques.
•selection type.xlsm: A workbook that contains a VBA macro that demonstrates how to identify the object type of the current selection.
•skip blanks while looping.xlsm: A workbook that contains a VBA macro that demonstrates how to loop through a range of cells efficiently.
Chapter 45
•change case.xlam: An add-in file, created from the change case.xlsm example in Chapter 41.
Troubleshooting
If you have difficulty installing or using any of the materials on the companion CD, try the following solutions:
•Turn off any antivirus software that you may have running. Installers sometimes mimic virus activity and can make your computer incorrectly believe that it is being infected by a virus. (Be sure to turn the antivirus software back on later.)
•Close all running programs. The more programs you’re running, the less memory is available to other programs. Installers also typically update files and programs; if you keep other programs running, installation may not work properly.
•Reference the ReadMe: Refer to the ReadMe file located at the root of the CD-ROM for the latest product information (if any) at the time of publication.
Customer Care
If you have trouble with the CD-ROM, please call the Wiley Product Technical Support phone number at (800) 762-2974. Outside the United States, call 1(317) 572-3994. You can also contact Wiley Product Technical Support at http://support.wiley.com. John Wiley & Sons will provide technical support only for installation and other general quality control items. For technical support on the applications themselves, consult the program’s vendor or author.
To place additional orders or to request information about other Wiley products, please call (877) 762-2974.
942
APPENDIX
Additional Excel
Resources
If I’ve done my job, the information provided in this book will be very useful to you. The book, however, can’t cover every conceivable topic about Excel. Therefore, I’ve compiled a list of additional resources that you may find
helpful.
I classify these resources into four categories: Excel’s Help System, Microsoft technical support, Internet newsgroups, and Internet Web sites.
The Excel Help System
Many users tend to forget about an excellent source of information: the Excel Help system. This Help information is available by clicking the question mark icon in the upper-right corner of Excel’s window. Or, just press F1. Either method displays Excel Help in a new window. Type your search query and then click Search.
Note
The Search button is a drop-down control that lets you specify what and where to search. n
The Excel Help system isn’t perfect — it often provides only superficial help and ignores some topics altogether — but, if you’re stuck, a quick search of the Help system may be worth a try.
943
Part VII: Appendixes
Microsoft Technical Support
Technical support is the common term for assistance provided by a software vendor. In this case, I’m talking about assistance that comes directly from Microsoft. Its technical support is available in several different forms.
Support options
The Microsoft support options are constantly changing. To find out what options are available (both free and fee-based), go to
http://support.microsoft.com
Microsoft Knowledge Base
Perhaps your best bet for solving a problem may be the Microsoft Knowledge Base, which is the primary Microsoft product information source. This extensive, searchable database comprises tens of thousands of detailed articles containing technical information, bug lists, fix lists, and more.
You have free and unlimited access to the Knowledge Base via the Internet. To access the Knowledge Base, use the following URL and then click Search the Knowledge Base:
http://support.microsoft.com/search
Microsoft Excel Home Page
The official home page of Excel is at
http://www.microsoft.com/office/excel
This site contains a variety of material, such as tips, templates, answers to questions, training materials, and links to companion products.
Microsoft Office Home Page
For information about Office 2010 (including Excel), try this site:
http://office.microsoft.com
You’ll find product updates, add-ins, examples, and lots of other useful information.
944
Appendix C: Additional Excel Resources
Note
As you know, the Internet is a dynamic entity that changes rapidly. Web sites are often reorganized, so a particular URL listed in this appendix may not be available when you try to access it. n
Internet Newsgroups
Usenet is an Internet service that provides access to several thousand special interest groups that enable you to communicate with people who share common interests. A newsgroup works like a public bulletin board. You can post a message or questions, and (usually) others reply to your message.
Thousands of newsgroups cover virtually every topic you can think of (and many that you haven’t thought of). Typically, questions posed on a newsgroup are answered within 24 hours — assuming, of course, that you ask the questions in a manner that makes others want to reply.
Accessing newsgroups by using a newsreader
You can use newsreader software to access the Usenet newsgroups. Many such programs are available, but you probably already have one installed: Microsoft Outlook Express, which is installed with Internet Explorer.
Microsoft maintains an extensive list of newsgroups, including quite a few devoted to Excel. If your Internet service provider (ISP) doesn’t carry the Microsoft newsgroups, you can access them directly from the Microsoft’s news server. (In fact, that’s the preferred method.) You need to configure your newsreader software (not your Web browser) to access Microsoft’s news server at this address:
msnews.microsoft.com
Accessing newsgroups by using a Web browser
As an alternative to using newsreader software, you can read and post to the Microsoft newsgroups directly from your Web browser. This option is often significantly slower than using standard newsgroup software and is best suited for situations in which newsgroup access is prohibited by network policies.
•Access thousands of newsgroups at Google Groups. The URL is http://groups.google.com
•Access the Microsoft newsgroups (including Excel newsgroups) from this URL: www.microsoft.com/communities/newsgroups/default.mspx
945
Part VII: Appendixes
Table C.1 lists the most popular English-language Excel newsgroups found on the Microsoft news server (and also available at Google Groups).
TABLE C.1
The Microsoft.com Excel-Related Newsgroups
Newsgroup |
Topic |
|
|
microsoft.public.excel |
General Excel topics |
|
|
microsoft.public.excel.charting |
Building charts with Excel |
|
|
microsoft.public.excel.interopoledde |
OLE, DDE, and other cross-application issues |
|
|
microsoft.public.excel.macintosh |
Excel issues on the Macintosh operating system |
|
|
microsoft.public.excel.misc |
General topics that don’t fit one of the other categories |
|
|
microsoft.public.excel.newusers |
Help for newcomers to Excel |
|
|
microsoft.public.excel.printing |
Printing with Excel |
|
|
microsoft.public.excel.programming |
Programming Excel with VBA macros |
|
|
microsoft.public.excel.templates |
Spreadsheet Solutions templates and other Xlt files |
|
|
microsoft.public.excel.worksheet.functions |
Worksheet functions |
|
|
Searching newsgroups
The fastest way to find a quick answer to a question is to search the past newsgroup postings. Often, searching past newsgroup postings is an excellent alternative to posting a question to the newsgroup because you can get the answer immediately. Unless your question is very obscure, there’s an excellent chance that your question has already been asked and answered. The best source for searching newsgroup postings is Google Groups, at the following Web address:
http://groups.google.com
How does searching work? Suppose that you have a problem identifying unique values in a range of cells. You can perform a search using the following keywords: Excel, Range, and Unique. The Google search engine probably will find dozens of newsgroup postings that deal with these topics.
If the number of results is too large, refine your search by adding search terms. Sifting through the messages may take a while, but you have an excellent chance of finding an answer to your question. In fact, I estimate that at least 90 percent of the questions posted in the Excel newsgroups can be answered by searching Google Groups.
946