+ Reply to Thread
Results 1 to 6 of 6

Problem using SUMIF function

Hybrid View

  1. #1
    Registered User
    Join Date
    10-27-2014
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    13

    Problem using SUMIF function

    Hi,

    I have a list of names (B3:B19). I want to add the sales figure (C3:C19) of similar names. I have attached my excel file.
    My code does not work =SUMIF(B3:B19,(EXACT(B3,B4)=TRUE),C3:C19)

    I understand that the EXACT function is case sensitive. Any way to compare names that is not case sensitive and add them up?
    Any other function is welcome!

    Thank you.
    Attached Files Attached Files
    Last edited by zaikun335; 10-28-2014 at 04:35 AM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Problem using SUMIF function

    Hi, welcome to the forum

    why not just this...
    =SUMIF($B$3:$B$19,B3,$C$3:$C$19)

    To excel (for this purpose), john, JOHN, jOhN, JOHN and john are all the exact same name

    If that was not the answer you were expecting (from the formula), what did you want?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Problem using SUMIF function

    Try this.....

    In D3
    =SUMPRODUCT(--(EXACT($B$3:$B$19,B3)),$C$3:$C$19)
    and copy down.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Problem using SUMIF function

    This will clean it up a bit...
    =IF(COUNTIF($B$3:B3,B3)>1,"",SUMIF($B$3:$B$19,B3,$C$3:$C$19))

  5. #5
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Problem using SUMIF function

    Hi,

    You can list the names first and do the sumifs,

    Ref the attachment
    Attached Files Attached Files
    Click just below left if it helps, Boo?ath?

  6. #6
    Registered User
    Join Date
    10-27-2014
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    13

    Re: Problem using SUMIF function

    Hi all,

    Thank you for the prompt reply. It's exactly what I needed!! Appreciate that!

+ 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] Help with SUMIF function problem
    By mcpoogle in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 05-16-2013, 06:15 PM
  2. Excel 2007 : Problem with SUMIF function
    By mnowinski in forum Excel General
    Replies: 9
    Last Post: 06-06-2012, 08:23 PM
  3. [SOLVED] Problem adding a range using Sumif function.
    By Domenic in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 06:05 AM
  4. Problem adding a range using Sumif function.
    By vrk1 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  5. [SOLVED] Problem adding a range using Sumif function.
    By vrk1 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM

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.6.0 RC 1