Hoping somebody can help out...please 
I have a sheet that I want to do countifs on but when I put 2 working countifs together in one formula I get #value?
1. =COUNTIFS(Colleagues!$E:$E,$B$4) - returns the correct result
2. =COUNTIFS(OFFSET(Colleagues!$A$3,1,MATCH($B$2-1,Colleagues!$3:$3,0),20000,1),"*"&$C$2&"*") - returns the correct result
Join them together to get the result I want:
3. =COUNTIFS(Colleagues!$E:$E,$B$4,OFFSET(Colleagues!$A$3,1,MATCH($B$2-1,Colleagues!$3:$3,0),20000,1),"*"&$C$2&"*") - just get #value as result?
Can anybody suggest where I am going wrong as this is melting my brain.
Thanks in advance for advice

I have a sheet that I want to do countifs on but when I put 2 working countifs together in one formula I get #value?
1. =COUNTIFS(Colleagues!$E:$E,$B$4) - returns the correct result
2. =COUNTIFS(OFFSET(Colleagues!$A$3,1,MATCH($B$2-1,Colleagues!$3:$3,0),20000,1),"*"&$C$2&"*") - returns the correct result
Join them together to get the result I want:
3. =COUNTIFS(Colleagues!$E:$E,$B$4,OFFSET(Colleagues!$A$3,1,MATCH($B$2-1,Colleagues!$3:$3,0),20000,1),"*"&$C$2&"*") - just get #value as result?
Can anybody suggest where I am going wrong as this is melting my brain.
Thanks in advance for advice
