ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Count Unless?? (https://www.excelbanter.com/excel-worksheet-functions/79312-count-unless.html)

PCM

Count Unless??
 
I am using Excel 2000 and need to count the incidents of a defined value in a
column unless another defined value occurs in a different column in the same
row. For example, count the value "FAM" in column $A2:$A100 unless the value
"Cancelled" appears in the same row in column $B2:$B100.

Thanks

Peo Sjoblom

Count Unless??
 
=SUMPRODUCT(--(A2:A100="FAM"),--(B2:B100<"Cancelled"))


--

Regards,

Peo Sjoblom


"PCM" wrote in message
...
I am using Excel 2000 and need to count the incidents of a defined value in
a
column unless another defined value occurs in a different column in the
same
row. For example, count the value "FAM" in column $A2:$A100 unless the
value
"Cancelled" appears in the same row in column $B2:$B100.

Thanks




Duke Carey

Count Unless??
 
=sumproduct(--($A2:$A100="FAM"),--($B2:$B100<"Cancelled"))


"PCM" wrote:

I am using Excel 2000 and need to count the incidents of a defined value in a
column unless another defined value occurs in a different column in the same
row. For example, count the value "FAM" in column $A2:$A100 unless the value
"Cancelled" appears in the same row in column $B2:$B100.

Thanks



All times are GMT +1. The time now is 02:51 AM.

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