Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 5
Default CountIf from multiple sheets in another workbook

i have 1 workbook with about 20 sheets, i need to search this workbook for a name in one column on each sheet. i made a list of the sheets in the 2nd workbook in column a. i tried this formula in column b, but i can't get it to recognize the cell in my formula:

=SUM(SUMIF(INDIRECT("'[cfshows.xls]&A2'!U:U"),"Brown, Bob"))

i got it to work... kind of.. with:

=COUNTIF(INDIRECT("'[cfshows.xls]"&A38&"'!U:U"),"=Brown, Bob")

but it always returns 1, even if bob is on there 20 times

Last edited by JoshBrunz : May 15th 13 at 07:44 PM Reason: ...
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 168
Default CountIf from multiple sheets in another workbook

On Wednesday, May 15, 2013 10:38:17 AM UTC-7, JoshBrunz wrote:
i have 1 workbook with about 20 sheets, i need to search this workbook

for a name in one column on each sheet. i made a list of the sheets in

the 2nd workbook in column a. i tried this formula in column b, but i

can't get it to recognize the cell in my formula:



=SUM(SUMIF(INDIRECT("'[cfshows.xls]&A2'!U:U"),"Brown, Bob"))









--

JoshBrunz


Hi Josh,

What do you want the formula to return once it finds the name in one of the sheets?

Regards,
Howard
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 168
Default CountIf from multiple sheets in another workbook



What do you want the formula to return once it finds the name in one of the sheets?



Regards,

Howard


My bad, looks like you want a count of the name from all the columns.

Howard
  #4   Report Post  
Junior Member
 
Posts: 5
Default

Quote:
Originally Posted by View Post
On Wednesday, May 15, 2013 10:38:17 AM UTC-7, JoshBrunz wrote:
i have 1 workbook with about 20 sheets, i need to search this workbook

for a name in one column on each sheet. i made a list of the sheets in

the 2nd workbook in column a. i tried this formula in column b, but i

can't get it to recognize the cell in my formula:



=SUM(SUMIF(INDIRECT("'[cfshows.xls]&A2'!U:U"),"Brown, Bob"))









--

JoshBrunz


Hi Josh,

What do you want the formula to return once it finds the name in one of the sheets?

Regards,
Howard
just a count of how many times the name bob brown appears in the U column on each page
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 168
Default CountIf from multiple sheets in another workbook


just a count of how many times the name bob brown appears in the U

column on each page


JoshBrunz


Well, one way, on each sheet in a discreet cell enter this formula, (I used F1 on each sheet). Adjust formula to that sheet's name.

=COUNTIF(Sheet2!U:U,Sheet1!A2)

Bob Brown is in cell A2 of sheet1. And A2 could be a drop down with other names.

Then on sheet1 this formula =SUM(Sheet2:Sheet6!F1)

Where sheet2 is the first sheet and sheet6 is the last sheet.

Regards,
Howard
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 all sheets of a workbook Steve Excel Worksheet Functions 6 June 1st 05 04:44 AM
COUNTIF across all sheets of a workbook Steve Excel Worksheet Functions 0 May 31st 05 11:56 PM
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 07:44 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"