Countin Numbers in a Workbook

  • Thread starter Thread starter Matt
  • Start date Start date
M

Matt

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?
 
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:D100"),"171"))

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

Hope this helps!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top