+ Reply to Thread
Results 1 to 8 of 8

SUMPRODUCT with two wildcards.

  1. #1
    Registered User
    Join Date
    02-21-2007
    Posts
    5

    SUMPRODUCT with two wildcards.

    Hi guys, i'm having a little trouble with this.

    I have three columns A, D and I in this formula.

    A is a text column containing week and a month and values, which could be as follows:

    Week 3 May
    Week 4 May
    Week 1 August
    May
    Week 1 September

    D is a numberic column contaning an integer value.

    I is another text column containing values such as:

    Sent
    Rejected
    Rejected, but now Sent

    I've been trying to use SUMPRODUCT to sum the values of D where A contains "May" and I contains "Sent". I know SUMPRODUCT doesnt allow wildcards, so i've been trying to use ISNUMBER(SEARCH which i have done successfully for the "May" part. However i cant get it to work with both "May" and "Sent".

    I know the types of data is a mess, and i'd fix it if it wasnt such a huge sheet used by lots of different users who all use slightly different entries. The single words are all i can work with really.

    Looking forward to hearing from you.

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    Why don't you post your formula ...?
    HTH
    Carim


    Top Excel Links

  3. #3
    Registered User
    Join Date
    02-21-2007
    Posts
    5
    Because Excel crashed just before i posted and i lost it all Was trying not to save, because as i said its a large shared workbook and it'll upset people if i start adding in half finished formulas.

    I know, i should've saved it elswhere... stupid me

  4. #4
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    This site will help :
    http://www.xldynamic.com/source/xld....T.html#classic
    Look for example 9

  5. #5
    Registered User
    Join Date
    02-21-2007
    Posts
    5
    Think it was something like this:

    =SUMPRODUCT(ISNUMBER(SEARCH("may",A2:A13856))*(ISNUMBER(SEARCH("Sent",I1:I13856)))*D2:D13856)
    Last edited by Hasntgotaclue; 02-21-2007 at 11:12 AM. Reason: cell references bit muddled

  6. #6
    Registered User
    Join Date
    02-21-2007
    Posts
    5
    Arthur, thanks for that, i've got it now.

    =SUMPRODUCT(--(ISNUMBER(SEARCH("May",A3:A13857))),--(ISNUMBER(SEARCH("Sent",I3:I13857))),--(D3:D13857))

  7. #7
    Registered User
    Join Date
    02-21-2007
    Posts
    5
    Why did i need the double negative operators though?

  8. #8
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Have a look a little higher on the same page

    Cheers
    Last edited by arthurbr; 02-21-2007 at 04:46 PM.

+ 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