@danielboesing
If there's no red squiggle or any error, you don't have any syntax error. I also checked and it seems like your formula is correct. It's likely something with the LookUp and the Date.
Try this:
If(
IsBlank(LookUp(Table1, Date = Text(SelectedDate))),
Notify("Date not found!", NotificationType.Error),
Patch(
Table1,
LookUp(Table1, Date = Text(SelectedDate)),
Switch(
SelectedTeamMember,
"Matt Puffer", {'Matt Puffer': Dropdown2.Selected.Status},
"Justin Roehm", {'Justin Roehm': Dropdown2.Selected.Status}
// Continue with the other 7 or 8 users
)
)
)
if it says Date not found, check on your LookUp to see if there's anything incorrect about SelectedDate, the column, that you're picking a Date for which exactly one record exists in Table 1, etc. @danielboesing
Note: To avoid repeating the same LookUp twice, use With like below:
With(
{wSelectedDateRecord: LookUp(Table1, Date = Text(SelectedDate))},
If(
IsBlank(varSelectedDateRecord),
Notify("Date not found!", NotificationType.Error),
Patch(
Table1,
wSelectedDateRecord,
Switch(
SelectedTeamMember,
"Matt Puffer", {'Matt Puffer': Dropdown2.Selected.Status},
"Justin Roehm", {'Justin Roehm': Dropdown2.Selected.Status}
// Continue with the other 7 or 8 users
)
)
)
)