Vous êtes sur la page 1sur 4

Please find the MS-Excel Tips whicy you may find useful for your day-to-day operations.

1) Changing a Numeric Heading to Text When creating reports you might want to enter the year numbers as headings above the figures: To prevent the headings from being treated as numbers, change them to text: - Enter the ' (apostrophe) symbol before the number. - For example, '2003 will be treated as a text entry. 2) Pasting Multiple Copied Ranges Using the Clipboard In Excel 2000, the Clipboard holds up to 12 copied ranges. To make the Clipboard toolbar visible: Press Ctrl+C+C OR From the View menu, select Toolbars and then Clipboard. In Excel 2002 and Excel 2003, use the keyboard shortcut Ctrl+C+C to open the Task Pane dialog box, which contains the copied ranges (up to 24) that have been saved to memory. 3) Calculating the Week Number

To calculate a week number: Use the WEEKNUM function. The second argument in the WEEKNUM function, Return_type, determines on which day the week begins, for example, 1 for Sunday, 2 for Monday. Note: This function is included in the Analysis ToolPak add-in. Users of Excel 97 and 2000: It is highly recommended that this Add-In be installed. To install the Analysis ToolPak Add-In: 1. From the Tools menu, select Add-Ins. 2. Select the Analysis ToolPak checkbox, and then click OK. 4) Inserting a picture (company logo) in the header in Microsoft Excel 2002 XP 1. 2. 3. 4. 5. From File menu choose Page setup. Select the Header/Footer tab. Click Custom Header. Select Left area. Click the Picture icon (second from right). In the Insert Picture

dialog box, search for and select the logo or picture you want to add. 6. Click Insert, Click OK. 5) Combining Text and Formatted Values

To combine text with a formatted value: 1. In cell A1, enter the text IBM owe Limelight Media Inc. 2. In cell A2, enter the number 4222. 3. In cell A3, enter the text for services supplied in March 2004. 4. In cell A5, enter the formula: =A1&" "& TEXT(A2,"$ #,##0") &" "&A3 To format the number to present it in thousands: Change the number format to "$ #, K": =A1&" "& TEXT(A2,"$#, K") &" "&A3 See screenshot for a sample 6) Rounding Problem:

Numbers that Meet Specified Criteria

Rounding all the numbers in column A to zero decimal places, except for those that have "5" in the first decimal place. Solution: Use the IF, MOD, and ROUND functions in the following formula: =IF(MOD(A2,1)=0.5,A2,ROUND(A2,0)) 7) Calculating the Average for Numbers Meeting Specified Criteria

Problem: We want to calculate the average of all prices in column A that are higher than 200. Solution: Use the IF and AVERAGE functions in the following Array formula: {=AVERAGE(IF(A2:A7>B2,A2:A7))}

Applying Colors to Maximum/Minimum Values in a List


8) To apply colors to maximum and/or minimum values: Rounding all the numbers in column A to zero decimal places, except for those that have "5" in the first decimal place.

1. Select a cell in the region, and press Ctrl+Shift+* (in Excel 2003, press this or Ctrl+A) to select the Current Region. 2. From the Format menu, select Conditional Formatting. 3. In Condition 1, select Formula Is, and type =MAX($F:$F) =$F1. 4. Click Format, select the Font tab, select a color, and then click OK. 5. In Condition 2, select Formula Is, and type =MIN($F:$F) =$F1. 6. Repeat step 4, select a different color than you selected for Condition 1, and then click OK. Note: Be sure to distinguish between absolute reference and relative reference when entering the formulas. 9) Automatically Wrapping Text in a Cell To automatically wrap text: 1. Type the following text into a cell: "This is the best ExcelTip book". 2. Press Ctrl+1, and select the Alignment tab. 3. Select the Wrap text checkbox.

10)

Adding a Comment to a Formula

To add a Comment to a formula: 1. At the end of the formula, add a + (plus) sign. 2. Type the letter N, and in parentheses, type your Comment in quotation marks. For Example: =CurrentAssets / CurrentLiabilities+ N("The formula returns Current Ratio") See screenshot for a sample 11)

Quickly Typing Dates into Cells

Typing a large amount of data into cells can be tiring, especially if it includes a series of dates. Type the day (serial number only) into cell A1 and add the following formula to insert the month and year into cell B1: =DATE (YEAR(TODAY()), MONTH(TODAY()), A1) Type a full number in the cell and change it to a date by using the following formula: =DATEVALUE(LEFT(A1,2)&"/"&MID(A1,3,2)&"/" &RIGHT(A1,2)) For example, type 122203, the result is 12/22/03.

12) Counting Unique Numeric Values or Unique Data in a List Problem: Counting the number of unique numeric values or unique data in List1, disregarding blank cells. Solution1: To count the number of unique values use the SUM, IF, and FREQUENCY functions as shown in the following formula: = SUM(IF(FREQUENCY(A2:A13,A2:A13)>0,1)) Solution 2: To count the number of unique data use the SUMPRODUCT and COUNTIF functions as shown the following formula: =SUMPRODUCT((A2:A13<>"")/COUNTIF(A2:A13,A2:A13&""))

Vous aimerez peut-être aussi