Upcoming database upgrades. to improve our reliability at 03:30 UTC on Feb. 25 / 7:30pm PT on Feb. 24. Some users may briefly experience slow load times or error messages. Learn more here

If Blank... Formula

Topic Labels: Formulas
251 3
Showing results for 
Search instead for 
Did you mean: 

I have this formula. If there is no date, the formula errors out. I need it to be the exact same formula but if the date field is blank, it still fills in all the other columns.

Here’s the formula: DATETIME_FORMAT({Date}, ‘YYYY-MM-DD’)&" “&Type&” || "&{Fellow}&{External Guest}

How would I change it to include blank-dates?

3 Replies 3

This formula should work:

IF({Date}, DATETIME_FORMAT({Date}, ‘YYYY-MM-DD’) & " “)
& Type & ” || " & {Fellow} & {External Guest}

Here’s the same formula with the styled quotes fixed:

IF({Date}, DATETIME_FORMAT({Date}, 'YYYY-MM-DD') & " ")
& Type & " || " & {Fellow} & {External Guest}

Oops! Great catch, @Justin_Barrett! :grinning_face_with_big_eyes: