ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   COUNTIF (https://www.excelbanter.com/excel-worksheet-functions/147791-countif.html)

Ronbo

COUNTIF
 
What is the formula (syntax) for counting multiple ranges? I have looked,
and suprisingly not found anything on it.

I am trying to find the number of occurences of a number 1 in ranges A1:c10
and G50:X60.

Thanks for any help

Dave Peterson

COUNTIF
 
How about just adding two =countif()'s?

=countif(a1:c10,""&1) + countif(g50:x60,""&1)



Ronbo wrote:

What is the formula (syntax) for counting multiple ranges? I have looked,
and suprisingly not found anything on it.

I am trying to find the number of occurences of a number 1 in ranges A1:c10
and G50:X60.

Thanks for any help


--

Dave Peterson

Max

COUNTIF
 
Use 2 countifs, eg:
=COUNTIF(A1:C10,"1")+COUNTIF(G50:X60,"1")
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Ronbo" wrote:
What is the formula (syntax) for counting multiple ranges? I have looked,
and suprisingly not found anything on it.

I am trying to find the number of occurences of a number 1 in ranges A1:c10
and G50:X60.

Thanks for any help


Ronbo

COUNTIF
 
DA! Thanks to both.

"Max" wrote:

Use 2 countifs, eg:
=COUNTIF(A1:C10,"1")+COUNTIF(G50:X60,"1")
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Ronbo" wrote:
What is the formula (syntax) for counting multiple ranges? I have looked,
and suprisingly not found anything on it.

I am trying to find the number of occurences of a number 1 in ranges A1:c10
and G50:X60.

Thanks for any help



All times are GMT +1. The time now is 07:43 AM.

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