Search Community
- Force.com Discussion Boards
- :
- Salesforce User Discussions
- :
- Best Practices Discussion
- :
- Formula to calculate a Contacts "Age" (in years) f...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Formula to calculate a Contacts "Age" (in years) from "Birthdate "
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-05-2005 02:10 AM
Thanks in advance!
Solved! Go to Solution.
Re: Formula to calculate a Contacts "Age" (in years) from "Birthdate "
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-05-2005 12:58 PM
Re: Formula to calculate a Contacts "Age" (in years) from "Birthdate "
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-05-2005 01:19 PM
Re: Formula to calculate a Contacts "Age" (in years) from "Birthdate "
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-28-2006 05:31 AM
You will find that this will round to the nearest year rather then give the actual age. To calculate the exact age (not rounding up or down to the nearest year). Use the following formula.
IF ( OR ( MONTH ( {!Birthdate} ) > MONTH (TODAY()), AND( MONTH ( {!Birthdate} ) = MONTH (TODAY()), DAY ( {!Birthdate} ) >= DAY (TODAY()+1))), YEAR (TODAY()) - YEAR ( {!Birthdate} ) -1, YEAR (TODAY()) - YEAR ( {!Birthdate} ))
Re: Formula to calculate a Contacts "Age" (in years) from "Birthdate "
[ Edited ]
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-02-2006 06:05 AM - last edited on 08-02-2006 06:05 AM
For Example
DATEDIF(start_date,end_date,unit) >>> =DATEDIF(( {!Birthdate} ),TODAY(),"y")
You can specify the formula to show Years (y), Months (ym) and Days (md).
Message Edited by DEManhong on 08-02-2006 06:09 AM
Formula to calculate an Agreement "Term" (in months) from "Core Contract Ex. Date"
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-22-2006 05:47 AM
This is really great, but could you show me what the formula needs to be to calculate the remaining number of months in a contract? We sell add-on's to exisiting contracts so the add-on needs to have a coterminous contract expiration date.
I have a field called Core Contract Exp. Date that I would like to use as the basis. Then we would compare it to the Close Date in order to get the Months remaining in Contract. I'm just a little think to figure it out on my own and would really appreicate your help.
Thanks,
Jane

