Data Validity and Invalid Value Error

Are we able to use IFS() statements to suggest multiple invalid value errors for multiple scenarios? I havenโ€™t been able to pull it off and Iโ€™m not sure if it is possible.

Thanks!

0 6 703
6 REPLIES 6

If you elaborate further, one could suggest on the feasibility.

I am using the Google Calendar function right now and trying to limit the data validity for the [Attendees] column.

Iโ€™ve written formula to throw an error if the attendees selected are scheduled elsewhere during the same time period, and also want to limit the attendees chosen to 3.

I tried using an IFS() statement to say โ€œAttendee is unavailable for time selectedโ€ in the first scenario, and also โ€œPlease limit attendees to 2โ€ if more than 2 are selected.

Hope I am making things clearโ€“thanks!

In general, I believe , yes, you should be able to write an IFS(), IF() based valid if for multiple conditions and associated error message(s) as well.

Edit: So your Valid_if error message could be something like

IFS (
AND( โ€œcondition of attendee NON availableโ€=FALSE, โ€œcondition for attendee number EXCEEDING 2โ€=TRUE), โ€œPlease limit attendees to 2โ€ ,

AND( โ€œcondition of attendee NON availableโ€=TRUE, โ€œcondition for attendee number EXCEEDING 2โ€=FALSE), โ€œAttendee is unavailable for time selectedโ€ ,

AND( โ€œcondition of attendee NON availableโ€=TRUE, โ€œcondition for attendee number EXCEEDING 2โ€=TRUE), โ€œAttendee is unavailable for time selected AND Please limit attendees to 2 โ€

)

Edit 2: Added missing parenthesis for the AND() conditions.

For some reason my IF() statement in the invalid value error is not responding properly.

My conditions still allow for an error to be noticed, but the error message simply says โ€œThis entry is invalidโ€

It will be possible to suggest an exact expression , if feasible , if you are able to share the Valid_if expression that is working.

In the edited post above, I have shared a suggested construct for the error message based on the information you have given thus far.

Error message text is produced by an expression in Invalid value error:

3X_0_3_03435ac7d3da4afc97725fed8702ed20f79cea21.png

Top Labels in this Space