This **list comparison tool** allows you to **compare two lists** (arrays) to be able you analyze the **difference between the two lists**.
The program receives lists of the type string or number and after starting the comparison it is possible to sort the results.

## Input data structure

## Input data type

## List A

## List B

## Handle data as...

## Output data separetad...

## A diff B

Values in A only

## B diff A

Values in B only

## A ∩ B

Intersection of values between A and B

## A ∪ B

Union of values between A and B

## A △ B

Symmetric difference between A and B

## How does the Compare Two Lists tool work?

It will function normally according to the rules of the sets, in Mathematics. However, in this tool, you can also choose the list option, so that it is possible to work with repeated values. The following operations are performed:

### A minus B

Returns the values that are present only in list A.

### B minus A

Returns the values that are present only in list B.

### A intersection B

They are represented by the values that occur simultaneously in the two lists.

### A union B

They are represented by all the values present in both lists.

### Symmetric difference

The symmetric difference of two sets is the set of elements that are in one of the sets, but not at its intersection.

## Important note

There is no limitation on the maximum number of rows allowed in a list, however, if you put in too large a volume of data, the browser may slow down or even crash for a moment.

what’s the maximum number of rows allowed in a list?

Hi Dak, I didn’t put any limitations, however, if you put a really big volume of data, it might slow down the browser or even crash for a moment.

Hello,

This is a great tool! Could you extend it to more lists? I would be very interested in using it for e.g. 4 lists.

Thanks

Remco

Hi Remco,

Thank you for using my Lists Comparator Tool. I’m happy to hear from you.

I will analise your recommendation to develop that in next time.

Best regards!