Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default functions/Formulas

Try

=SUMPRODUCT(COUNTIF(INDIRECT("'"&E1:E3&"'!A:A"),{" Apple","Orange"}))

If this post helps click Yes
---------------
Jacob Skaria


"RH" wrote:

I want to count apples and oranges together from all of the worksheets. Can I
go ,"apple","orange"))

"Jacob Skaria" wrote:

In cell E1: Sheet1
E2: sheet2
E3: Sheet3



If this post helps click Yes
---------------
Jacob Skaria


"RH" wrote:

Jacob,
Not sure of how to enter sheet names, when I try to put the worksheet names
in, it give me and error of #NAME?

"Jacob Skaria" wrote:

Use the below formula to count the number of cells with the text 'Apple' in
Column A of sheets mentioned in the cells E1:E3. You can change the text
'Apple' to a cell reference

=SUMPRODUCT(COUNTIF(INDIRECT("'"&E1:E3&"'!A:A"),"A pple"))

To test this enter the sheet names in cell range E1:E3. Make sure you dont
have any blank cells in this range E1:E3 and all sheet names are exactly same
as the actual sheet names (even spaces count)


'Now to get the sum of (say Quantity) mentioned in ColB of each sheet you
can use the below formula

=SUMPRODUCT(SUMIF(INDIRECT("'"& E1:E3 &"'!A:A"),"apple",INDIRECT("'"& E1:E3
&"'!B:B")))


If this post helps click Yes
---------------
Jacob Skaria


"RH" wrote:

I have multiple worksheets and I would like to count the number of times
certain words appear in each worksheet and group them by area. I then want
to count how many times a number appears based on those words.

example: Apple, orange, peas, carrots
I want to count Apples and oranges in all worksheets and then count how many
of them are available.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Functions & formulas Pauline Excel Worksheet Functions 5 July 1st 08 07:13 PM
formulas & functions R Heitzman Excel Discussion (Misc queries) 1 February 15th 08 08:16 PM
help with Formulas/Functions Candace Excel Discussion (Misc queries) 3 October 23rd 07 03:01 PM
Formulas with if functions???? Ruth Excel Discussion (Misc queries) 3 April 17th 07 04:14 PM
Formulas & Functions Tadu Excel Discussion (Misc queries) 1 May 29th 05 11:49 PM


All times are GMT +1. The time now is 09:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"