+ Reply to Thread
Results 1 to 6 of 6

Sumif duplicate value

Hybrid View

  1. #1
    Registered User
    Join Date
    06-05-2012
    Location
    Singaporre
    MS-Off Ver
    Excel 2003
    Posts
    11

    Sumif duplicate value

    Dear all,
    Need your help!!!

    Column A Column B Column C
    111 25 47 (25 + 20 + 2)
    222 10 10
    111 20 -
    333 5 5
    111 2 -

    If i was not allowed to sort data at the column A, what is the formula should i use in order to get the answer at column C
    Column A is product code, column B is the sales amount and column c is the total sales amount for that particular product

    Anyone able to help? Thanks

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: Sumif duplicate value

    Hello Jeffrey, Welcome to the forum.

    Try

    =SUMPRODUCT((B2:B10<>C2:C10)+0,B2:B10)
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Registered User
    Join Date
    06-05-2012
    Location
    Singaporre
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Sumif duplicate value

    Quote Originally Posted by Haseeb A View Post
    Hello Jeffrey, Welcome to the forum.

    Try

    =SUMPRODUCT((B2:B10<>C2:C10)+0,B2:B10)

    Hi Haseeb,
    Thanks but i cannot get the answer correctly.

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,037

    Re: Sumif duplicate value

    Neither we can see what's wrong from your comment.
    Never use Merged Cells in Excel

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Sumif duplicate value

    Pl see attached file .Formula is in C column.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    06-05-2012
    Location
    Singaporre
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Sumif duplicate value

    Quote Originally Posted by kvsrinivasamurthy View Post
    Pl see attached file .Formula is in C column.
    Yes, i am able to get it.
    Thanks Kvsrinivasamurthy You save my day!

+ 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