Hi, I am trying to return a value based on a range after a COUNTIF, e.g.
Sheet 1 has the range E6:E34 which lists employee IDs that have worked nightshift in a month
Sheet 1 also has a range M6:M34 which lists the number of nights worked
Sheet 2 has all possible employees by employee ID, i.e. criteria A3:A119
Once I execute the countif, I know they have worked a nightshift, but how do I return the corresponding value from the range M6:M34?
Thanks in advance, this is driving me nuts.
Cheers
Sheet 1 has the range E6:E34 which lists employee IDs that have worked nightshift in a month
Sheet 1 also has a range M6:M34 which lists the number of nights worked
Sheet 2 has all possible employees by employee ID, i.e. criteria A3:A119
Once I execute the countif, I know they have worked a nightshift, but how do I return the corresponding value from the range M6:M34?
Thanks in advance, this is driving me nuts.
Cheers