Hello Excellent Excellers!
The attached document is a roster for employees that I'm working on. I want to be able to see, at a glance, which employees are "Absent" from one month to the next. So basically I've been provided a formula that matches the data from one cell to many cells in another column to see whether the employee is there "Present", missing "Absent", transferred "Per Diem", or remains blank. The problem I'm running in to is that I'm getting false "Absent" values for blanks from one month to the next. Cells that have no names in them are resulting in "Absent" when they should result in blanks.
Is there anyway to keep these false absences from showing up?
The formula I'm primarily using for this operation is:
=IF(AND(ISNA(MATCH(A22,$D$5:$D$92,0)),NOT(ISNA(MATCH(A22,$D$98:$D$116,0)))),"Per diem",IF(AND(NOT(ISNA(MATCH(A22,$D$5:$D$92,0))),ISNA(MATCH(A22,$D$98:$D$116,0))),"Present","Absent"))
To be honest, I'm not exactly sure how all the aspects of this formula work. There may be a better option in VBE to do this operation so I'm open to any suggestion.
Thanks for all your help.
Bookmarks