Two list compare

How to compare 2 list values in same index

For exemple

We have 2 lists

List 1 and list 2

List 1 contains

A
B
C
D

etc

List 2 contains

C
B
C
B

etc

When a button click
Compare both lists of same index

Here

When we compare list 1 and list 2 index value 1

In list 1 it is A and in list 2 it is C

so values are didnt match

Then compare index 2

List 1 index 2 is B and list 2 index also B
so index are matched
last we get total matched and total. Mismathed value count…

How to arrage block for this

Index value may 100 or above

This is one of the solutions you can try

1 Like

Does it work ?

It should be working, just need to count unmatched positions using else condition with one more variable.

1 Like

I create another logic

1 Like

Oh , I didn’t read the unmatched values. Yes, an esle condition or a simple length list - count and you save a variable :+1:t2:

Check message

Post also your logic so people can learn more :+1:t2:

1 Like

Sure… Some network issue for upload