Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Searching and counting text in a spreadsheet

Is there a way to search an entire multiple sheet spreadsheet for a
particular text string, count how many times it occurs and return the sum of
the total number of times the text occurs?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Searching and counting text in a spreadsheet

Try this idea from a recent positng of mine where a, b,c are names of
worksheets and a2 is what you are looking for and a1:h10 is the search area

=SUMPRODUCT(COUNTIF(INDIRECT("'"&{"b","c","d","e"} &"'!a1:h10"),A2))


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"jafarz" wrote in message
...
Is there a way to search an entire multiple sheet spreadsheet for a
particular text string, count how many times it occurs and return the sum
of
the total number of times the text occurs?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Searching and counting text in a spreadsheet

Thanks Don, i couldnt get that to work. What would the formula be if i wanted
to search sheets "Sheet2" and "Sheet3" for all occurances of the text "fbl"?
If it works i can add the additional sheets to the formula.

Brian

"Don Guillett" wrote:

Try this idea from a recent positng of mine where a, b,c are names of
worksheets and a2 is what you are looking for and a1:h10 is the search area

=SUMPRODUCT(COUNTIF(INDIRECT("'"&{"b","c","d","e"} &"'!a1:h10"),A2))


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"jafarz" wrote in message
...
Is there a way to search an entire multiple sheet spreadsheet for a
particular text string, count how many times it occurs and return the sum
of
the total number of times the text occurs?



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
Formula for searching spreadsheet Lozza65 Excel Worksheet Functions 7 November 28th 07 11:35 PM
Searching/Counting an array Greg2582 Excel Discussion (Misc queries) 0 March 8th 07 07:12 PM
Searching for text & counting how many times it appears smck Excel Worksheet Functions 5 September 15th 06 12:28 PM
Searching a spreadsheet Ryan Excel Discussion (Misc queries) 4 July 24th 06 11:57 PM
extracting data from a spreadsheet by searching on columns Tom New Users to Excel 3 October 24th 05 10:36 PM


All times are GMT +1. The time now is 11:21 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"