+ Reply to Thread
Results 1 to 4 of 4

SUMPRODUCT - Multiple Criterias with partial keyword

  1. #1
    Registered User
    Join Date
    04-29-2020
    Location
    Kuala Lumpur
    MS-Off Ver
    365
    Posts
    13

    SUMPRODUCT - Multiple Criterias with partial keyword

    Hi Experts,

    Good day

    I have column A with dates, column B with Descriptions and column C with Amounts

    DATE DESCRIPTION AMOUNT
    27-Apr-22 ABCD 200
    27-Apr-22 ABCD -1000
    27-Apr-22 CT ABCD -3000
    26-Apr-22 ABCD 1000
    26-Apr-22 ABCD 600
    26-Apr-22 CT ABCD -480
    26-Apr-22 ABCD 25
    26-Apr-22 CT ABCD -2020
    26-Apr-22 ABCD 2700
    25-Apr-22 ABCD 1986
    25-Apr-22 ABCD 40

    I'm looking for a formula to SUM the amount from specific date, description (partial keyword "CT")

    Example :

    I've input 27-Apr-22 in E1, in F1 i need to answer for 27-Apr-22 total of negative amount only for CT ABCD

    I manage to find the figure for negative amount but still need to sort out the description part

    Attached herewith my sample of workbook

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,351

    Re: SUMPRODUCT - Multiple Criterias with partial keyword

    Try this:

    =SUMPRODUCT(((A2:A12=E1)*(LEFT(B2:B12,2)="CT")*(C2:C12<0))*(C2:C12))*-1

    or:

    =ABS(SUMPRODUCT(((A2:A12=E1)*(LEFT(B2:B12,2)="CT")*(C2:C12<0))*(C2:C12)))
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    04-29-2020
    Location
    Kuala Lumpur
    MS-Off Ver
    365
    Posts
    13

    Re: SUMPRODUCT - Multiple Criterias with partial keyword

    Hi AliGW,

    Million Thanks~

    Much Appreciated

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,351

    Re: SUMPRODUCT - Multiple Criterias with partial keyword

    Glad to help.

    If you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Average with multiple criterias using sumproduct
    By Sof23 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-25-2019, 02:39 PM
  2. [SOLVED] SUMPRODUCT with multiple criterias, multiple search on same column and with wild card
    By dluhut in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-25-2017, 07:17 PM
  3. [SOLVED] Formula to Sumproduct with multiple criterias
    By kunjanee in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-17-2016, 01:56 PM
  4. Sumproduct for ranking with multiple criterias; maybe sumifs?
    By myth_victor in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-09-2015, 10:44 AM
  5. [SOLVED] Sumproduct multiple criterias with dates?
    By preddy1110 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-09-2014, 07:51 AM
  6. [SOLVED] Sumproduct with multiple criterias
    By JERICA in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 05-04-2013, 07:09 PM
  7. [SOLVED] How to build a SumProduct with multiple criterias.
    By gouleta in forum Excel General
    Replies: 4
    Last Post: 06-04-2012, 12:23 PM

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