ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how do I include multiple worksheets to a countif formula? (https://www.excelbanter.com/excel-discussion-misc-queries/240180-how-do-i-include-multiple-worksheets-countif-formula.html)

Brigette

how do I include multiple worksheets to a countif formula?
 
I want to use a countif formula. the data I need is from multiple worksheets.
How can I use the countif function for the 2 worksheets?

Chip Pearson

how do I include multiple worksheets to a countif formula?
 
You can't combine ranges from two separate worksheets and/or workbooks
into a single range. You'll need to use two separate COUNTIFs, one for
each sheet. E.g.,

=COUNTIF(Sheet1!A1:A100,"abc")+COUNTIF(Sheet2!A1:A 100,"abc")

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)


On Wed, 19 Aug 2009 13:36:11 -0700, Brigette
wrote:

I want to use a countif formula. the data I need is from multiple worksheets.
How can I use the countif function for the 2 worksheets?



All times are GMT +1. The time now is 04:13 PM.

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