20. More Tips and Tricks for Excel 2016

The chapters in this book are full of tips and tricks. This particular chapter is a catch-all for some of the tips that did not find a home elsewhere in the book.

Watching the Results of a Distant Cell

Sometimes you need to keep an eye on a single result on a worksheet other than the one you’re currently in. For example, you might have a workbook in which assumptions on multiple worksheets produce a final ROI. As you change the assumptions, it would be good to know the effect on ROI.

It can be time consuming to constantly switch back and forth to the results worksheet after every change. Instead, you can set up a watch to show you the current value of the distant cell(s).

To set up a watch, follow these steps:

1. Select Formulas, Watch Window to display the floating Watch Window dialog over the worksheet.

2. Click Add Watch in the Watch Window dialog.

3. In the Add Watch dialog, click the RefEdit button and then click the cells you want to watch.

4. Click Add to add the cell(s) to the Watch Window dialog.

5. Repeat steps 2 through 4, as necessary.

6. Position the Watch Window dialog in an out-of-the-way location above your worksheet so that you can continue to work.

Every time you make a change to the worksheet, the Watch Window dialog shows you the current value of the watched cells, as shown in Figure 20.1.

Image

Figure 20.1 The Watch Window dialog shows you the results of key cells that you define. These cells can be in far-off cells or on other worksheets.

When the watch is defined, you can toggle the Watch Window dialog by using the Watch Window icon in the Formulas tab.


Image Tip

You can double-click any entry in the Watch Window dialog to scroll to that cell.


Comparing Documents Side by Side with Synchronous Scrolling

Suppose you have two documents that should be nearly identical. Perhaps you started with a workbook and then routed the workbook to a co-worker. You have your original workbook and the new workbook, and you want to compare them visually.

A feature introduced in Excel 2003 lets you scroll both windows at the same time. You can arrange the windows so that they are both visible. As you scroll the active document, the other document scrolls at the same rate. This can allow you to compare the documents visibly.

To compare two documents side by side in this manner, follow these steps:

1. Close all other documents.

2. Open the first workbook.

3. Open the second workbook.

4. Select View, Window, View Side by Side.

5. If you have more than two workbooks open, you have to choose just one of the other workbooks to be used for the comparison. The two workbooks appear together.

6. If the windows are split horizontally, one above the other, select View, Window, Arrange, Vertical to have the worksheets appear side by side.

7. Begin scrolling through the data using the scrollbar or the scroll wheel on your mouse.

Synchronous scrolling does not work well if someone has deleted or inserted extra rows in one workbook. To solve this problem, follow these steps:

1. If one worksheet has extra rows and is out of sync with the other worksheet, click View, Window, Synchronous Scrolling to temporarily turn off this feature.

2. Use the arrow keys or scrollbar to line up the worksheets. Scroll one worksheet so that both worksheets have the same record as the top row in the window.

3. Click View, Window, Synchronous Scrolling again to turn the feature back on. You can now continue scrolling the rows below the mismatched rows.

Calculating a Formula in Slow Motion

If you have a particularly complicated formula, you can watch how Excel calculates the formula in slow motion. This can help you locate any logic errors in the worksheet.

To evaluate a formula in slow motion, follow these steps:

1. Select the cell that contains the formula.

2. Select Formulas, Evaluate Formula. The Evaluate Formula dialog appears, showing the formula. One element of the formula is underlined, indicating that this element will be calculated next.

3. To see the value of the underlined element immediately, click Evaluate.

4. If you want to see how that element is calculated, instead of clicking Evaluate, click Step In. Excel shows the formula for that element.

5. Eventually, the final level is evaluated to a number. Click Step Out to return one level up the dialog.

6. Continue clicking Evaluate until you arrive at the answer shown in the cell.

Figure 20.2 shows an Evaluate Formula dialog after Evaluate was clicked a few times.

Image

Figure 20.2 The Evaluate Formula dialog enables you to watch the formula calculation in slow motion.

Inserting a Symbol in a Cell

Obscure key combinations are available to insert many symbols. However, you do not have to learn any of them. Instead, you can use the Symbol icon on the Insert tab to display the Symbol dialog.

