NorthbyNorthwest
Board Regular
- Joined
- Oct 27, 2013
- Messages
- 173
- Office Version
- 365
Hi, everyone. I have a formula that initially appeared to work, i.e., it returned what I wanted. It returned a list of distinct names from a table to another worksheet.
Formula =INDEX(SumTable1[Employee],MATCH(0,COUNTIFS(C$4:$C5,SumTable1[Employee],D$4:$D5,SumTable1[Position],E$4:$E5,SumTable1[Grade]),0))
The table dataset covers 12 months. Each employee has 12 entries. In most instances, the employee's position and grade will not change in the 12 months. So, in this instance the formula should return the employee's name once. However, if the employee's position or grade changes, I need the formula to return the employee's name a second time (to another row). Initially, the formula worked. But now for some unexplainable reason the formula returns the first name in the table's Employee column repeatedly, as the formula copies down. Could someone assist? I am totally stumped.
Formula =INDEX(SumTable1[Employee],MATCH(0,COUNTIFS(C$4:$C5,SumTable1[Employee],D$4:$D5,SumTable1[Position],E$4:$E5,SumTable1[Grade]),0))
The table dataset covers 12 months. Each employee has 12 entries. In most instances, the employee's position and grade will not change in the 12 months. So, in this instance the formula should return the employee's name once. However, if the employee's position or grade changes, I need the formula to return the employee's name a second time (to another row). Initially, the formula worked. But now for some unexplainable reason the formula returns the first name in the table's Employee column repeatedly, as the formula copies down. Could someone assist? I am totally stumped.