Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I enter this year - 2 and this year -1 into my word document as a word field?

Posted on 2012-03-19
3
Medium Priority
?
191 Views
Last Modified: 2012-03-20
I need to write 2010 - 2011 based on the current year being 2012. How do I do this in Word 2003?

Please describe the merge fields and the actual key presses necessary to achieve the proper format. Telling me the merge code won't indicate to me how to generate it the right way.
0
Comment
Question by:dovidf
  • 2
3 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 2000 total points
ID: 37741361
You need to use two fields, a formula field and a date field. The data field must be formatted with a data switch to produce the year only, andthe formula field is just that result minus 2.

Enter the formula field, using ctrl + F9 to produce the curly brackets, so that it looks like this:

{= - 2}.

the put the cursor after the equals sign, press Ctrl+F9 again to produce a second set of curly brackets, and enter the Date field name and the switch, so that the whole thing looks like this:

{ = { DATE \@ "YYYY" } - 2 }

You can toggle to the result view with Alt +F9. You may have to force the field to update by selecting it and pressing F9.
0
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 37741389
Oops. In the second sentence, I twice used the word 'data', when 'date' would have been better.
0
 
LVL 4

Author Closing Comment

by:dovidf
ID: 37743619
It took a little fiddling but it did the trick.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you ever need to create a 20 page Word document for some testing purpose? Are you tired of copying & pasting old boring "lorem ipsum" text over and over again, increasing font size and line space in order to make the document 20+ pages long? Look…
Lost Word File? Eagerly, need it back? Read ahead; this File Recovery guide is for you.
This video walks the viewer through the process of creating Hyperlinks for the web and other documents. Select the "Insert" tab: Click "Hyperlink":  Type "http://" followed by a web address to reference a website or navigate to a document to ref…
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
Suggested Courses
Course of the Month8 days, 14 hours left to enroll

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question