Percentage of similarity between two columns

Good afternoon thank you very much first of all,

Please could you help me with a small query, I have two columns in my app in which I would like to know the percentage of similarity between two responses.

Something similar to the attached screenshot

3X_5_6_56eb898d0018e75f1a6d8d3c5a15386354bac039.jpeg

Thank you very much

0 8 540
8 REPLIES 8

So the order doesnโ€™t matter as long as the words are the same?
Also doesnโ€™t matter how large the words are? they are weighted the same?

Steve
Platinum 4
Platinum 4

No such function is available in AppSheet.

Not very simple one but you could try the below formula. Havenโ€™t tested but it should work.

(COUNT(INTERSECT(SPLIT([Cadena 1," โ€œ),SPLIT([Cadena 2],โ€ โ€œ))))/
(COUNT(UNIQUE(SPLIT([Cadena 1],โ€ โ€œ)+SPLIT([Cadena 2],โ€ ")))*1.0)

Good afternoon

Thank you very much Aleksi Alkio I have tried the formula that but the result it gives me is 0.00 only works when the two values match 100% in both columns I attach both examples in a screenshot

On the other hand, in the example that I attach, how you can see a country coincide in both answers, so the percentage should not be 0%

Thank you in advance for your help

In your case the formula wonโ€™t work because you have used ", " as the separator where my sample is using space. You need to change that and you should be fine.

hello Aleksi, sorry for not being able to answer, it works correctly thank you very much

No worries

Top Labels in this Space