Hi,. I've searched this and other forums to try to find a solution to my problem but cant find one that I can make sense of and transfer it to my worksheet, so I'm hoping somebody will be able to help.
On tab 1 of my workbook I have dates of employee training and dates when this training is due for renewal. This can be filtered into different staff groups. On tab two I have statistical data calculated from the info on tab 1. I need a formula on tab 2 to count the number of staff due to renew training, which I have done by using the formula
=COUNTIF('Training Records'!G6:G173,"<"&$K$1)
i.e. count if the renewal due date is prior to today ('Training Records being the name of tab 1, and K1 being todays date). My problem is that when tab 1 has been filtered to a specific staff group, I need this to only count those in the filtered list but cant work out a way to do this as SUBTOTAL doesnt work with COUNTIF.
I hope that makes sense! Thanks for any help you can give me.
Bookmarks