ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Countin Numbers in a Workbook (https://www.excelbanter.com/excel-discussion-misc-queries/172171-countin-numbers-workbook.html)

Matt

Countin Numbers in a Workbook
 
I am trying to find a funciton that counts the number of times a number shows
up in various locations in a worksheet and also on multiple worksheets within
a workbook.

I.E.
How many times does "171" appear in mutliple worksheets in one worbook?

Domenic

Countin Numbers in a Workbook
 
If the target ranges are located at the same place on each sheet, for
example D2:D100 on each sheet, try...

=SUMPRODUCT(COUNTIF(INDIRECT("'"&$A$2:$A$4&"'!D2:D 100"),"171"))

....where A2:A4 contains the sheet names.

Hope this helps!

In article ,
Matt wrote:

I am trying to find a funciton that counts the number of times a number shows
up in various locations in a worksheet and also on multiple worksheets within
a workbook.

I.E.
How many times does "171" appear in mutliple worksheets in one worbook?



All times are GMT +1. The time now is 12:41 PM.

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