Tech

Guides
 

Use Excel's DGET function to zero in on information you need

By Mary Ann Richardson and Susan Harkins, Special to ZDNet Asia
Thursday, December 04, 2008 01:53 PM
You can save your users considerable time--and eyestrain--by setting up a handy formula that tells Excel to display a specific cell entry for them.

Microsoft Excel


Use Excel's DGET function to let users zero in on the information they need

Users should not have to scan hundreds of rows and columns in an Excel worksheet to locate the information they need. Instead, use the DGET function to set up your worksheets so Excel can do the searching for them. For example, say your users are continually having to scan a worksheet showing what projects the company worked on during 2007 and the total costs incurred each day. Figure A shows part of this worksheet.

Figure A
sample worksheet

Rather than having users scan the Date column to see what was spent on a specific day in January, you can set up the worksheet so that they can simply enter the date in question and have Excel find the information for them. Follow these steps:

  1. Type Enter Date Here: in cell H5.
  1. Type Date in cell H6.
  1. Type Project ID in cell H9.
  1. Type Cost in cell H10.
  1. In cell I9, enter:
    =DGET(A1:C25,2,H6:H7)
  1. In cell I10, enter:
    =DGET(A1:C25,3,H6:H7)

Figure B shows how the sheet will look at this point.

Figure B
DGET function

Users can now enter a date in H7, and Excel will return the project ID and cost of the project for that day, as shown in Figure C.

Figure C
DGET results


Microsoft Word


Use Word's Find and Replace feature to change text from Bold to Blue

Find and Replace is not just for finding and replacing a specific word with another word; it can also be used to change a format throughout your document. For example, say you used bold to emphasize certain words, as shown in Figure A.

Figure A
Boldl text

You decide that you would like to change the words in bold to regular text and their font color to blue. Follow these steps:

  1. Go to Edit | Replace. (In Word 2007, click Edit on the Home tab and then click Replace.)
  1. Click in the Find What text box and press Ctrl + B.
  1. Click in the Replace With text box.
  1. Click the More button.
  1. Click the Format button and then click Font (Figure B).

Figure B
Find and Replace

  1. Click Regular under Font style.
  1. Click the Color drop-down arrow and select blue (Figure C).

Figure C
Replace with blue

  1. Click OK.
  1. Click the Replace All button (Figure D).

As you can see in Figure E, all the previously bold text is no longer bold, but blue.

Figure D
Replace All

Figure E
Bold is Blue

Note: If you just need to convert to regular text, press Ctrl + B in the Find What box and then click in the Replace With box and press Ctrl + B twice. This tells Word to replace Bold with Not Bold. In a similar fashion, you can press Ctrl + I or Ctrl + U to find and replace all occurrences of text that are italicized or underlined, respectively.


Microsoft Access


Hide Access tables to safeguard them from users

You should never let users access a table directly. When they need to add, delete, or modify data, give them a form to work through. Unfortunately, some users won't be satisfied, and they'll try to work around your data entry forms. One of the simplest ways to protect a table is to hide it, as follows:

  1. Right-click the object in the Database window.
  2. Choose Properties.
  3. Click the Hidden option.

Doing so removes it from the Database window list, but it’s still there. Most users won’t know to look for hidden objects, but some might. Viewing hidden objects is easy enough:

  1. From the Tools menu, choose Custom.
  2. Click the View tab.
  3. Check the Hidden Objects item in the Show section.

Another way to hide a table is to add the prefix Usys to the table's name. Access interprets any table with that prefix as a system object and hides it. (Access hides all system objects.) Checking the Hidden Objects item (step 3, above) won’t display hidden system tables. However, clicking System Objects in the Show section will. A few users might be perceptive enough to try that option even if they don't know what it will do.

Hiding tables won't always be enough. Consider inhibiting the Database window or even deploying Access workgroups security.



WORTHWHILE?

0

0 votes
Blog

Talkback 0 comments

There are currently no comments for this post.


Guest user

Guest user

Level: 
Joined: —
Already a member? Log in »



 

Loading...

Whitepapers/Case Studies

Downloads

Microsoft Office Suite News



Tech Jobs Now!

Tags

  1. cell
  2. check box
  3. database
  4. dialog box
  5. figure
  6. font
  7. keyboard
  8. microsoft access
  9. microsoft corp.
  10. microsoft excel
  11. microsoft excel 2007
  12. microsoft office
  13. microsoft powerpoint
  14. microsoft vba
  15. microsoft word
  16. microsoft word 2007
  17. mouse
  18. tool
  19. window