Hello. I tried to make a formula for counting multiple criteria, but I need some assistance. I need to count how many contracts were made by an employee, exist different types of contracts marked with some code (120, 121, 122...). But if employees make many contracts of the same code and for the same company needs to be counted only as 1. For example, as you can see in the image, an employee with the name "ANA" made twice contract "120" for "COMPANY 1" but this needs to be counted as 1, not 2. Results need to be written in the table below.