ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Counting multiple criteria across columns and rows??? (https://www.excelbanter.com/excel-worksheet-functions/220564-counting-multiple-criteria-across-columns-rows.html)

ISAF Media Analysis[_2_]

Counting multiple criteria across columns and rows???
 
Hello,

I am having a great deal of difficulty with a formulas. I need a formula
that will count across multiple columns and rows. For example, based on the
info below, if I wanted to only know what the count was for "NEG" from column
A, plus "CHI" from column B, plus "CITY" from columns C and D. Based on the
below criteria the answer should be "3." Can anyone please help. Cheers.

A B C D
1 NEG NYC CITY CITY
2 NEG CHI STATE CITY
3 POS LA TOWN PARK
4 NEU DC VILLAGE OCEAN
5 POS DC HOME APARTMENT
6 NEG CHI CITY CITY








Bob Phillips[_3_]

Counting multiple criteria across columns and rows???
 
=COUNTIF(A:A,"NEG")+COUNTIF(B:B,"CHI")+COUNTIF(C:D ,"CITY")

--
__________________________________
HTH

Bob

"ISAF Media Analysis" wrote in
message ...
Hello,

I am having a great deal of difficulty with a formulas. I need a formula
that will count across multiple columns and rows. For example, based on
the
info below, if I wanted to only know what the count was for "NEG" from
column
A, plus "CHI" from column B, plus "CITY" from columns C and D. Based on
the
below criteria the answer should be "3." Can anyone please help. Cheers.

A B C D
1 NEG NYC CITY CITY
2 NEG CHI STATE CITY
3 POS LA TOWN PARK
4 NEU DC VILLAGE OCEAN
5 POS DC HOME APARTMENT
6 NEG CHI CITY CITY











All times are GMT +1. The time now is 01:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com