Read Excel Tips Such As How To Simplify Entry Of Dollar Signs In Formulas At BrightHub.com
RSS
 View all Hubs
See what's in...

Microsoft Excel: Simplify Entry Of Dollar Signs In Formulas

Article by Mr Excel (11,376 pts )
Published on Jun 24, 2008
Problem: It is a pain to type the dollar signs in complex formulas such as the formula shown in Fig. 182.
83 views

See all Microsoft Excel tips

Use the F4 key as you are entering the formula. The F4 key will toggle a reference through the four possible reference types.

As shown in Fig. 183, start to type the formula =E7*(B1.

Immediately after you type B1, hit the F4 key. Excel will insert both dollar signs in the B1 reference, as shown in Fig. 184.

As an illustration, hit the F4 key again. Excel changes from an absolute reference to a mixed reference, with the row portion of the reference locked, as shown in Fig. 185.

Hit the F4 key again. Excel changes

to a mixed reference, with the column portion of the reference locked, as shown in Fig. 186.

Hit the F4 key once more. Excel changes back to a relative reference, as shown in Fig. 187.

Here are the steps for entering the complex formula shown in Fig. 182.

1) Type =E7*(B1.

2) Hit the F4 key once.

3) Type +C7.

4) Hit the F4 key 3 times. Your formula will now appear as shown in Fig. 188.

5) Type the parentheses, an asterisk for multiplication, and E1, as shown in Fig. 189.

6) Hit the F4 key twice to change E1 to a reference with the row locked, as shown in Fig. 190.

7) Hit Ctrl+Enter to accept the formula without moving the cell pointer to the next cell, as shown in Fig. 191.

8) With the mouse, grab the Fill handle (the square dot in the lower right corner of the cell) and drag it to the right for two cells, as shown in Fig. 192.

This will copy the formula from January to the other two months, as shown in Fig. 193.

9) Double-click the Fill handle. This will copy the three cells down to all of the rows with data, as shown in Fig. 194.

Additional Information: You might find mixed references confusing. As you work on building the first formula, you might know that you need to point to C7. Enter C7 in the formula and then use F4 to toggle between the various reference types. Say to yourself, “OK. There is a dollar sign before the C that will lock the column and let the row change – is that what I need?”. As long as you say this to yourself without your lips moving, your officemates won’t think any less of you.

Further Information: If you did not add the dollar signs as you typed the formula, you can still use the F4 trick later. Using the mouse, highlight the proper reference in the formula bar, as shown in Fig. 195. After the reference is highlighted, you can hit the F4 key to toggle that particular reference through the four states, as shown in Fig. 196.

Summary: Master the F4 key to easily add dollar signs to a reference in order to toggle it from relative to absolute to mixed to mixed.

See all Microsoft Excel tips

Images

Fig. 182Fig. 183Fig. 184Fig. 185Fig. 186Fig. 187Fig. 188Fig. 189Fig. 190Fig. 191Fig. 192Fig. 193Fig. 194Fig. 195Fig. 196

Bright Hub - Science & Technology Articles, Buyer's Guides, How-To Tips and Software Reviews
About Bright Hub | Contact Us | Terms of Use | Privacy Policy | Copyright Policy | ©2008 Bright Hub Inc. All rights reserved. Page copy protected against web site content infringement by Copyscape