• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Outlook Tips

Learning Microsoft Outlook One Tip At A Time

Diane Poremsky [Outlook MVP]

  • Home
  • Tips Archive
  • How to...
  • Beginner
  • Outlook.com

Tip 161: Custom Field Formulas

A reader asks:

I have added a custom field on contacts which calculates the contact's age using this formula:

IIf([Birthday]<>"None",DateDiff("yyyy",[Birthday],Date())-IIf(DateDiff("d",CDate(Month([Birthday]) & "/" & Day([Birthday]) & "/" & Year(Date())),Date())<0,1,0),"")

I see a recurring event on the birthday in the Calendar which says:
Contact Name's Birthday

Is there any way to do this so the subject reads:
Contact Name's Birthday (Age)

Sorry, no. Outlook doesn't support reading a field to create a subject.  [Updated: see method below to change the subject line.]

You could use code to create the birthdays, but rather than creating recurring appointments, you'll create individual appointments. If you aren't a code writing kind of guy, you can create birthday appointments in Excel, using Excels features to increment the subject fields then import them into Outlook. (Export one to learn the fields you need to use.)

Note that if you use a table view, you can display the age field in the view. Yeah, I know, it just isn't the same.

For a sample contact, see
To calculate the age of a Microsoft Outlook contact

See How to create a custom appointment form that displays a person's current age in Microsoft Outlook calendar for a method you can use to enable a dynamic subject field. Note that for birthdays and other recurring events, it will show the person's current age if you view past or future years, not the age on a specific birthday.

Published July 22, 2004. Last updated on September 12, 2013.

Share this:

  • Twitter
  • Facebook
  • LinkedIn
  • More
  • Print
  • Tumblr
  • Reddit
  • Pocket
  • Pinterest

Related posts:

When you color code a shared calendar by user, you can tell by just looking at the calendar if someone is busy. You need Outlook 2Tip 79: Color Coding a Shared Calendar Did you know you aren't limited to using specific view formats on specific folders? Yes, you can create a Day/Week/month viewTip 97: Using Custom Views Last week I told you how mark the contacts you wanted to journal from the contacts folder, but if you plan to journal every contacTip 136: Set Journal Flag in Custom Form Outlook 2002 introduced Labels to the calendar, allowing you to display appointments in your Day/Week/Month view using different cTip 3: Calendar Views
Subscribe
Notify of
4 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Primary Sidebar

Search OutlookTips

Training and one-on-one assistance

Do you need help setting up Outlook or want some one-on-one training? I'm available for hire. See Training and one-on-one assistance for fees and to check availability.

All-Time Most Popular Posts

  • Windows 7 and Vista Start Search field
    How to start Outlook in safe mode
  • outlook.com icon
    Delete a message stuck in Outlook's Outbox
  • How to use Outlook's Command line switches
  • Use Cleanviews switch to reset all views
    How to Reset the View on Outlook folders
  • Where are my Outlook Files?
  • Folder paths
    How to Find Folder Paths in Outlook Mailboxes
  • How to use Scanpst.exe to repair Outlook data files
  • Outlook's Missing Holidays
  • backstage page
    Where is File tab in Outlook?
  • Icons found in the Inbox, Message Headers, and Toolbars

Footer

Recent Posts

  • Log into multiple Outlook on the web accounts
  • Keeping Hackers out of Microsoft accounts
  • Microsoft Account Closure Email
  • Outlook on the web Quick Actions moved to the right
  • Automatically sign out of Outlook.com

Recent Bug List

Microsoft keeps a running list of issues affecting recently released updates at Fixes or workarounds for recent issues in Outlook for Windows.

Office Update History

Update history for supported Office versions is at Update history for Office

Resources

Ask questions and share your knowledge in Outlook Forums.

You Might Like

Where is File tab in Outlook?
Using Two-factor authentication
Where are my Outlook Files?
How to use Outlook's Command line switches

© 2003–2025 · Outlook Tips

wpDiscuz
You are going to send email to

Move Comment