Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Text Search

See if this is what you had in mind.

....................A.....................B
1...Spyware Blaster............20
2...Sears............................52
3...Fry's Online..................10
4...Who's Hardware..........10
5...AAA Software.............29
6...TipTop Cafe................32

To get the sum of the combined categories: spyware,Fry's,hardware,software

List the categories in a horizontal range of cells:

D1:G1 = spyware,Fry's,hardware,software

Then:

=SUMPRODUCT((ISNUMBER(SEARCH(D1:G1,A1:A10)))*B1:B1 0)

--
Biff
Microsoft Excel MVP


"George W. Barrowcliff" wrote in message
...
I have a downloaded list of charges on my credit card that I would like to
catagorize.

The descriptions are like: ILLIANOS Ristorante (Dining and Entertainment)

I have most of the entries summarized by catagory by using this:

=IF(TYPE(SEARCH("Dining",$D19,1))=1,$G19,"") where the description is in
D and the amount is in G

but I want to total a group of charges under a single category, such as:
Any description that has: software or hardware or spyware or Fry's
contained anywhere should be selected.

Since Search and Find produce an error if the string is not found, each
test needs a TYPE test to prevent errors and makes an OR list cumbersome.

Is there a simplier way using an index list or something else??

Thanks IA
GWB



2/1/2009 ILLIANO'S RISTORANTE(Dining and Entertainment) $52.00




 
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
Nested formula to search a text string and return specific text Barbie Excel Worksheet Functions 10 February 21st 09 07:40 AM
Fun with text functions - search for text mr tom Excel Worksheet Functions 7 October 26th 07 07:17 PM
Search, find or lookup defined text in text string zzxxcc Excel Worksheet Functions 9 September 6th 07 09:37 PM
TEXT SEARCH roy.okinawa Excel Worksheet Functions 11 February 10th 06 03:54 AM
text search help please? phil Excel Worksheet Functions 1 August 18th 05 08:12 PM


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