Nelson78
Well-known Member
- Joined
- Sep 11, 2017
- Messages
- 526
- Office Version
- 2007
Hello everybody.
I have set up the instruction below that works perfectly (consider Rng is column C of a sheet).
Now, I have to count if also a second criteria is checked: in particular, on the same row of "CODE 37", the value in column B has to be < 50.
How can I combine the two criteria?
Thank you in advance.
I have set up the instruction below that works perfectly (consider Rng is column C of a sheet).
Code:
z = Application.CountIf(Rng, "CODE 37")
Now, I have to count if also a second criteria is checked: in particular, on the same row of "CODE 37", the value in column B has to be < 50.
How can I combine the two criteria?
Thank you in advance.