Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tim Tim is offline
external usenet poster
 
Posts: 408
Default Countif across multiple sheets - sheet NAME issue?

Hi there,
I am using the following formula (see below), but wondering if the
sheetnames I enter have to be in the EXACT order that there are in the
spreadsheet?

=SUMPRODUCT(COUNTIF(INDIRECT("'"&BA2:BA151&"'!e50" ),"x"))

where BA2:BA151 is a range housing the relevant sheetnames in
separate cells ... AND e50 is the cell I am referencing in every sheet.

I get a #REF! error. Thanks


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default Countif across multiple sheets - sheet NAME issue?

I get the Ref error only if a sheet name is mispelled or if one of the cells
that is supposed to have a sheet name is empty

"Tim" wrote:

Hi there,
I am using the following formula (see below), but wondering if the
sheetnames I enter have to be in the EXACT order that there are in the
spreadsheet?

=SUMPRODUCT(COUNTIF(INDIRECT("'"&BA2:BA151&"'!e50" ),"x"))

where BA2:BA151 is a range housing the relevant sheetnames in
separate cells ... AND e50 is the cell I am referencing in every sheet.

I get a #REF! error. Thanks


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tim Tim is offline
external usenet poster
 
Posts: 408
Default Countif across multiple sheets - sheet NAME issue?

I have extra sheets at the beginning and end of the 'named' sheets ... would
that have anything to do with it do you think?

"Duke Carey" wrote:

I get the Ref error only if a sheet name is mispelled or if one of the cells
that is supposed to have a sheet name is empty

"Tim" wrote:

Hi there,
I am using the following formula (see below), but wondering if the
sheetnames I enter have to be in the EXACT order that there are in the
spreadsheet?

=SUMPRODUCT(COUNTIF(INDIRECT("'"&BA2:BA151&"'!e50" ),"x"))

where BA2:BA151 is a range housing the relevant sheetnames in
separate cells ... AND e50 is the cell I am referencing in every sheet.

I get a #REF! error. Thanks


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Countif across multiple sheets - sheet NAME issue?

I have extra sheets at the beginning and
end of the 'named' sheets


What does "extra" sheets mean?

If the sheets don't exist yet but you have their names listed in the range
then you'll get the #REF! error.

--
Biff
Microsoft Excel MVP


"Tim" wrote in message
...
I have extra sheets at the beginning and end of the 'named' sheets ...
would
that have anything to do with it do you think?

"Duke Carey" wrote:

I get the Ref error only if a sheet name is mispelled or if one of the
cells
that is supposed to have a sheet name is empty

"Tim" wrote:

Hi there,
I am using the following formula (see below), but wondering if the
sheetnames I enter have to be in the EXACT order that there are in the
spreadsheet?

=SUMPRODUCT(COUNTIF(INDIRECT("'"&BA2:BA151&"'!e50" ),"x"))

where BA2:BA151 is a range housing the relevant sheetnames in
separate cells ... AND e50 is the cell I am referencing in every sheet.

I get a #REF! error. Thanks




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tim Tim is offline
external usenet poster
 
Posts: 408
Default Countif across multiple sheets - sheet NAME issue?

Hi there ... these are just additional sheets that are not apart of the
'named' sheets. I have a couple at the beginning of the spreadsheet ... then
150 named sheets ... then a couple extra sheets at the end of the
spreadsheet. Didn't know if they would cause the issue.....

"T. Valko" wrote:

I have extra sheets at the beginning and
end of the 'named' sheets


What does "extra" sheets mean?

If the sheets don't exist yet but you have their names listed in the range
then you'll get the #REF! error.

--
Biff
Microsoft Excel MVP


"Tim" wrote in message
...
I have extra sheets at the beginning and end of the 'named' sheets ...
would
that have anything to do with it do you think?

"Duke Carey" wrote:

I get the Ref error only if a sheet name is mispelled or if one of the
cells
that is supposed to have a sheet name is empty

"Tim" wrote:

Hi there,
I am using the following formula (see below), but wondering if the
sheetnames I enter have to be in the EXACT order that there are in the
spreadsheet?

=SUMPRODUCT(COUNTIF(INDIRECT("'"&BA2:BA151&"'!e50" ),"x"))

where BA2:BA151 is a range housing the relevant sheetnames in
separate cells ... AND e50 is the cell I am referencing in every sheet.

I get a #REF! error. Thanks




.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default Countif across multiple sheets - sheet NAME issue?

'Extra' sheets wouldn't have any influence on the issue. I suspect you have
one or more names in your list of sheets that has an extra space at the end,
or is mispelled in some other fashion, or maybe even references a sheet that
doesn't exist.

You could put a formula in an empty column next to the list of sheet names
to check on the validity of the name

=INDIRECT("'"&[cell with first name]&"'!A1")

Copy that down to the end of your list. If one or more of them gives you
the Ref error, you have a pointer to the problem.

"Tim" wrote:

Hi there ... these are just additional sheets that are not apart of the
'named' sheets. I have a couple at the beginning of the spreadsheet ... then
150 named sheets ... then a couple extra sheets at the end of the
spreadsheet. Didn't know if they would cause the issue.....

"T. Valko" wrote:

I have extra sheets at the beginning and
end of the 'named' sheets


What does "extra" sheets mean?

If the sheets don't exist yet but you have their names listed in the range
then you'll get the #REF! error.

--
Biff
Microsoft Excel MVP


"Tim" wrote in message
...
I have extra sheets at the beginning and end of the 'named' sheets ...
would
that have anything to do with it do you think?

"Duke Carey" wrote:

I get the Ref error only if a sheet name is mispelled or if one of the
cells
that is supposed to have a sheet name is empty

"Tim" wrote:

Hi there,
I am using the following formula (see below), but wondering if the
sheetnames I enter have to be in the EXACT order that there are in the
spreadsheet?

=SUMPRODUCT(COUNTIF(INDIRECT("'"&BA2:BA151&"'!e50" ),"x"))

where BA2:BA151 is a range housing the relevant sheetnames in
separate cells ... AND e50 is the cell I am referencing in every sheet.

I get a #REF! error. Thanks




.

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
COUNTIF for multiple sheets Keyrookie Excel Worksheet Functions 3 January 20th 09 10:43 PM
SUMPRODUCT, SUMIF, COUNTIF for multiple sheets for multiple criter Greg in CO[_2_] Excel Worksheet Functions 0 September 18th 08 05:51 PM
COUNTIF across multiple sheets with unknown names andy62 Excel Worksheet Functions 1 April 9th 08 05:42 PM
COUNTIF across multiple sheets Gizmo63 Excel Worksheet Functions 3 April 10th 06 11:42 AM
CountIF across multiple sheets in a workbook Al Excel Worksheet Functions 1 October 29th 04 01:15 PM


All times are GMT +1. The time now is 08:28 AM.

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

About Us

"It's about Microsoft Excel"