Aug 09, 2022 06:09 PM
I currently have this:
DATETIME_FORMAT({Date of donation}, ‘M/D/YYYY’) & “—” & IF({On behalf of corporation?}, {Donor’s employer}, Donor)
I have another field named “Member Donor”. If the Donor field is blank then I want it to pull the Member Donor field.
Solved! Go to Solution.
Aug 09, 2022 06:18 PM
Hi Angela, could you try this out?
DATETIME_FORMAT(
{Date of donation}, 'M/D/YYYY'
) &
'—' &
IF(
{On behalf of corporation?},
{Donor’s employer},
IF(
{Donor},
{Donor},
{Member Donor}
)
)
Edited to fix the curly quotes issue pointed out by kuovonne!
Aug 09, 2022 06:18 PM
Hi Angela, could you try this out?
DATETIME_FORMAT(
{Date of donation}, 'M/D/YYYY'
) &
'—' &
IF(
{On behalf of corporation?},
{Donor’s employer},
IF(
{Donor},
{Donor},
{Member Donor}
)
)
Edited to fix the curly quotes issue pointed out by kuovonne!
Aug 09, 2022 06:31 PM
Thank you! At first it gave me an error but when I removed the curly brackets from Donor, it worked! I’m not sure why that table doesn’t pull the curly brackets for that field. Thank you again!
Aug 09, 2022 07:39 PM
Forum curly quotes strike again! Formulas don’t handle curly quotes ‘ ’ “ ”
well. Use straight quotes instead ' ' " "
Sounds like the Angelena solved this on her own though.
(This post is mostly a tip for anyone else who finds this thread.)
Aug 10, 2022 06:03 AM
Ah man, thanks for this! Have edited my post to fix this issue