+ Reply to Thread
Results 1 to 2 of 2

Thread: SUMPRODUCT not recognizing text criteria

  1. #1
    Registered User
    Join Date
    05-04-2010
    Location
    Washington, DC
    MS-Off Ver
    Excel 2007, 2010
    Posts
    26

    SUMPRODUCT not recognizing text criteria

    Hello,

    I would like some help in determining if this formula is looking for what I want it to.

    This is a simple personal check register sum return split up by month and by bill name, however I keep getting a zero sum (no error).

    =SUMPRODUCT(--('register - BoA'!$D$6:$D$150="*aes*"),--('register - BoA'!$C$6:$C$150="*May*"),'register - BoA'!$F$6:$F$150)

    are the asterix's in the correct places to accept any variations of the names?

    Please let me know if I need to post more info.

    Thanks ahead of time!
    Last edited by lallo.jr; 05-11-2010 at 06:39 PM.

  2. #2
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: SUMPRODUCT not recognizing text criteria

    You can't use asterisks in the Sumproduct for wildcards..

    one way:

    =SUMPRODUCT(--(ISNUMBER(SEARCH("aes",'register - BoA'!$D$6:$D$150))),--(ISNUMBER(SEARCH("May",'register - BoA'!$C$6:$C$150))),'register - BoA'!$F$6:$F$150)

    but is the May mean the month of May...in a date cell formatted to include May?

    Maybe it should be:

    =SUMPRODUCT(--(ISNUMBER(SEARCH("aes",'register - BoA'!$D$6:$D$150))),--(TEXT('register - BoA'!$C$6:$C$150,"mmmm")="May"),'register - BoA'!$F$6:$F$150)
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0