# IF Function (Displays 0.00 instead of a blank when using "")

Options
✭✭✭✭

I have a formula that is properly calculating Years (Age) for a person's age if the Date of Birth (DOB) is populated, but is calculating & showing 0.00 for when the DOB field is empty/not-populated. I was hoping to just have that filed appear blank without a zero value.

Here's what I'm using for the formula:

=IFERROR(IF(TODAY() > DOB@row, (TODAY() - DOB@row) / 365), "")

Tags:

• ✭✭✭✭✭✭
Options

I hope you're well and safe!

Try something like this.

```=IF(DOB@row = "", "", IFERROR(IF(TODAY() > DOB@row, (TODAY() - DOB@row) / 365), ""))
```

Did that work/help?

I hope that helps!

Be safe and have a fantastic weekend!

Best,

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!

SMARTSHEET EXPERT CONSULTANT & PARTNER

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

• ✭✭✭✭✭✭
Options

I hope you're well and safe!

Try something like this.

```=IF(DOB@row = "", "", IFERROR(IF(TODAY() > DOB@row, (TODAY() - DOB@row) / 365), ""))
```

Did that work/help?

I hope that helps!

Be safe and have a fantastic weekend!

Best,

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!

SMARTSHEET EXPERT CONSULTANT & PARTNER

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

• ✭✭✭✭
Options

Thanks Andree!

• ✭✭✭✭✭✭
Options

Happy to help!

SMARTSHEET EXPERT CONSULTANT & PARTNER

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!