ExcelTip.com
Account Icon Account Icon Account Icon
ExcelTip.com

Go Back   Excel Help Forum > Limelight Media - ExcelTip.com Books > F1 Get the most out of Excel Formulas & Functions

Notices

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 01-09-2007, 08:53 AM
patam patam is offline
Registered User
 
Join Date: 26 Nov 2003
Posts: 3
patam
Sumif for wildcard character

I need to sum column "H" if a condition is met in column "A" and column "E". "A" contains names followed by one of theses characters: < > ^. Column "E" is Yes or No. I need the sum of all names followed by <.


Column A: Jane Smith <

Column E: Yes

Column H: 12.00


I have tried this formula or numerous variations of this formula and it returns zero or #value. Can you help?

=SUM(IF('Training Hours'!A4:A2000="*<",IF('Training Hours'!E4:E2000="Yes",'Training Hours'!H4:H2000)))
Reply With Quote
  #2  
Old 01-09-2007, 09:16 AM
NBVC's Avatar
NBVC NBVC is online now
Forum Moderator
 
Join Date: 06 Dec 2006
Location: Mississauga, CANADA
Posts: 7,883
NBVC will become famous soon enough NBVC will become famous soon enough
Try:

=SUM(IF(Isnumber(Search("<",'Training Hours'!A4:A2000)),IF('Training Hours'!E4:E2000="Yes",'Training Hours'!H4:H2000)))

confirmed with CTRL+SHIFT+ENTER

or

=Sumproduct(--(Isnumber(Search("<",'Training Hours'!A4:A2000))),--('Training Hours'!E4:E2000="Yes"),'Training Hours'!H4:H2000)

confirmed with ENTER
__________________
Where there is a will there are many ways. Finding one that works for you is the challenge!

Please read the Forum Rules: Rules
Reply With Quote
  #3  
Old 01-09-2007, 10:05 AM
patam patam is offline
Registered User
 
Join Date: 26 Nov 2003
Posts: 3
patam
Many Thanks.

Both solutions worked for my worksheet.
Reply With Quote
Reply

Bookmarks

New topics in F1 Get the most out of Excel Formulas & Functions


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -4. The time now is 03:31 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0