Monday, June 6, 2011

Searching for data pg 140 141

Searching For Data

Introduction

We can use the searching ability of Excel to search for a particular number, word, part of word, phrases, etc.

If your data has grown big, you may not remember easily the location of a particular word, number, or date. Excel's search facility will help you in this area.

1. Use the menu Edit --> Find. The following dialog box will appear.
Find						?X

Find what:					Find Next
					        Close
						Replace...

Search:	By Rows			Match case
				Find entire cells only

Look in:	Formulas


2. In a box under the Find What label, enter the word or number you want to find, then click Find Next button. Excel will highlight the first cell it finds which contain the word or number.

NOTE

A message will pop up if Excel does not find the item you asked for.

3. Click Find Next button again for Excel to find and activate the next cell which contain the word or number.

4. Click Close button or press Esc key to close the dialog box.

140 TIP

You can use wildcards (special characters) to find more specific data:

If we use the character ? (question mark) such as in sm?th, Excel will finds words containing any single character between sm and th, such as smith or smyth or smoth etc.

If we use the character * (asterisk) such as in *s, Excel will find all words ending with letter s.

In the Find dialog box, you can also ask Excel to search by rows (row to row) or by columns (column to column). You can set the search to look for matching case by clicking the box on the left of Match case. You can set the search to look for cells containing only the search string you indicated (not other items) by clicking on a box on the left of Find entire cells only.

The Edit --> Find function will not search all sheets, but only the current sheet.

Searching For Dates

Remember that internally, Excel stores dates in this format: m/d/yy or as per the setting in the Control Panel. You may see '2-Mar-1998' but internally it is 3/2/98. So, when you search for a date, use the format that Excel uses to store dates internally, not what you see on the screen. For example, use 3/2/98 to search for 2nd March 1998.

Searching For Numbers

Remember that internally, Excel stores numbers without any formatting (no comma or currency sign). You may see RM3,000.67 but internally it is 3000.67. So, when you search for a number, use the format that Excel uses to store numbers internally, not what you see on the screen. For example, enter 3000.67 in the Find what box, not RM3,000.67.

You can search for part of a number. For instance, if you search for "123", Excel will find "12345", "65123", "A123G" etc. To search for whole numbers only, put a check mark in the Find entire cells only box.

The Replace button will have the same effect as using the Edit/Replace menu.

141


No comments:

Post a Comment