+ Reply to Thread
Results 1 to 4 of 4

Sumif formula help

  1. #1
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Sumif formula help

    Hello

    I have a sheet with 3 columns
    Column A consists of invoices numbers
    Column B consists of customers name
    Columns C consists of their balance amounts

    every invoice is mentioned as many times as there will be items per invoice that is why the invoice number needs to be repeated

    If a customer have invc#1,1,1 I and 2,2,2 I only want to sum the balance of 1 and 2 .Its little bit difficult for me to explain in writing .I thing the attached workbook with desired results manually put will help you guys what I need.

    Best Regards
    Imran Bhatti
    Attached Files Attached Files
    Teach me Excel VBA

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Sumif formula help

    Try in B19 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,913

    Re: Sumif formula help

    So what's the expected result?

    Is it 5395 for "Mr" or should it be 2545?

    If latter use following in B19:
    =SUMPRODUCT(($B$2:$B$16=A19)/COUNTIF($A$2:$A$16,$A$2:$A$16&""),$C$2:$C$16)

    But "Mis" has 2 different balance for Invoice #4. Is this typo or intended?

  4. #4
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: Sumif formula help

    Quote Originally Posted by CK76 View Post
    So what's the expected result?

    Is it 5395 for "Mr" or should it be 2545?

    If latter use following in B19:
    =SUMPRODUCT(($B$2:$B$16=A19)/COUNTIF($A$2:$A$16,$A$2:$A$16&""),$C$2:$C$16)

    But "Mis" has 2 different balance for Invoice #4. Is this typo or intended?
    Expected result for Mr is yes 2545
    Yes Invoice #4 there is a typo

    Your formula solved the problem

    Thanks

    Best Regards
    Imran Bhatti

+ 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] My formula sumif/indirect formula is working perfect..except everything is 1 row off!
    By Nyolls in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-23-2015, 01:12 PM
  2. SumIf formula or Sumif with pivottable combined question
    By mcgleeuw in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-10-2015, 01:05 PM
  3. Replies: 2
    Last Post: 09-16-2014, 10:13 AM
  4. [SOLVED] Shorten SUMIF + SUMIF + SUMIF each with same reference range but different criteria???
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-13-2014, 09:25 PM
  5. SUMIF or SUMIF's formula with multiple criteria
    By jackiemariee in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-30-2013, 06:19 PM
  6. SumIF formula with criteria is Text inside a Formula?
    By excellentlearner in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-25-2012, 06:40 PM
  7. SUMIF formula that is collects values from an IF formula
    By stanja in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-26-2009, 02:37 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