Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Mhz Mhz is offline
external usenet poster
 
Posts: 1
Default Why Does This Formula Return an Error??


Hi, what am I doing wrong with the following formula:

=countif(sheet1:sheet31!E6:E35,"=1")

FOR some reason this formula fails when I use the (sheet1:sheet31) with
the column range (E6:E35).

Is it possible to include a multiple sheet count and column range in
the same Formula? Thanks for any helpful responses..

By the way, the formula works ok just as long as I'm not trying to read
multiple sheets.. Please help on this.


--
Mhz
------------------------------------------------------------------------
Mhz's Profile: http://www.excelforum.com/member.php...o&userid=35980
View this thread: http://www.excelforum.com/showthread...hreadid=558346

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 10,593
Default Why Does This Formula Return an Error??

=SUMPRODUCT(COUNTIF(INDIRECT("'Sheet"&ROW(INDIRECT ("1:31"))&"'!E6:E35"),"=1
"))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Mhz" wrote in message
...

Hi, what am I doing wrong with the following formula:

=countif(sheet1:sheet31!E6:E35,"=1")

FOR some reason this formula fails when I use the (sheet1:sheet31) with
the column range (E6:E35).

Is it possible to include a multiple sheet count and column range in
the same Formula? Thanks for any helpful responses..

By the way, the formula works ok just as long as I'm not trying to read
multiple sheets.. Please help on this.


--
Mhz
------------------------------------------------------------------------
Mhz's Profile:

http://www.excelforum.com/member.php...o&userid=35980
View this thread: http://www.excelforum.com/showthread...hreadid=558346



  #3   Report Post  
Posted to microsoft.public.excel.newusers
Mhz Mhz is offline
external usenet poster
 
Posts: 1
Default Why Does This Formula Return an Error??


Thanks Bob for the fast response, Much appreciated..

I keep getting an Invalid Cell Reference Error with this formula,
should I substitute any data in the formula to adapt to my sheet names
as I displayed? My sheets are labled (1ST:31ST) eg. 1ST, 2ND, 3RD
...31ST etc....

thanks in advance..


--
Mhz
------------------------------------------------------------------------
Mhz's Profile: http://www.excelforum.com/member.php...o&userid=35980
View this thread: http://www.excelforum.com/showthread...hreadid=558346

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 10,593
Default Why Does This Formula Return an Error??

Sorry, I picked up on sheet1:sheet31 as in your post.

As there is no way to deduce the sheet names in this format, you will need
to store them in M1:M31 and use

=SUMPRODUCT(COUNTIF(INDIRECT("'"&M1:M31&"'!E6:E35" ),"=1"))


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Mhz" wrote in message
...

Thanks Bob for the fast response, Much appreciated..

I keep getting an Invalid Cell Reference Error with this formula,
should I substitute any data in the formula to adapt to my sheet names
as I displayed? My sheets are labled (1ST:31ST) eg. 1ST, 2ND, 3RD
..31ST etc....

thanks in advance..


--
Mhz
------------------------------------------------------------------------
Mhz's Profile:

http://www.excelforum.com/member.php...o&userid=35980
View this thread: http://www.excelforum.com/showthread...hreadid=558346



  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 10,593
Default Why Does This Formula Return an Error??

Following on, if you changed the names to Day1, Day2, etc. you cou;ld then
use

=SUMPRODUCT(COUNTIF(INDIRECT("'Day"&ROW(INDIRECT(" 1:31"))&"'!E6:E35"),"=1")
)


without defining the names

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Mhz" wrote in message
...

Thanks Bob for the fast response, Much appreciated..

I keep getting an Invalid Cell Reference Error with this formula,
should I substitute any data in the formula to adapt to my sheet names
as I displayed? My sheets are labled (1ST:31ST) eg. 1ST, 2ND, 3RD
..31ST etc....

thanks in advance..


--
Mhz
------------------------------------------------------------------------
Mhz's Profile:

http://www.excelforum.com/member.php...o&userid=35980
View this thread: http://www.excelforum.com/showthread...hreadid=558346





  #6   Report Post  
Posted to microsoft.public.excel.newusers
Mhz Mhz is offline
external usenet poster
 
Posts: 1
Default Why Does This Formula Return an Error??


Now I see, Thanks again Bob...

Don't want to push my questioning here, but using that same formula how
can I modify it to check and count for duplicate values? If
Possible...

That long formula on my first question in this thread is doing just
that, "Finding Duplicates" and counting when they are found. I just
didn't want such a long formula to accomplish a small task for each
row.. Thanks


--
Mhz
------------------------------------------------------------------------
Mhz's Profile: http://www.excelforum.com/member.php...o&userid=35980
View this thread: http://www.excelforum.com/showthread...hreadid=558346

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
Error in vlookup formula Minos Excel Worksheet Functions 4 July 5th 06 05:29 AM
Lookup Data in two seperate Spreadsheets Padraig Excel Worksheet Functions 6 June 28th 06 03:05 PM
Recurring Excel Formula error - multiple users affected! Rayo K Excel Discussion (Misc queries) 3 April 11th 06 02:22 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula Pop Up Error Msgs TW Excel Discussion (Misc queries) 1 April 19th 05 01:51 PM


All times are GMT +1. The time now is 10:09 AM.

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"