+ Reply to Thread
Results 1 to 3 of 3

Sumif for wildcard character

  1. #1
    Registered User
    Join Date
    11-26-2003
    Posts
    3

    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)))

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    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.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    11-26-2003
    Posts
    3

    Many Thanks.

    Both solutions worked for my worksheet.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1