Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Excel 2003 - I am trying to count the number of times the number "2" appears
in column A1, C1, E1, G1, I1, etc. I am trying to use the countif function, but it won't work. I can't just select every other column like I need to, it wants me to select the entire range if that makes sense. Is there anyway I can do this and only look at every other column or every 3rd column? Thanks! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=COUNTIF(A:A,2) + COUNTIF(C:C,2) + .......etc.
-- Gary''s Student - gsnu200767 "duketter" wrote: Excel 2003 - I am trying to count the number of times the number "2" appears in column A1, C1, E1, G1, I1, etc. I am trying to use the countif function, but it won't work. I can't just select every other column like I need to, it wants me to select the entire range if that makes sense. Is there anyway I can do this and only look at every other column or every 3rd column? Thanks! |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You might also find this posting useful. They are talking about using
COUNTIF with noncontinuous ranges, and gives an alternative solution to the one above... http://www.microsoft.com/office/comm...&cr=&sloc=&p=1 Hope this helps. -- Cheers, Michelle "Anyone who says he can see through women is missing a lot." Groucho Marx "duketter" wrote: Excel 2003 - I am trying to count the number of times the number "2" appears in column A1, C1, E1, G1, I1, etc. I am trying to use the countif function, but it won't work. I can't just select every other column like I need to, it wants me to select the entire range if that makes sense. Is there anyway I can do this and only look at every other column or every 3rd column? Thanks! |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
count the number of times the number "2" appears in
column A1, C1, E1, G1, I1, etc. Try this: =SUMPRODUCT(--(MOD(COLUMN(A1:I1)-COLUMN(A1),2)=0),--(A1:I1=2)) -- Biff Microsoft Excel MVP "duketter" wrote in message ... Excel 2003 - I am trying to count the number of times the number "2" appears in column A1, C1, E1, G1, I1, etc. I am trying to use the countif function, but it won't work. I can't just select every other column like I need to, it wants me to select the entire range if that makes sense. Is there anyway I can do this and only look at every other column or every 3rd column? Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
COUNTIF: 2 criteria: Date Range Column & Text Column | Excel Worksheet Functions | |||
countif column d equals x and column a noblank | Excel Worksheet Functions | |||
countif Column A and excule column B if it's cancelled | Excel Worksheet Functions | |||
How do I Excel countif column a =? and column b = null ? | Excel Worksheet Functions | |||
How to countif involving another column? | Excel Worksheet Functions |