Nov 21, 2022 12:28 PM
Looking for help creating a formula to output one of these answers based on a person’s meeting start date and the completed date of the program.
Meeting Status field (formula):
• Done
• ToDO
• NA
• Upcoming
My fields are-
• Meeting Start Date –
• Program Date
• Current Date Field
I appreciate any help.
Solved! Go to Solution.
Nov 22, 2022 02:59 PM
Hi, Kamille. I need a tweak to get the NA to work. For example, an employee isn’t required to complete a program until 12/1/2022. In the November program field he needs an NA. The formula is returning a missed (but with my emojis). Here is my formula with my fields. I may not understand your NA formula and the meaning of the dates in “”.
IF(
AND(
{Meeting Start Date},
{NovBeg(hide)}
),
IF(
AND(
DATETIME_FORMAT({Meeting Start Date}, “YYYYMMDD”) = “20221101”,
** DATETIME_FORMAT({NovBeg(hide)}, “YYYYMMDD”) = “20221101”**
),
“NA”,
IF(
{NovBeg(hide)} > TODAY(),
“upcoming”,
IF(
NOT({Nov22}),
“ :warning: :triangular_flag_on_post: ”,
IF(
{Nov22}=“Nov 2022”,
“ :heavy_check_mark: ”,
“ :warning: :triangular_flag_on_post: ”
)))))
Nov 21, 2022 02:09 PM
Try:
IF(
AND(
{Meeting Start Date},
{Program Date}
),
IF(
AND(
DATETIME_FORMAT({Meeting Start Date}, "YYYYMMDD") = "20221101",
DATETIME_FORMAT({Program Date}, "YYYYMMDD") = "20221201"
),
"NA",
IF(
{Program Date} > TODAY(),
"upcoming",
IF(
NOT({Program Date}),
"ToDo",
"done"
))))
Nov 21, 2022 02:52 PM
Yes, that worked! Thank you. Wendy
Nov 21, 2022 02:54 PM
If my result is “done” It has to be verified first. I have another field called MtgDone which requires HR’s checkmark for the employee to get credit. Is there a way to add that into this function?
Nov 21, 2022 03:11 PM
IF(
AND(
{Meeting Start Date},
{Program Date}
),
IF(
AND(
DATETIME_FORMAT({Meeting Start Date}, "YYYYMMDD") = "20221101",
DATETIME_FORMAT({Program Date}, "YYYYMMDD") = "20221201"
),
"NA",
IF(
{Program Date} > TODAY(),
"upcoming",
IF(
NOT({Program Date}),
"ToDo",
IF(
{MtgDone},
"done",
"needs verification"
)))))
Nov 21, 2022 03:32 PM
Wow! That works. Thank you. I appreciate all the help. Wendy
Nov 21, 2022 03:35 PM
Good, please mark my second reply as the solution to close this thread.
Nov 22, 2022 02:59 PM
Hi, Kamille. I need a tweak to get the NA to work. For example, an employee isn’t required to complete a program until 12/1/2022. In the November program field he needs an NA. The formula is returning a missed (but with my emojis). Here is my formula with my fields. I may not understand your NA formula and the meaning of the dates in “”.
IF(
AND(
{Meeting Start Date},
{NovBeg(hide)}
),
IF(
AND(
DATETIME_FORMAT({Meeting Start Date}, “YYYYMMDD”) = “20221101”,
** DATETIME_FORMAT({NovBeg(hide)}, “YYYYMMDD”) = “20221101”**
),
“NA”,
IF(
{NovBeg(hide)} > TODAY(),
“upcoming”,
IF(
NOT({Nov22}),
“ :warning: :triangular_flag_on_post: ”,
IF(
{Nov22}=“Nov 2022”,
“ :heavy_check_mark: ”,
“ :warning: :triangular_flag_on_post: ”
)))))