anna82marie
New Member
- Joined
- Jan 22, 2014
- Messages
- 15
- Office Version
- 365
- Platform
- Windows
- MacOS
So, I have a formula (see below) to return training in date, upcoming and expiring (RAG). This returns the status for the entire workforce. I need to get it to work against a specific row matching the employee name in a separate drop-down. I'm totally stuck!
=IF(IF(H$3="N/A",COUNTIF(H$11:H$1003,"<>"&""),IF(H$3=Data!$A$25,COUNTIF(H$11:H$1003,">"&Data!$C$32),IF(H3=Data!$A$26,COUNTIF(H$11:H$1003,">"&Data!$C$33),IF(H$3=Data!B27,COUNTIF(H$11:H$1003,">"&Data!$C$34),IF(H$3=Data!$A$28,COUNTIF(H$11:H$1003,">"&Data!$C$35),IF(H$3=Data!$A$29,COUNTIF(H$11:H$1003,">"&Data!$C$36),IF(H$3=Data!$A$30,COUNTIF(H$11:H$1003,">"&Data!$C$37),"N/A")))))))=0,"N/A",IF(H$3="N/A",COUNTIF(H$11:H$1003,"<>"&""),IF(H$3=Data!$A$25,COUNTIF(H$11:H$1003,">"&Data!$C$32),IF(H3=Data!$A$26,COUNTIF(H$11:H$1003,">"&Data!$C$33),IF(H$3=Data!B27,COUNTIF(H$11:H$1003,">"&Data!$C$34),IF(H$3=Data!$A$28,COUNTIF(H$11:H$1003,">"&Data!$C$35),IF(H$3=Data!$A$29,COUNTIF(H$11:H$1003,">"&Data!$C$36),IF(H$3=Data!$A$30,COUNTIF(H$11:H$1003,">"&Data!$C$37),"N/A"))))))))
Any help would be appreciated - I've been scratching my head for hours.
A x
=IF(IF(H$3="N/A",COUNTIF(H$11:H$1003,"<>"&""),IF(H$3=Data!$A$25,COUNTIF(H$11:H$1003,">"&Data!$C$32),IF(H3=Data!$A$26,COUNTIF(H$11:H$1003,">"&Data!$C$33),IF(H$3=Data!B27,COUNTIF(H$11:H$1003,">"&Data!$C$34),IF(H$3=Data!$A$28,COUNTIF(H$11:H$1003,">"&Data!$C$35),IF(H$3=Data!$A$29,COUNTIF(H$11:H$1003,">"&Data!$C$36),IF(H$3=Data!$A$30,COUNTIF(H$11:H$1003,">"&Data!$C$37),"N/A")))))))=0,"N/A",IF(H$3="N/A",COUNTIF(H$11:H$1003,"<>"&""),IF(H$3=Data!$A$25,COUNTIF(H$11:H$1003,">"&Data!$C$32),IF(H3=Data!$A$26,COUNTIF(H$11:H$1003,">"&Data!$C$33),IF(H$3=Data!B27,COUNTIF(H$11:H$1003,">"&Data!$C$34),IF(H$3=Data!$A$28,COUNTIF(H$11:H$1003,">"&Data!$C$35),IF(H$3=Data!$A$29,COUNTIF(H$11:H$1003,">"&Data!$C$36),IF(H$3=Data!$A$30,COUNTIF(H$11:H$1003,">"&Data!$C$37),"N/A"))))))))
Any help would be appreciated - I've been scratching my head for hours.
A x