Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default SUMIF where CRITERIA is looking for a string occurence in the value,not the whole value

NOT(ISERROR(SEARCH("DLL",C1)))
is how I evaluate a single cell
I want to sum all adjacent values in D:D if the value in C:C has DLL
anywhere in the text.

I know I could paste this formula in B:B and change the SUMIF to
(B:B,TRUE,DD) but can I do it with a fancy SUMIF without the extra
column?

I am stumped and searched to no avail for this kind of question being
asked in the forums.

Anyone know if this is possible? I have a sense it isn't but can't
find the issue directly addressed anywhere.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default SUMIF where CRITERIA is looking for a string occurence in the value, not the whole value

=SUMIF(C:C,"*DLL*",D:D)


you can use wildcards in sumif

you might want to insert a space as well if DLL is separated by spaces


=SUMIF(C:C,"* DLL *",D:D)



--


Regards,


Peo Sjoblom

"Finny" wrote in message
...
NOT(ISERROR(SEARCH("DLL",C1)))
is how I evaluate a single cell
I want to sum all adjacent values in D:D if the value in C:C has DLL
anywhere in the text.

I know I could paste this formula in B:B and change the SUMIF to
(B:B,TRUE,DD) but can I do it with a fancy SUMIF without the extra
column?

I am stumped and searched to no avail for this kind of question being
asked in the forums.

Anyone know if this is possible? I have a sense it isn't but can't
find the issue directly addressed anywhere.

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default SUMIF where CRITERIA is looking for a string occurence in thevalue, not the whole value

On Aug 29, 9:38 am, "Peo Sjoblom" wrote:
=SUMIF(C:C,"*DLL*",D:D)

you can use wildcards in sumif

you might want to insert a space as well if DLL is separated by spaces

=SUMIF(C:C,"* DLL *",D:D)

--

Regards,

Peo Sjoblom

"Finny" wrote in message

...

NOT(ISERROR(SEARCH("DLL",C1)))
is how I evaluate a single cell
I want to sum all adjacent values in D:D if the value in C:C has DLL
anywhere in the text.


I know I could paste this formula in B:B and change the SUMIF to
(B:B,TRUE,DD) but can I do it with a fancy SUMIF without the extra
column?


I am stumped and searched to no avail for this kind of question being
asked in the forums.


Anyone know if this is possible? I have a sense it isn't but can't
find the issue directly addressed anywhere.


Thanks


thanks! I'll try that
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default SUMIF where CRITERIA is looking for a string occurence in thevalue, not the whole value

On Aug 30, 11:48*pm, Finny wrote:
On Aug 29, 9:38 am, "Peo Sjoblom" wrote:



=SUMIF(C:C,"*DLL*",D:D)


you can use wildcards in sumif


you might want to insert a space as well if DLL is separated by spaces


=SUMIF(C:C,"* DLL *",D:D)


--


Regards,


Peo Sjoblom


"Finny" wrote in message


....


NOT(ISERROR(SEARCH("DLL",C1)))
is how I evaluate a single cell
I want to sum all adjacent values in D:D if the value in C:C has DLL
anywhere in the text.


I know I could paste this formula in B:B and change the SUMIF to
(B:B,TRUE,DD) but can I do it with a fancy SUMIF without the extra
column?


I am stumped and searched to no avail for this kind of question being
asked in the forums.


Anyone know if this is possible? I have a sense it isn't but can't
find the issue directly addressed anywhere.


Thanks


thanks! I'll try that


worked as expected
thank you
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 where the criteria is 'if contains a string'? Michael Excel Worksheet Functions 5 February 23rd 08 05:18 PM
Counting Occurence of Criteria in Multiple Lists of Data hockey14 Excel Discussion (Misc queries) 4 February 15th 08 01:50 AM
formula to count occurence of criteria in 2 columns needs help Excel Worksheet Functions 2 July 27th 05 09:17 PM
I need to do a sumif on data that [contains] a specific string. JEH Excel Worksheet Functions 2 June 10th 05 02:49 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM


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