Hi Jackpot,
Thanks for the formula suggestions. Unfortunately, I misspoke: I meant to say Named Ranges, not Tables. Even so, I still couldn’t get the formula to work on this most important part of the sheet. I could use your help yet again.
I’ve included an updated sheet again for your reference.
DI2:HD2 list Computing Environments (CE), as listed in named range (CE) on sheet CEs & Certs . I made room for 50 Certs, although no one will likely ever need more than 10. Next to each Cert (starting with DJ2) is a cell reporting Yes or No compliance; this is the problem. This needs to answer Yes or No, based on the info in the accompanying blue cells HE2:IL2. Compliance is determined by:
1) Does the CE have an earned certification in the blue cells, indicated by Yes or Alt method?
2) Does the CE meet the government’s time requirements?
Each person must list their CEs in the order of importance to their job. Some people have only one, some have many. But they need not all be earned at once in order to be compliant. Each person has 6 months to earn each, starting from the date in column O2. So CE #1 must be earned within 6 months after the date in O2, CE #2 within 12 months after the date, etc. If that time period has not yet passed, then compliance is “Yes”. If the date in O2 is < Today(), AND the blue cells don’t answer Yes or Alt method, then compliance is not met and the cell DJ2 should answer “No”. Knowing that the govt can change the time interval requirement I made a user-defined variable in K3 on sheet Refs & Defs. The formula in DJ2 should also reference this so that any future changes to the time requirement can be made globally, without having to edit a formula.
Having said all that, I still feel my huge formula-based approach is less than elegant, and that references to the named ranges would be better. Do you have time to take a crack at this one? I thought about using the Index-Match combination but wasn’t sure what to expect when using it “horizontally”, when I’ve always used it for to search within vertical lists. And if you haven’t yet noticed, I added the names of the CEs (Green cells) to the top of the certs (Blue cells) so I could make the connection. And because some of the cert titles had the same name as the CE, I added a coma after each CE and added that to the Isnumber (search(DI2&”,”,HE1:IL1). That may help but the formula still doesn’t work.
The named ranges for the Computing Environments (CE), the corresponding certs (CE Certs), and the answer to certs earned (CE Cert or Training) are all located on sheet CEs & Certs.
Randall Lloyd
My_new_8570_records-a3-temp.xlsx.zip