Countif and

  • Thread starter Thread starter HH
  • Start date Start date
H

HH

I can't seem to come up with the right code to say the following:

Count if $H&1:$H199 = "5th" and if B2 = "Active"

H1:199 will always be the same reference. B2 will change to c3, etc.

Help please
Hank
 
I can't seem to come up with the right code to say the following:

Count if $H&1:$H199 = "5th" and if B2 = "Active"

H1:199 will always be the same reference.   B2 will change to c3, etc.

Help please
Hank

What about this...

=COUNTIF(A:A, A1)

A:A will never change
A1 will change when you paste down...

If that's not the answer could you tell me what exactly you want as
the end result?
 
AND(COUNTIF($H$1:$H$99,"5th")=99,B2="Active")

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
From your answer I assume I did not ask the question to suit you.

Sorry if I offended you with my ignorance.

What I want is if Column H1:H199 has the word "5th" in it AND Cell b2 has
the word "Active" in it, I want a count of 1. IF cell B2 has anything
beside "5th" it would not be counted. If Column H1:H199 has anthing beside
the word "Active" it would not be counted.



I can't seem to come up with the right code to say the following:

Count if $H&1:$H199 = "5th" and if B2 = "Active"

H1:199 will always be the same reference. B2 will change to c3, etc.

Help please
Hank

What about this...

=COUNTIF(A:A, A1)

A:A will never change
A1 will change when you paste down...

If that's not the answer could you tell me what exactly you want as
the end result?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top