How can I show age based on a birthday and empty if no birthday is entered?

I want to show the age of a person based on their birthday today. I use:

DATEIF (K3, today, "Y")

It is not big, but if I'm not birthday, or do not enter a birthday it shows "2016". I wish it were empty if there is no birthday. What I have to add to the formula to get this result?

jcapune wrote:

I want to show the age of a person based on their birthday today. I use:

DATEIF (K3, today, "Y")

It is not big, but if I'm not birthday, or do not enter a birthday it shows "2016". I wish it were empty if there is no birthday.

You can try this:

= IF (K2 = "","", DATEDIFF (K2, TODAY (), "Y"))

SG

Tags: iWork

Similar Questions

Maybe you are looking for