Tech

Guides
 

Toggle between date values and serial values in Excel

By Susan Harkins and Mary Ann Richardson, Special to ZDNet Asia
Thursday, January 08, 2009 11:55 AM
When working with time and date values, it can be beneficial to know a valueÂ’s serial value. Fortunately, Excel makes it easy to take a quick peek.

Microsoft Excel


Toggle between date values and serial values in Excel

Excel formats date and time values in a way that's meaningful to us: 11/12/08; November 12, 2008; 1:36 PM; 11/12/08 13:36, and so on. At a glance, we know exactly what the date and time string represents. Internally, Excel uses a serial value, not the formatted value that we see.

When working with time and date values, it can be beneficial to know a value's serial value. Fortunately, Excel makes it easy to take a quick peek. Simply press [Ctrl]+~ (that's the Shift value for the ` key, just left of the 1 key).

You can test this quickly enough by entering a few date and time values:

  1. Press [Ctrl]+; to enter the current date.
  2. Press [Ctrl]+[Shift]+; to enter the current time.
  3. Press [Ctrl]+; then [Spacebar] then [Ctrl]+[Shift]+; to enter the current date and time.

november2008blog4fig1r.jpg

To see the serial values for each date and time value, simply press [Ctrl]+~. When you're done, press [Ctrl]+~ again to return to normal view. Excel automatically adjusts the column width for both views.

november2008blog4fig2r.jpg



Microsoft Word


Create blank lines in a printed Word form the easy way

Word users often create printed fill-in forms that include underlined blanks spaces for writing in form data. While you can press Shift + - (hyphen) repeatedly to create these underlined spaces, it's difficult to line up the lines. Leader tabs make it easier to create even lines, as well as saving keystrokes, but you're limited to four underline styles.

Using the Underline button to underline tab characters gives you all the advantages of leader tabs with a wider choice of underline styles. For example, say you have used tabs to lay out your form, as shown in Figure A.

Figure A
tabbed form

To create the lines, just follow these steps.

  1. Click the Show/Hide button on the Standard toolbar so that you can see tab marksin your document. In Word 2007, click Show/Hide on the Home tab in the Paragraph group.
  1. Select the first tab mark you want to underline, then hold down the Ctrl key while you select each of other tab marks (Figure B).

Figure B
tab selection

  1. Go to Format | Font, choose the thick underline style from the Underline drop-down list, and click OK. In Word 2007, go to the Home tab, click the Underline button arrow in the Font group, and select a style from the Underline style list (Figure C).

Figure C
underline format

All lines will be printed, as shown in Figure D.

Figure D
underlines



Microsoft Access


Save a million keystrokes by turning Access text boxes into combo boxes

Do you find yourself constantly typing the same data in the same field? For example, say you work with an Employee Data form, and you find that you're typing the same three Zip codes repeatedly. Since most of your employees live near your company's three offices, you seldom need to type any other codes. By converting the Zip code text box into a combo box, you'll eliminate the retyping.

Follow these steps:

  1. Open the form in Design view.
  1. Right-click the Zip/Postal Code text box.
  1. Move to Change To and click Combo Box (Figure A).

Figure A
combo

  1. Right-click the Zip/Postal Code combo box.
  1. Click Properties (Figure B).

Figure B
properties

  1. On the Data tab, click the Build button in the Row Source field (Figure C).

Figure C
build button

  1. Add the Employees table.
  1. In the field list, double-click Zip/Postal Code.
  1. Click in the Criteria box under Zip/Postal Code and enter Is Not Null (Figure D).
  1. Close and save the query.

Figure D
criteria

Now you can simply select one of the three zip codes from the drop-down list in the combo box, as shown in Figure E.

Figure E
combo box




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. microsoft access
  8. microsoft corp.
  9. microsoft excel
  10. microsoft excel 2007
  11. microsoft office
  12. microsoft powerpoint
  13. microsoft vba
  14. microsoft word
  15. microsoft word 2007
  16. mouse
  17. tool
  18. tools menu
  19. window