# If statement for a Modified Date column WITH the time in the cell

✭✭
edited 09/23/22

Hello again community!

I am trying to write a if statement formula where if a certain cell in the sheet is blank it will show the modified date column. Below is the sample of the formula:

=IF(NOT(ISBLANK([Sample]@row)), Modified_date@row,"")

This formula works great when I set the column formula to a Date column. However, I would love to also include the TIME and Date in this column. Basically I am asking if there is a way to make an if formula and produce exactly what is shown in the Modified date column. Please let me know if you need any other information.

Thank you!

• ✭✭✭✭✭✭

I hope you're well and safe!

Try something like this.

=IF(Sample@row = "", [Modified_date]@row + "")

Did that work/help?

I hope that helps!

Be safe, and have a fantastic week!

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, Awesome, 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.

• ✭✭✭✭✭✭

I hope you're well and safe!

Try something like this.

=IF(Sample@row = "", [Modified_date]@row + "")

Did that work/help?

I hope that helps!

Be safe, and have a fantastic week!

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, Awesome, 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.

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!