Hi, Would be glad if someone could help me with my problem. I want to create one more column where I flag customers from other existing columns. Can somebody please help me with that code? In column A I have "MOTHERCUST_ID", in column B I have "CUST_ID" and in column C I have "ORG_NR". The code I want will give me: If one "MOTHERCUST_ID" (column A) have one or more "CUST_ID" (column B), and all have the same "ORG_NR" (column C) as the mother - they should all get "TRUE" in column D. If one "MOTHERCUST_ID" (column A) have more than one "CUST_ID" (column B), and one or all have different "ORG_NR" (column C) than the mother - they should all get "FALSE" in column D. -Even if one of the customer have the same orgnr and the rest is wrong, they should all get "FALSE". *See how I want the result in new column in the attach file, marked with different colors. Black is customer who have only one row per customer Red is group-customer who have more than one customer connected, but all with same org-number. Green is group-customer who have more than one customer connected, where one or all org-number is different than the mother. JI
... View more