Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel - DateDiff Formula Not Displaying Correctly

Status
Not open for further replies.

JcTon

MIS
Oct 26, 2007
16
US
Using the following formula to calculate the age;

=DATEDIF(BirthDate,TODAY(),"y")&" years "&DATEDIF(BirthDate,TODAY(),"ym")&" months "&DATEDIF(BirthDate,TODAY(),"md")&" days"

Sometimes, the result displayed in the cell location within Excel is "days."

Any clue as to what is going on and how to resolve?

 
would it not be a good idea to post your solution so people with similar problem may just search and find the answer?

_________________________________________________
 





I suppose it would depend on the value in Birthdate

Skip,

[glasses] When a diminutive clarvoyant had disappeared from detention, headlines read...
Small Medium at Large[tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top