In the Symbol dialog, you scroll through many subsets of the current font. When you find the desired symbol, select it and click the Insert button.

Editing an Equation

The Equation drop-down on the Insert tab offers eight prebuilt equations. If you happen to need one of these equations, you can select it from the drop-down.

If you need to build some other equation, insert a shape in the worksheet first. While the shape is selected, use Insert, Equation, Insert New Equation. A blank equation is added to the shape.

It seems very touchy, but you have to be inside the equation to have the Equation Tools Design tab showing. From the ribbon, you can open the various drop-downs to insert a mathematical symbol. In Figure 20.3, some symbols have three placeholders. These are tiny text boxes where you can type various values.

Image

Figure 20.3 You will build most equations using the drop-downs on the Equation Tools Design tab.

Protecting a Worksheet

If you have many formulas in a worksheet, you might want to prevent others from changing them. In a typical scenario, your worksheet might have some input variables at the top. You might want to allow those items to be changed, but you might not want your formulas to be changed.

To protect a worksheet, follow these steps:

1. Select the input cells in your worksheet. These are the cells you want to allow someone to change.

2. Press Ctrl+1 or go to the Cells group of the Home tab and select Format, Format Cells. The Format Cells dialog appears.

3. On the Protection tab of the Format Cells dialog, clear the Locked check box. Click OK.

4. Select Review, Protect Sheet. The Protect Sheet dialog appears.

5. Optionally, change what is allowed to happen in the protected workbook.

6. Click OK to apply the protection.

Separating Text Based on a Delimiter

Depending on the source of your data, you might find that information is loaded into Excel with many fields in one cell. If the fields are separated by a character, you can separate the data into multiple columns. To do so, follow these steps:

1. Select the one-column range that contains multiple values in each cell.

2. Select Data, Data Tools, Convert Text to Column. Excel displays the Convert Text to Columns Wizard dialog.

3. In step 1 of the wizard, select Delimited and click Next.

4. In step 2 of the wizard, choose your delimiter. Excel offers check boxes for Tab, Semicolon, Comma, and Space. If your delimiter is something different, select the Other box and type the delimiter. Click Next (see Figure 20.4).

Image

Figure 20.4 Identify the delimiter in step 2 of the wizard.

5. In step 3 of the wizard, indicate whether any of your columns are dates. Click the column in the Data Preview section and then select Date in the Column Data Format section. By default, Excel replaces the selected column and uses adjacent blank columns. To write the results to a different output area, enter a destination in step 3 of the wizard.

6. Click Finish to parse the column.

7. Excel does not automatically make the columns wide enough, so select the Cells section of the Home tab and then select Format, Width, AutoFit to make the output columns wide enough for the contents.

Auditing Worksheets Using Inquire

If you have Office 2016 Pro Plus or higher, you can enable the Inquire add-in. The add-in enables tools for discovering potential problems in workbooks. You can see a visual map of relationships, mark cells that contain certain potential problems, or compare two versions of the same workbook.

To enable Inquire, do both of these steps:

1. Press Alt+T followed by I to display the Add-Ins dialog. Choose Inquire.InteractiveDiagnosticsAddIn and click OK.

2. Select File, Options, Add-Ins. At the bottom of the screen, choose Manage Com Add-Ins and click Go. Choose Inquire and click OK.

You see a new Inquire tab in the ribbon.

Suppose that you have a workbook. You send that workbook to a co-worker for review. You receive the changed version of the workbook from the co-worker. You would like to see if any changes were made to the workbook.

Rename one or both of the workbooks so you can tell which is the original and which is the changed version.

Open both workbooks. From the Inquire tab, choose Compare Files. Specify the newer, changed version of the workbook in the Compare drop-down. Specify the original workbook in the To drop-down. This might seem backward from the way that you would think the files should be specified.

After you click Compare, the results show in the Spreadsheet Compare tool.

If you don’t care about cell formatting changes, uncheck that category in the lower left of the window.

The top of the window shows a view of the two workbooks. Any changes are color coded to match the color legend shown in the lower left.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset