PC Review


Reply
 
 
HH
Guest
Posts: n/a
 
      23rd Jul 2008
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


 
Reply With Quote
 
 
 
 
Internetdomainowner@hotmail.com
Guest
Posts: n/a
 
      23rd Jul 2008
On Jul 23, 11:16*am, "HH" <deerl...@bellsouth.net> wrote:
> 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?
 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      23rd Jul 2008
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)

"HH" <(E-Mail Removed)> wrote in message
news:8UHhk.5437$(E-Mail Removed)...
>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
>
>



 
Reply With Quote
 
HH
Guest
Posts: n/a
 
      23rd Jul 2008
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.



<(E-Mail Removed)> wrote in message
news:07e48731-a1b2-4767-9c12-(E-Mail Removed)...
On Jul 23, 11:16 am, "HH" <deerl...@bellsouth.net> wrote:
> 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?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
COUNTIF is Off by 1 GooseMA Microsoft Excel Misc 4 8th Dec 2009 05:04 PM
Can I use COUNTIF with OR? AA Arens Microsoft Excel Discussion 3 20th Nov 2006 04:11 PM
How do I use a countif function according to two other countif fu. =?Utf-8?B?S2lyc3R5?= Microsoft Excel Worksheet Functions 2 20th Feb 2006 11:44 AM
COUNTIF or not to COUNTIF on a range in another sheet =?Utf-8?B?RWxsaWU=?= Microsoft Excel Worksheet Functions 4 15th Sep 2005 10:06 PM
COUNTIF in one colum then COUNTIF in another...??? =?Utf-8?B?Sm9ubmllUA==?= Microsoft Excel Worksheet Functions 3 22nd Feb 2005 02:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:59 AM.