#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Sumif and Text

I'm trying to use sumif where the criteria is to match text inside a text
string. Is there an simpler way to do this and will I eventually be able
to find the right formula?
--
I need so much help, but right now, some Excel help will suffice!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Sumif and Text

Assume your are searching column A for any cells that contain "Bob", summing
column B:

=SUMPRODUCT(--ISNUMBER(SEARCH("Bob",A2:A1000)),B2:B1000)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Jose" wrote:

I'm trying to use sumif where the criteria is to match text inside a text
string. Is there an simpler way to do this and will I eventually be able
to find the right formula?
--
I need so much help, but right now, some Excel help will suffice!!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Sumif and Text

You're looking for the word Jose in column A and column A could have values
like:

Jose
This is Jose
This is Jose's book

and all 3 should match?

If yes, you can use a wildcard:

=sumif(a:a,"*"&"jose"&"*",b:b)
or
=sumif(a:a,"*jose*",b:b)
or even
=sumif(a:a,"*"&C1&"*",b:b)
if C1 contained Jose



Jose wrote:

I'm trying to use sumif where the criteria is to match text inside a text
string. Is there an simpler way to do this and will I eventually be able
to find the right formula?
--
I need so much help, but right now, some Excel help will suffice!!


--

Dave Peterson
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
sumif - if the text has LCI in it Jay[_6_] Excel Worksheet Functions 2 May 9th 09 07:01 AM
SUMIF with text bgkgmg Excel Worksheet Functions 1 May 6th 08 09:46 AM
SUMIF for Text Vanessa Simmonds Excel Discussion (Misc queries) 2 March 12th 08 02:43 PM
Sumif text is contained winthin a longer text string in a cell Johnny M[_2_] Excel Worksheet Functions 3 March 21st 07 02:50 PM
sumif with text? dj479794 Excel Discussion (Misc queries) 2 March 9th 07 04:41 PM


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