I need to match any three field with among the four variables

Must match any three field from below

Name=first name
Lastname=lastname
Surname=surname
Address=mailing address

Hii @sruthesanju ,
Can you please elaborate more on your requirement?

Among the four given variables any three should be match

Can you give us the proper input please.

Regards.

@sruthesanju

Use 4 if conditions one for each condition…

Before the conditions initialize a counter =0

And on then side of each condition use assign with counter = counter+1

And after all 4 conditions check if counter>=3…if yea then minimum 3 conditions are true else no

Hope this helps

Cheers

Any three variable given should be matched either the value of last name ,name,address should match with the value last name first name mailing address

Hii @sruthesanju ,

{Name="first name",LastName="lastname",SurName="surname",Address="mailing address"}.Where(Function(x)x=True).Count>=3

You can put this in if condition and continue with the remaining logic.Check this below screenshot.
image

If the inputs are from for each row u can pass currentrow in place of the Inputs

Hope this helps, :slightly_smiling_face:

1 Like

Hi @sruthesanju

Give a try to this
Multiple_Condition.xaml (12.9 KB)

1 Like

image
mainsss.zip (2.9 KB)
Hope this helps
Regards.

2 Likes