Tyrel Smith
New Member
- Joined
- Nov 20, 2020
- Messages
- 26
- Office Version
- 2016
- Platform
- Windows
Can someone help me please,
I'm trying to get this COUNTIF function's criteria to be a cell (see image below)
it works fine when I have it as =COUNTIF(P2100:P2205;"Nov 2020")
but then every month I would have to change it manually.
cell N2208(highlighted in green) updates automatically every month that's why I want to use N2208 as the criteria for it but when I use it as =COUNTIF(P2100:P2205;N2208) it doesn't work.
I'm using excel 2010
Any help will be muchly appreciated even if it is a vba script.
thank you
I'm trying to get this COUNTIF function's criteria to be a cell (see image below)
it works fine when I have it as =COUNTIF(P2100:P2205;"Nov 2020")
but then every month I would have to change it manually.
cell N2208(highlighted in green) updates automatically every month that's why I want to use N2208 as the criteria for it but when I use it as =COUNTIF(P2100:P2205;N2208) it doesn't work.
I'm using excel 2010
Any help will be muchly appreciated even if it is a vba script.
thank you