Valid if any of the 2 options are selcted

Hi Guys,

I have this issue:

I have 3 options to select i.e.

Machine
Service
Lubricant

If chosen Machine : Dropdowns options Machine1,Machine2 shud appear (I was able to do it form SHOW IF)

But if service or lubricant either of them is selected - Dropdowns Service1,Service2,Lubricant1,Lubricant2 shud appear. For both the options Service or Lubricant.. Same dropdown shud appear

 

Basically,i am looking for a formulae in showif which can be shown when either of the condition is met 

Solved Solved
0 4 117
1 ACCEPTED SOLUTION

You could try use valid_if on second enum such as 

IFS(

[Enum 1]="Machine" , LIST("Machine1" ,  "Machine2),   

OR( [Enum 1]="Service", [Enum 1] ="Lubricant"), LIST("Service1" ,  "Service2" ,  "Lubricant1" ,  "Lubricant2")

)

Please take a look at the article "Drop-down from Valid_If"

https://support.google.com/appsheet/answer/10107665?hl=en

 

View solution in original post

4 REPLIES 4

Do you have 2 enum columns  to achieve this? Something like below?

First enum with options Machine , Service, Lubricant

The second enum with options 

And second enum with Machine1, Machine2 , Service1, Service2, Lubricant1, Lubricant2

Yes.. Enum options are present

You could try use valid_if on second enum such as 

IFS(

[Enum 1]="Machine" , LIST("Machine1" ,  "Machine2),   

OR( [Enum 1]="Service", [Enum 1] ="Lubricant"), LIST("Service1" ,  "Service2" ,  "Lubricant1" ,  "Lubricant2")

)

Please take a look at the article "Drop-down from Valid_If"

https://support.google.com/appsheet/answer/10107665?hl=en

 

That worked in one go.. Thanks!!!!

Top Labels in this Space