I have two arrays of many rows , in my Google sheets, which have numbers such as
Active | Recovered |
---|---|
904;1505;1706 | 406;504;1502;1503 |
202;401;602;1104;1501 | 202;1502;1602;1704 |
I have shown only two rows to explain my problem. In the second row, you see that 202
is common. These rows are populated by complex calculations over which I have no control 1. Logically, if the element is common (202
here), it should appear only under Active
and be removed from Recovered
.
How do I compare and remove the common element? Or at least alert me that a common element exists so that I can manually copy-paste that row and delete it?
1 Active
column is populated a formula like =Join(";",Transpose(ARRAY_CONSTRAIN(SORT(UNIQUE(FILTER('2022'!D3:D319,TO_TEXT('2022'!F3:F319)="Active",'2022'!D3:D319<>"")),1,true),15,1)))
; similarly Recovered
and I have no way of accessing the source. My job is to report the output and only today noticed the duplication