Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

How to set formula for calculated column "age" based on "Date of Birth" column, with if condition in sharepoint lists?

$
0
0

Hi,

I want to create column for age,age should be a calculated column based onDate of Birth column. If date is not null the difference should be calculated else it should return 0.

I used the formula   IF(ISBLANK[Date of Birth],"0",DATEDIF([Date of Birth],Today,"Y")), but it is not working.

please help me,

Thank you.


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>