
|
MS Excel Tips |
|
|
||||||||||||
|
PLEASE NOTE:
The software tips and shortcuts shown below may also work if you’re using
the Office 2007 version.
TIP #1: USING SHORTCUT KEYS (All
Versions)
Here are 2 shortcuts to edit a cell without going into the formula bar area: Method #1
Method #2
TIP #2: GET ON THE GRID (Versions 7.0, 97, 2000) If you link data in Word as an Excel 7.0 worksheet, you won't see any gridlines. However, if you make some changes to the linked worksheet in Excel, the gridlines will appear in Word. This happens because Excel creates a default printer (not screen) metafile and Word therefore displays the sheet as it would print. If Excel is set to print gridlines, then they will show in Word. To get around the problem, you can switch to Excel after you establish the link and retype a cell's contents. Word will now display it correctly. Alternately, you could set Excel to print the gridlines. To do this, choose File|Page Setup. Choose the Sheet tab and select Gridlines. Click OK. TIP #3: QUICK HIGHLIGHTING TIPS (Versions 7.0 - 2003)
TIP #4: SAVE YOURSELF A LOT OF TIME AND TROUBLE (All
Versions, although version 2002 requires a specific AutoSave AddIn
installed) AutoSave is a handy Excel feature--one that saves many of us from disaster. Although Excel doesn't use AutoSave by default, you can easily add it.
After you select AutoSave, the command will appear in the TOOLS menu. Choose Tools/AutoSave now and you can tell Excel how often you want to invoke AutoSave. After you enter the time period of your choice, click OK. For Version 2003 From the Tools menu, choose Options and then select the Save tab. Check the "Save AutoRecover info every:" check box and select the number of minutes in the selection box provided. Click Ok.
TIP #5: AUTOMATICALLY DISPLAY PAGE BREAKS
(Versions 5.0 and 7.0 & 2003)
You will notice a dotted
line on your worksheets where the page breaks will be.
TIP #6: SET THE PRINT AREA QUICKLY AT THE CLICK OF A BUTTON (Versions 5.0, 7.0 and MAC)
When you're ready to print, select the area you wish to set as the print area, Then click the Print Area button on the toolbar. To DELETE, simply
click on the RESET button under VIEW/Toolbars.
WARNING... this will delete all the buttons that you've created with
the customize feature.
NOTE: In Excel 97 - 2003, highlight area, FILE/Print Area/Set Print Area
TIP #7: BREAKING UP IS HARD TO DO
(All Versions)
TIP #8: INSERT AN AUTO SUM
(Versions 97 - 2003)
Excel will try to guess what cells you want to total up, either the cells immediately above or to the left - but you can change the range of cells to whatever you need.
TIP #9: JUMP
AROUND IN PRINT
(Versions 7.0 and 97)
If you're viewing the entire page when you've zoomed out, you can use the following shortcuts to move between pages:
NOTE: In Excel 2000 & 2002, it's just PageUp and Page Down NOT CTRL
TIP #10: YOU GOTTA HAVE ART
(Version 7.0)
Choose INSERT/Object/Microsoft ClipArt Choose the figure that you think will look best and click OK to insert it into Excel. Now choose EDIT/Cut,
then double-click one of the bars and now choose EDIT/Paste,
and NOTE: This does not work in Excel 2000 - 2003. For these versions, you click on the bar to select it and then INSERT/Picture/Clipart (or use clipart button).
TIP #11: AUTOMATIC RANGE NAMES USED IN FORMULAS
(Versions 97 - 2003)
With Excel 97, you can often get the benefit of named ranges without having to define them. To see how these natural-language formulas work, enter the name Products for Column C and Price for column D (highlight the column and then type the name in the Range name text area at the left of the fx symbol). Then enter the formula =Products*Price in column E cells. Now, as you fill in numbers in the Products and Price columns, Excel automatically calculates totals in the third column.
TIP #12 - BRING
EXCEL DATA INTO ACCESS
(Versions 7.0 -
2003)
Highlight the data in Excel that you want to import into Access. Point to the edge of the highlighted data, then ctrl/drag to the Taskbar (dragging without CTRL key held down will MOVE the data rather than copy) and hold above the Access icon (DO NOT release the mouse button) until Access opens up. Access will automatically import the data. In versions 2002 & 2003, keep the left mouse button down and drag your mouse to the tables list background, then let go.
TIP #13 - GET ATTENTION WITH EXPLODING CHARTS
(Version 7.0)
To insert a chart, select the data and choose INSERT/Chart. Use the mouse to draw the chart's area. Now follow the chart wizard and choose a pie-type chart. When the wizard offers different pie chart styles, choose one of the exploded views. If you choose the view that shows one slice separated from the rest of the pie chart, that slice will be the smallest of the group. This makes the data easier for viewers to see. Versions 2000 - 2003 allow you to choose from among various chart styles including those that provide "subcharts" of user defined values.
TIP #14 - SHORTCUT KEYS
(Versions 2000 and higher)
TIP #15 - SOCIAL SECURITY FORMAT
(Versions 97 - 2003)
One common reason the Social Security format removes zeros is if you have Excel's default decimal place setting set to something other than 0. (If you're in finance or accounting, you may have set the default to 2 decimal places so that you could enter financial amounts without having to type a decimal every time.) So before you enter Social Security numbers, try this:
TIP #16 - QUICK-CLICK MOVEMENT (Versions
97 - 2003)
This trick works for
rows, too. So, for example, if you want to find
TIP # 17 -
ADDING A TREND LINE TO CHARTS
(Versions 97 - 2003)
TIP # 18 - USING 'EXTEND MODE'
(Versions 97 - 2003)
You'll notice that the 'EXT' box in the lower right corner of Status Bar area appears
Note: If you make a mistake, you can simply click somewhere else to identify/highlight the range of cells
TIP #19 - COPYING A 'CHART FORMAT' (Versions
97 - 2003)
Tip #20 - REMEMBERING YOUR CELL NAMES
(Versions 97 - 2003)
Tip
#21 - HOW TO WRAP CELLS WITHIN TEXT (Versions
97 - 2003)
NOTE: If you want to create a 'break' in the text rather than have it automatically word wrap, place your cursor at the point where you want to break the line within the cell, and touch ALT/Enter
TIP #22: 'AUTOCORRECT' (Versions
2000 - 2003)
TIP #23: HOW TO SELECT ALL OBJECTS AT ONE TIME (Versions 2000 - 2003)
TIP #24: 'VIEW' YOUR FORMULAS INSTEAD OF RESULTS IN
CELLS
(Versions 2000 - 2003)
[Reverse these steps and uncheck box to get your results back] Note: You can also press CTRL+~ to toggle between the two views.
TIP #25: 'PREFILL' A CELL
(Versions 97 - 2003)
NOTE: For lower versions of Excel (prior to Excel '97):
TIP #26: 'AUTOSHOW TOP 10' IN A PIVOT TABLE
(Versions 2000 - 2003) To turn the 'Autoshow Top 10' off, double click on the Row or Column field again, click the Advanced button and select the Off option button.
TIP #27: USING A CARRIAGE RETURN TO INSERT A LINE
BREAK WITHIN A CELL
(All Versions)
TIP #28: QUICKLY SEE ALL FORMULAS ON YOUR
SPREADSHEET
(All Versions) <this is an ON/OFF toggle – touch CTRL/~ again and it brings the results back and hides the formulas> Another method is to select the Tools menu, select Formula Auditing and choose the Formula Auditing Mode.
TIP #29: WHAT DO THOSE FORMULAS ERRORS MEAN IN
EXCEL?
(All Versions) The error value lets you know that some part of your formula, either in the formula or the cell(s) referenced – is not correct and that Excel can’t perform the calculation. Error values can contaminate other formulas in the worksheet. If a formula returns an error value to a cell and a second formula in another cell refers to the value calculated by the first formula, the second formula returns the same error value and so on down the line. When you get an error in your formula cell, you’ll need to determine what caused the error and fix it. Common Formula Errors You’ll See in EXCEL What Appears in the Cell and What happened? #DIV/0!
#NAME?
#NULL!
#NUM!
#REF!
#VALUE!
TIP #30:
MULTIPLE UNDO CAPABILITY IN EXCEL
(Versions 97 - 2003) You can reverse actions you’ve performed on your worksheet by undoing what you’ve done. Example: If you format cells, change data, or accidentally delete data, you can UNDO what you’ve done, even though you may have performed other actions afterward (EDIT/Undo from the menu or the [UNDO] button on the toolbar). Undoing your actions can only be done sequentially; if you want to undo a particular action, you must also undo all of the actions that you performed AFTER the action that you want to undo. Excel allows you to UNDO 16 operations that you perform.
TIP #31: COLOR CODE SHEET TABS
(Version 2002 & 2003)
1. Select the sheets
you want to color by holding down the CTRL key and clicking the
tab(s)
TIP #32: ROTATE YOUR 3-D CHARTS IN EXCEL
(Versions 97 - 2003) To ‘rotate’ your chart:
TIP #33 - HOW DO YOU CHART MISSING DATA IN AN EXCEL CHART? YOU CAN CHOOSE FROM SEVERAL OPTIONS (All Versions) 1. Not Plotted
- If you choose not to plot missing data, Excel will leave a gap for each
To select one of the
above options for your chart, from the 'Tools' menu, choose
'Options'. Note:
The option you choose will apply to the entire chart. If your chart
contains
TIP #34 - USING THE NESTED IF FUNCTION TO ASSIGN
LETTER GRADES BASED ON GRADE POINTS EARNED
(All Versions) Type =IF(B2<60,”F”,IF(B2<70,”D”,IF(B2<80,”C”,IF(B2<90,”B”,”A”)))). This function says that if the grade point average is less than 60, assign the letter grade F. If between 60 and 69, assign D. If between 70 and 79, assign C. If between 80 and 89, assign B. Else, assign an A.
TIP #35 - USE AN IMAGE AS THE BATS IN CHARTS (and
other chart types) BY USING THE CLIPBOARD AND PASTING INTO CHARTS
(All Versions) Here's how: Find the clipart/image that you want to use, and simply copy it to the Clipboard (CTRL/c or EDIT/Copy). You can also paste it into your Excel spreadsheet first and you can adjust the size, and make other color changes, etc. You can also create an image using the Drawing toolbar if you wish After you've got the
image in the Clipboard by copying, click on your chart to activate
it. NOTE: You can also use this to paste the image into only a single point in the data series (bar), rather than the entire series. Simply click to select the specific series you want to have converted to an image. This also works with data markers in line charts, XY (scatter) charts, or bubble charts. Note: For Versions 2003 & 2003, you can click on the data series and from the Insert menu, select Pictures and then choose Clipart. From the task pane, enter a keyword search term and click Go. Choose the clipart image from the task pane and your data series will change to using this clipart image.
TIP #36 - LOCK CELLS SO CELL CONTENT CAN'T BE
CHANGED
(All Versions) It’s a 2-step process: 1. Unlock the default ‘locked’ cells in a spreadsheet, then lock the cells you want to stop someone from changing
2. Protect your sheet – this is what turns on the ‘lock’ setting and prohibits someone from changing the cells you locked in Step #1
TIP #37 - USING EXCEL FUNCTIONS WITH MORE THAN ONE
CONDITION
(All Versions) Sample Worksheet:
=SUM(IF((A2:A5="Yes")*(C2:C5="Accounts"),B2:B5))
Add wages for employees who are both Staff and in Accounts
*Note: Remember that this is an array function, so you must press CTRL+Shift+Enter after you've typed it for it to work.
TIP # 38 -
DECIDING WHEN TO USE EXCEL VS. ACCESS Use Excel When You Need:
Use Access When You Need:
TIP # 39 - ROTATE YOUR 3-D CHARTS
(All Versions) To ‘rotate’ your chart:
TIP #40 - PRINTING ERROR VALUES IN A WORKSHEET
(Version 2002 & 2003) To select how you want error values to appear in your printed output, follow these steps:
Tip
#41 - LIST OF SUPPORTED FILE FORMATS
(Version 2002)
Formats that Save
the Entire Workbook Formats that Save
Only the Active Sheet Formats for Lotus
1-2-3 File Format Text File Formats
Other Spreadsheet
Programs and Database Formats
Tip #42 - CORRECTION FOR RELATIVE HYPERLINKS NOT
SAVING CORRECTLY
(Version 2002 & 2003) There are two ways that you can resolve this: 1. Manually Set the File Location for the hyperlink
2. Disable "Update Links on Save"
Tip
#43 - CHANGE THE DEFAULT FONT SETTINGS FOR WORKSHEETS
(Versions 2000 - 2003) Note: If you want to change the font and/or font size for a single worksheet, do not change the Standard Font options. For a single worksheet or for particular cells (such as Title cells), use the Standard Formatting toolbar to make changes to the font. This will only make changes for the particular cell and/or worksheet. Tip #44 - Refer to a Cell in Another Worksheet (All Versions) You may find that you need to refer to a cell in a different worksheet contained in your Excel workbook/file. You can use the following formula: SheetName!CellAddress (the worksheet's name followed by an explanation point and then the cell address). For example, Sheet2!A1. However, if your worksheet name contains a space, you will need to surround the name of the worksheet with single quotation marks. For example, if your worksheet is named Financial Statements and you want to use the value contained in cell A1 in your formula, you would type: 'Financial Statements'!A1
Tip #45 - Templates Available from Microsoft
(Versions '97 - 2003)
If you’d like to check out some of the
templates that are available for travelers – checklists, itineraries,
planners – for personal or business trips, here’s the Website you can refer
to:
For additional templates
(including those for other MS Office programs), please visit:
http://office.microsoft.com/en-au/templates/default.aspx. Tip #46 - Permanently Remove Hidden and Collaboration Data (Versions 2002 & 2003) With Office XP and Office 2003, you can use features such as file tracking, inserting comments, inserting hidden information, and collaborate with others when creating and editing files. However, there may be times when you want to remove this information from your file. A tool is available from Microsoft to remove this hidden/collaboration data. Visit http://www.microsoft.com/downloads/details.aspx?FamilyId=144E54ED-D43E-42CA-BC7B-5446D34E5360&displaylang=en to download this tool and once downloaded to your PC, complete the following installation steps:
Note: If you do not see the Remove Hidden Data command from the File menu, complete the following:
Tip #47 - Using "Special" Number Formats (Versions 2002 & 2003) If you store zip codes, phone numbers or social security numbers in Excel, you can use the "Special" number format to appropriately format these numbers. Here's how:
When you type data in formatted cells, the format (for example, phone number ( ) and - ) will appear automatically and all you need to do is simply type the numbers and then move off the cell. Tip #48 - Change Pointer Placement After Enter Key is Pressed (All Versions) When your cursor is in a particular cell and you press the Enter key, your cursor moves down to the cell underneath the one you were previously on. You can change this and have Excel keep the cursor in the same cell or move the cursor to the cell above, to the left or to the right. Here's how:
Tip #49 - Applying a Number Format to a Cell (All Versions) When you apply a number format to a cell, this does not change the value but only how the value appears. For example, if a value in a cell is .79888 and you changed for number format to Percentage with no decimal places, the cell's value would appear as 80%. If this cell was used in a formula, the value used for the formula would still be .79888. However, you can set Excel to change worksheet values to match their displayed format (in our example, use 80% as the value for the cell rather than .79888). To do this, select the Tools menu, choose Options, select the Calculations tab and then check the 'Precision as displayed' check box.
Tip #50 - Indent Cell Text
(All Versions)
Tip #51 - Use Relative Cell References When Recording a
Macro
(All Versions)
TIP #52 - Changing a Worksheet’s Tab Name
(All Versions)
TIP #53 - Viewing Visual Basic Code While Recording a
Macro
(All Versions)
TIP #54 - Debugging Formula Errors
(All Versions) 1. Syntax errors - the formula syntax is wrong. As an example, you may have a beginning parenthesis without a matching closing parenthesis or you misspelled a function such as SUMM rather than SUM or AVERAGGE rather than AVERAGE. 2. Logical errors - this may not be an obvious error, but your result is not what you expected. For instance, =SUMIF(A1:A3,">100",A1:A3) would not include a value of 100 in your result since 100 is not greater than 100. Perhaps you would want to change the formula to =SUMIF(A1:A3,">=100",A1:A3) to include an observation of 100 in your sum. 3. Incorrect reference errors - this may occur if you include an incorrect cell reference in your formula. As an example, you may need to modify your range reference if a SUM function is not adding all the observations correctly. 4. Circular references - you will see this error if you type in a formula in a particular cell (i.e. C3) and this same cell is referenced in the formula. For example, suppose in cell C3 you enter =SUM(C1:C3). You will get a circular cell reference error since C3 is included in the range to sum as well as the cell containing the formula. 5. Array formula entry errors - When inserting an array formula (you want Excel to use one cell's value in a formula, then use another cell's value, than another cell's value, etc.), you must press CTRL+Shift+Enter to enter the formula rather than simply pressing the Enter key. CTRL+Shift+Enter informs Excel that this is an Array Formula. 6. Incomplete calculation errors - This type of error is rare and is a bug identified by Microsoft. To ensure that your formulas will calculate completely, press Ctrl+Alt+F9.
TIP #55 - Sorting by More than One Column/Field
(All Versions)
TIP #56 - Quickly Move to the Next/Previous Sheet
(All Versions)
You can use the following shortcut to quickly move from one worksheet
to another within an Excel workbook file.
To move to the NEXT worksheet (tab), touch CTRL/PgDn To move to the PREVIOUS worksheet (tab), touch CTRL/PgUp When you reach the end of your sheet tabs, it will loop back to the beginning tab
TIP #57 - Configure your Open Dialog box to Point to a
Different Folder Instead of My Documents
(All Versions)
You can configure your
open dialog box to point to a different folder rather than pointing to
the My Documents folder. Here's how:
1. Choose the Tools menu and select Options. 2. In the Options dialog box that appears, select the General tab. 3. In the Default File Location text box, enter the path to the new default starting folder. 4. Click OK. TIP #58 - Two Methods to Copy MS Excel Data to MS Word (All Versions) First Option - One way to copy Excel data into Word is to have both programs open and have MS Word minimized to the Windows task bar. In MS Excel, highlight the cells or chart you want to copy, press and hold the Ctrl key, and drag your mouse over the minimized MS Word program on the WIndows task bar. Word will maximize and drag your cursor and let go within the document of the maximized MS Word program. Second Option - Another method is to cut and paste the data/chart into a MS Word document. In MS Excel, select the cells and press Ctrl+C or from the Edit menu, choose Copy. Within Word, place your cursor where you want to insert the Excel data and select the Edit menu, and select Paste Special. Select Microsoft Excel Worksheet Object and click Ok. Word will embed the data in the document. Tip #59 - Quickly Change the Format of a Cell's Value (All Versions) To quickly change the formatting of a cell, place your cursor in the cell and press Ctrl+1. This will open the Format Cells dialog box. Tip #60 - "Calculate Your Net Worth" Template (All Versions) You can visit http://go.microsoft.com/?linkid=2108655 to download Microsoft's "Calculate Your Net Worth" template for Excel. Tip #61 - Shortcut Key to Quickly Change Font Size (All Versions) If your Formatting toolbar is displayed and you press Ctrl+Shift+P, the Font Size control of the formatting toolbar will be selected and you can type the font size you desire and press Enter. However, if your Formatting toolbar is not displayed and you press Ctrl+Shift+P, the Format Cells dialog box will display with the Font tab selected. Tip #62 - Saving as a .CSV File (All Versions) If you save your Excel file as a .csv file type (comma separated value), you can export the file to other programs that may not be able to read Excel .xls files directly. However, be aware that this file type is a text file and only contains the data. No formulas, formatting or charts included in your original Excel file will be included. However, if you want to save your formulas to a text file, you can... 1. Select the Tools menu and choose Options. 2. Check the Formulas check box to display formulas instead of the formula values in your spreadsheet. 3. Save your spreadsheet as a .csv file. Tip #63 - Excel Error Checking (Versions 2002 & Later) The Error Checking feature in Excel will alert you to various types of potential errors in a worksheet: These error types include the following: Formula Errors - such as #Div/0!, #Value!, #N/A, etc. - See Tip #29 for a complete list of formula errors and the type of error each indicates. Text Dates - dates formatted as text and entered with two-digit rather than four-digit years. Numbers - numbers formatted as text. Inconsistent Formulas - formulas entered within a region of cells that differ from surrounding formulas. Formulas that Omit Region Cells - formulas entered that do not include all of the cells within the specified range (such as the last cell of a range). Formulas Containing Unlocked Cells - formulas entered in a protected worksheet and containing unlocked cells. Formulas with References to Empty Cells - formulas entered and containing references to empty cells. Tip #64 - Printing Embedded Charts (All Versions) In Excel, you can create a chart that exists on a separate sheet or exists on the same sheet as the data. If the chart is on the same sheet as the data, this is considered an "embedded" chart. To print the data and chart, you would simply print the sheet. However, if you want to print the chart only, you can follow these steps:
Tip #65 - Special Number Formats (All Versions) You can change your cells' format: Highlight the cell(s) you want to format. Then, from the menu, select Format/Cells, and click the Number tab. The Special category contains a Zip Code option, Zip Code + 4, Phone Number (including an area code enclosed in parentheses and a dash separator), and Social Security Number (including dashes). Tip #66 - "From Existing Workbook" Task Pane Option (Version 2002 and above) When you want to create a new spreadsheet that is an altered version of an original, you probably open the original and then select the File menu, select Save As, and provide a new file name to create a new file. However, this method makes it very easy to accidentally open the original file, start making changes and then Save the file overwriting the original. Another (and safer) option is to use the "From Existing Workbook" link in the Task Pane. This link will appear in the Excel Task Pane if you select the File menu and choose New. If the Task Pane does not automatically open, select the View menu and choose Task Pane. In the Task Pane, click on the "New from Existing Workbook" link and a dialog box will appear. Browse to the file you wish to modify, select it and click the 'Create New' button. Excel will open a copy of the original file and automatically name this new file the same file name with a 1 appended to the end. If your original file is called MyExcelFile.xls, the new version of this file would be named MyExcelFile1.xls. When you click the Save icon, you will be given the opportunity to keep this new file name or you can change it. This new, modified copy of the original file will be saved ensuring that the original will not be overwritten. Tip #67 - Defining a Print Area (All Versions) If you would like to print only a specific part of your spreadsheet, you can configure a Print Area in Excel. Here's how:
When you print the spreadsheet, only this defined area/cell selection will print. If you want to clear the Print Area, you select the File menu, choose Print Area and then choose Clear Print Area. After clearing the Print Area, the entire worksheet will print after selecting Print from the File menu. Another method to set and clear the Print Area is to select the File menu, choose Page Setup and select the Sheet tab. Place your cursor in the Print Area text box and type the cell range (or select the range by highlighting it in the Excel sheet) and click Ok. To clear the Print Area from this dialog box, select the cell address in the Print Area text box and press the Delete key or Backspace. Tip #68 - Turning Off the Error Checking Option (Versions 2002 and above) If Excel locates what it believes might be an error in your worksheet, it will flag the cell with a small, green triangle in the upper-left corner. If you want to turn off this error checking feature, you can follow these steps: 1. Select the Tools menu and choose Options. 2. In the Options dialog box that appears, select the Error Checking tab and uncheck the "Enable Background Error Checking" check box. 3. Click Ok to close the Options dialog box. All existing error indicators will disappear and Excel will stop checking for errors. Tip #69 - One Line Macro to Delete Hyperlinks (All Versions) If you have a worksheet and want to remove all hyperlinks, you can create and use this one-line macro: 1. Press Alt+F11 to open the Visual Basic Editor and type the following code:
2. Save the Macro and close the Visual Basic Editor. 3. Run the macro and all hyperlinks contained in your worksheet will be removed. Note: If you wish to remove just one or a few hyperlinks, you can right click on the individual hyperlink(s) and select Remove Hyperlink from the menu that appears. Tip #70 - Select Cells Containing a Specific Color (Version 2003) You can quickly select cells formatted with a specific cell color by following these steps: 1. Press Ctrl+F to open the Find and Replace dialog box. The Find tab will be selected and verify that there is nothing in the "Find What" text box. 2. Click the Options button and then click the Format button to open the Find Format dialog box. 3. Select the Patterns tab and from the list of colors, choose the color you want to find and click Ok. 4. Back in the Find and Replace dialog box, click Find All and you will see a list of addresses of cells formatted with the color you specified. 5. Click on one of the cell addresses listed at the bottom of the dialog box and Excel will select the appropriate cell in the worksheet. 6. Press Ctrl+A to select all the addresses in the dialog box. 7. Click Close and all the cells formatted with the specified color will be selected. Tip #71 - Format a Row Based on the Value in a Cell in the Same Row (Version 2003) You can conditionally format a row of cells based on the value of a cell within the same row. For example, suppose you have a spreadsheet displaying student names along with test percentage scores as shown below:
Using this example, you can tell Excel to format score values with a red font color if the student's score is less than 50, with a green font color if between 50 to 59, and with a blue font color if between 60 and 69. Here's how: 1. Highlight cells A2 through B6. 2. From the Format menu, choose Conditional Formatting. 3. Select Formula Is from the Condition 1 drop-down list. 4. Set the condition to =$B2<50, click the Format button and set the font color to red. Click Ok to return to the Conditional Formatting dialog box. 5. Click the Add button, select Formula Is from the Condition 1 drop-down list and enter an additional formula, such as =$B2<60. Click the Format button and set the font color to green. Click Ok to return to the Conditional Formatting dialog box. 6. To add another conditional formula, click the Add button again, select Formulas Is from the Condition 1 drop-down list and enter an additional formula, such as =$B2<70. Click the Format button and set the font color to blue. Click Ok to return to the Conditional Formatting dialog box. 5. Click Ok to close the Conditional Formatting dialog box. Scores less than 50 will be red, scores between 50 to 59 will be green and scores 60 to 69 will be blue. Tip #72 - Force Rounding to Nearest Integer (Versions 97 and higher) You can round to the nearest even integer using the Even function. For example, If the value in cell B2 were 12.1, =EVEN(B2) would return 14. You can round to the nearest odd integer using the Odd function. For example, If the value in cell B2 were 12.1, =ODD(B2) would return 13. But suppose you wanted to round to the nearest integer closest to zero? For example, if the value is 12.1, you want it to round to 12. If the value is -12.1, you want it to round to -12. To accomplish this, you need to enter a formula that first divides the value by 2, then rounds that value to an integer, and multiplies by 2. In our example, we would enter the formula =INT(B2/2+0.5)*2. This would round 12.1 to 12 and round -12.1 to -12. In other words, to the nearest integer closest to zero. Tip #73 - "Spreadsheet" vs. "Worksheet" - Which Term is Correct? (All Versions)
EXCEL --
"Spreadsheets" vs. "Worksheets" Tip #74 - Using Data Entry Forms (All Versions) Did you know that you can use data entry forms in Excel? 1. Make sure your spreadsheet has descriptive column headings and place your cursor in any column heading cell. 2. From the Data menu, choose Form and click New. 3. You will see text boxes appear using column headings as the labels. Insert new record data into the appropriate fields and press Enter to save the record. You can repeat to add additional records. Click Close when you are finished adding records. Tip #75 - Protecting Print Settings for Shared Worksheets (All Versions) If you share your worksheet, other users may modify print settings to address their specific printing needs and/or printer. You can create a macro that will automatically run every time the workbook is opened and reset print settings to your specifications. The following is a sample of the code that could be included in the macro: Sub Auto_Open With ActiveSheet.PageSetup
.LeftHeader = "" Of course, you would modify the code to reflect your workbook's specifications. Name the macro Auto_Open so that it will automatically run every time the workbook is opened. Tip #76 - Using the Substitute Function to Replace Characters (Versions '97 and higher) Suppose you wish to replace one character (such as a dash) with another character (such as a period). Here's the function that would do this: =SUBSTITUTE (C2, "-",".") The function above would take the value in cell C2 and replace any dashes with periods. For example, if 999-99-9999 originally appeared in cell C2, running this function would change it to 999.99.9999. Tip #77 - Exporting Excel Data to AutoCAD (Versions '97 and higher) If you import from Excel to AutoCAD and see that AutoCAD cuts off some of the worksheet, this may be due to AutoCAD importing a "picture" of the worksheet rather than the actual data. To remedy this, export the Excel data in CSV format (text file format) and then import it into AutoCAD. Or, select the Excel data you wish to copy, press Ctrl+C and then in AutoCAD, select the Edit menu, choose Paste Special and choose AutoCAD Entities and click Ok. Tip #78 - Dragging to Clear Cells (Versions '97 and higher) A quick and easy way to clear cell content is to first select the cell range, then use the fill handle (small, black square appearing in the bottom right of your selection) and drag back over the selected cells. The cells will be "grayed-out" and when you let go of the left mouse button, the content of the selected cells will be deleted. Note: You can press and hold the Ctrl key while dragging to clear any cell formatting along with the content. Tip #79 - Formatting Subtotal Rows (Versions '97 and higher) You can create a macro that would shade "Total" and "Grand Total" Rows with a different color, allowing them to stand out more easily. In the following macro code, Total Rows are highlighted yellow and Grand Total rows are highlighted orange. To create this macro, select the Tools menu, choose Macro, and then choose Visual Basic Editor. Type the following in the code window that appears:
Select the Visual Basic Editor File menu and then select Save personal.xls. This adds the new macro to your personal.xls file. Close the MS Visual Basic Editor by selecting the File menu again and choosing Close and Return to MS Excel. Back in Excel, drag to select all the data within your worksheet, including the subtotals. With the data selected, select the Tools menu, choose Macro, choose Macros and scroll through your list of macros to find PERSONAL.XLS!FormatTotalRows. Select this macro and click on the Run button. Your macro will run and highlight every "Total" row yellow and every "Grand Total" Row orange. And since you saved this macro in your Personal.xls file, this "FormatTotalRows" macro will be available for any open worksheet. Tip #80 - Evaluating Formulas (Versions 2002 and higher) To step through a formula and see how Excel arrives at the result, follow these steps: 1. Place your cursor in the cell containing the formula. 2. In Excel 2002 and 2003, from the Tools menu, choose Formula Auditing and choose Evaluate Formula. (In Excel 2007, from the Formulas tab, under the Formula Auditing group, select Evaluate Formula 3. In the Evaluate Formula dialog box that appears, you will see the entire formula. Part of this formula will be underlined indicating the section of the formula that Excel will calculate next. Click the Evaluate button, and Excel will calculate this section of the formula and display the result. Excel will then underline the next part of the formula that will be calculated. Click Evaluate again and Excel will display the result. Repeat to allow Excel to calculate subsequent sections of your formula. 4. When you are finished using the Formula Evaluator, click Close to close the Evaluate Formula dialog box. Tip #81 - Insert a Radical 'Root' Symbol (√) Within a Cell (Versions '97 and higher) You can format a cell so that the radical root symbol (√) is displayed just to the left of the cell's value. To do this, follow these steps: 1. Place your cursor in the cell for which you wish to display a radical symbol. 2. In Excel 97-2003, from the Tools menu, choose Macro and then choose Visual Basic Editor. (In Excel 2007, from the Developer tab, select Visual Basic, then within the Visual Basic Editor, from the menu, select INSERT/Module 3. In the module window that appears, type the following Visual Basic code: Sub Radical () ActiveCell.NumberFormat = ChrW*8730) & "General" End Sub 4. Select the cell you want to format, and then run the macro (In Excel 97-2003, select the Tools menu, select Macro, select Macros, highlight the macro named radical and click on the Run button). In Excel 2007, from the Developer tab, select Macros, highlight the Radical macro, and click Run. The macro will run and display the radical 'root' symbol (√) to the left of the cell's value. Tip #82 - Format Painter (All Versions) You can use the Format Painter to copy formatting from one cell to another. Here's how:
Note: You can format multiple cell ranges by double clicking on the format painter icon. When you are finished formatting cells, simply click on the format painter icon again to deselect the tool. Tip #83 - Keeping Track of Saved Macros (Versions 2000 and higher) Where you create a macro determines where Excel saves the macro. If you create the macro while in a particular workbook, the macro will be added to a module in the workbook. To access the macro, make sure the workbook is not hidden by selecting Window menu, choosing Unhide, and selecting the appropriate workbook if it appears in the list. Then select the Tools menu, choose Macro and then choose Macros. A list of macros will appear. If you create the macro in the Personal Macro Workbook, the macro will be added to the personal.xls workbook. To access the macro, make sure the personal.xls workbook is not hidden by selecting Window menu, choosing Unhide, and selecting the personal.xls workbook if it appears in the list. Then select the Tools menu, choose Macro and then choose Macros. A list of macros will appear.
If you create the macro in a new workbook, the macro will reside in a hidden module that is added to the new workbook. To view the macro, select the Tools menu, choose Macro, and then choose Macros. A list of macros within the new workbook will appear and you can select the Macro from the list.
Tip #84- Insert a Picture Into a Chart Area
(Versions 97 and higher)
Once your chart is
created, to insert a picture into the chart area:
Tip #85- Convert Formulas to Values
(Versions 97 and higher)
Tip #86- Using AutoFill to Complete a Series in
Excel
(All Versions)
Note:
Rather than dragging with the left mouse button pressed, you can
drag while pressing the right mouse button and upon release,
you will see a list of AutoFill options. Choose Fill Series
to fill the series sequentially.
Tip #87- Insert Automatic Decimal Points
(All Versions) Tip #88- Adding Trendlines to Charts (All Versions)
Trendlines can
be added to your Excel charts to display a trend which is implied by
charted data. Tip #89- Change the Data Series for an Existing Pivot Table (All Versions)
If you create a pivot
table and need to change the source range of your list (example:
if you added additional rows of data to your sheet that generates
the pivot table), you can change the data series to update the pivot
table. Refreshing the pivot table does not identify additional
rows that you add after you've generated the pivot table.
|
Table of Contents
Tip #89 - Change the Data Series for an Existing
Pivot Table Tip #88 - Adding Trendlines to Charts Tip #87 - Insert Automatic Decimal Points Tip #86 - Using AutoFill to Complete a Series in Excel Tip #85 - Convert Formulas to Values Tip #84 - Insert a Picture Into a Chart Area Tip #83 - Keeping Track of Saved Macros Tip #81 - Insert a Radical 'Root' Symbol (√)
within a Cell Tip #79 - Formatting Subtotal Rows Tip #78 - Dragging to Clear Cells Tip #77 - Exporting Excel to AutoCAD Tip #76 - Using the Substitute Function to Replace Characters Tip #75 - Protecting Print Settings for Shared Worksheets Tip #74 - Using Data Entry Forms Tip #73 - "Spreadsheets" vs. "Worksheets" - Which Term is Correct? Tip 72 - Force Rounding to the Nearest Integer Tip #71 - Format a Row Based on the Value in a Cell in that Row Tip #70 - Select Cells Containing a Specific Color Tip #69 - One Line Macro to Delete Hyperlinks Tip #68 - Turning Off the Error Checking Option Tip #67 - Defining a Print Area Tip #66 - "From Existing Workbook" Task Pane Option Tip #65 - Special Number Formats Tip #64 - Printing Embedded Charts Tip #63 - Excel Error Checking Tip #62 - Saving as a .CSV File Tip #61 - Shortcut Key to Quickly Change Font Size Tip #60 - "Calculate your Net Worth" Template Tip #59 - Quickly Change the Format of Data Tip #58 - Copy Excel Data into MS Word Tip #57 - Change the Default Folder for Opening Files Tip #56 - Quickly Move to the Next/Previous Sheet Tip #55 - Sort by More than One Column/Field Tip #54 - Debugging Formula Errors Tip #53 - Viewing Visual Basic Code While Recording a Macro Tip #52 - Change a Worksheet's Tab Name Tip #51 - Use Relative Cell References when Recording a Macro Tip #49 - Changing Number Formats and Instructing Excel to Use These Formats in Calculations Tip #48 - Change Pointer Placement Tip #47 - Using "Special" Number Formats Tip #46 - Permanently Remove Hidden and Collaboration Data Tip #45 - Templates Available from Micorosft Tip #44 - Refer to a Cell in Another Worksheet Tip #43
- Change Default Font Settings
Tip #23
- How to Select All Objects At One Time |
|||||||||||||
| Updated 5/22/06 LAS - For information on Excel training, please send email to las@engr.psu.edu | ||||||||||||||