Hi all
It's been a while since I've had to put together a solid excel database and my skills are really rusty! I'll explain what I'm aiming to do because there's a fair chance that you know a better way to solve this than my formula.
I have to design a company training database, which shows which employee(s) have to attend which training based on a defined target group list in the database sheet, which lists all the names of that target group in separate columns/named ranges. There are around 10 target groups which overlap, i.e. an employee may be in about 3-4 target groups.
So on the main sheet you enter the name, date of a new training module and which target group it is for. Or you add a new name in a target group ("new employees") and want to see which training modules he or she has to attend when.
The goal is to select the target group of a new training module from a defined list (linked to database sheet) and then have an 'x' appear under each employee name included in that target group.
My best guess is:
=IF(target group selection = target group name, COUNTIF(target group range,name above column))
This works just fine for one instance only. But since I have to check about 10 target groups or more the results turn up as FALSE when several COUNTIFs have the name in it.
=IF(target group selection = target group A, COUNTIF(target group range A,name above),IF(target group selection = target group B, COUNTIF((target group range B,name above)
Would appreciate any idea how to make this work, thanks!
Bookmarks