Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Countif and
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 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Countif and
On Jul 23, 11:16*am, "HH" 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? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Countif and
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. wrote in message ... On Jul 23, 11:16 am, "HH" 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? |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Countif and
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" wrote in message ... 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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
COUntif AND... | Excel Worksheet Functions | |||
How do I use a countif function according to two other countif fu. | Excel Worksheet Functions | |||
edit this =COUNTIF(A1:F16,"*1-2*")+COUNTIF(A1:F16,"*2-1*") | Excel Discussion (Misc queries) | |||
COUNTIF or not to COUNTIF on a range in another sheet | Excel Worksheet Functions | |||
COUNTIF in one colum then COUNTIF in another...??? | Excel Worksheet Functions |