Presentation is loading. Please wait.

Presentation is loading. Please wait.

Keith A. Woodbury Mechanical Engineering University of Alabama.

Similar presentations


Presentation on theme: "Keith A. Woodbury Mechanical Engineering University of Alabama."— Presentation transcript:

1 Keith A. Woodbury Mechanical Engineering University of Alabama

2  Using cell references can be difficult when working with formulas and spreadsheets  References like “A1” and “G47” don’t mean much  By naming the cell it becomes easier to identify a parameter in a formula or function call  Assigning natural names to parameters makes it easier to find mistakes

3 Not a good way to code formulas. Although ‘F2’ reveals which cells are involved in the computation, a look at the formula does not immediately reveal what variables are involved.

4 Named Ranges  Instead, use names for the variables  Choose names that are longer than two characters so Excel doesn’t confuse them with cell addresses  Choose “P_1” instead of “P1”  Or “Press” instead of “P”

5 Create “named cells” to use in formulas This is on the “Formulas” ribbon in Excel 2007 Highlight cells with names and values in adjacent cells

6 Confirm location of labels

7 Now the labels can be used as parameters in the formula

8 Named Cells can also be ranges (vectors); in this case the named cells are in columns or rows

9 Now the formula is readily human- readable Excel uses the entry in the vector on the same row as the formula

10  It is easier when working with formulas in Excel to document them.  Formulas are shown next to computed result  Mistakes can be spotted quickly  Documentation should also make printed copies of the file understandable to knowledgeable person (teacher or colleague)  This process involves copying formulas into cells or using Excel’s Tools tab.

11 Suggested Convention…  Use the first column for labels for the values  Use the second column for the given value or formula to compute the result  Put the units of the quantity in the third column  Use the fourth column to cut-and-paste the text of the formula, or to provide additional explanatory information

12 First use ‘F2’ to highlight show the formula for the cell

13 Now use keystroke “SHIFT+HOME” to highlight the cell entry

14 Then use “CTRL+c” to cut the text to the clipboard buffer, followed by “ESC” to get out of “F2” mode

15 Now move over to the fourth colum, put a leading tick- mark (‘) so Excel will treat as text (not formula), then use “CTRL-v” to paste the clipboard contents

16 Secret Jedi Keystroke sequence  Highlight formula cell  “F2” to get equation displayed  “SHIFT-HOME” to highlight  “CTRL-c” to copy  “ESC” to get out of “F2” mode  Move to fourth column  Tick mark to treat paste as text  “CTRL-v” to paste the formula


Download ppt "Keith A. Woodbury Mechanical Engineering University of Alabama."

Similar presentations


Ads by Google