Mar 15, 2023 12:00 PM
Hi,
Using the formula below I have an ERROR value issue when there is no date value available for {last deal stage change}. Can anyone advise how I would alter this to just leave a blank space or "no data" where there is no date value available in the date field column?
I need to use the datetime format to tidy up and remove the timestamp
Solved! Go to Solution.
Mar 15, 2023 12:25 PM
Hey @Donna,
Here are two options:
If you want it to just skip it entirely if the field is blank, then you can use this:
TRIM(
{Status symbol} & " | " & {Pipeline} & " | " & "Stage last changed: " &
IF(
{last deal stage change},
DATETIME_FORMAT(
{last deal stage change}, 'DD/MM/YY'
)
)
& " | " & {Deal Stage}
)
If you want it to return "No Data", then you could use this:
TRIM(
{Status symbol} & " | " & {Pipeline} & " | " & "Stage last changed: " &
IF(
{last deal stage change},
DATETIME_FORMAT(
{last deal stage change}, 'DD/MM/YY'
),
"No Data"
)
& " | " & {Deal Stage}
)
Mar 15, 2023 12:25 PM
Hey @Donna,
Here are two options:
If you want it to just skip it entirely if the field is blank, then you can use this:
TRIM(
{Status symbol} & " | " & {Pipeline} & " | " & "Stage last changed: " &
IF(
{last deal stage change},
DATETIME_FORMAT(
{last deal stage change}, 'DD/MM/YY'
)
)
& " | " & {Deal Stage}
)
If you want it to return "No Data", then you could use this:
TRIM(
{Status symbol} & " | " & {Pipeline} & " | " & "Stage last changed: " &
IF(
{last deal stage change},
DATETIME_FORMAT(
{last deal stage change}, 'DD/MM/YY'
),
"No Data"
)
& " | " & {Deal Stage}
)
Mar 15, 2023 12:37 PM
Thank you @Ben_Young1 all fixed. I really appreciate your help with this!
I'm still finding my way with formulas and nesting 🙂