+ Reply to Thread
Results 1 to 7 of 7

Sum Unique Values based on Criteria

  1. #1
    Forum Contributor
    Join Date
    09-13-2013
    Location
    Saudi Arabia
    MS-Off Ver
    2010, 2013
    Posts
    192

    Question Sum Unique Values based on Criteria

    Hello again,

    I have adopted below formula and change as per my requirement.

    It is working good but the only issue i struck with is it is excluding the repeated amount which is in Column J.

    The formula is making sum for unique values but excluding the repeated amount. But i need to include duplicate amounts for a unique value.

    Please Login or Register  to view this content.
    Appreciate your help...
    Last edited by AliGW; 09-30-2021 at 02:11 AM.

  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
    81,284

    Re: Excel Formula - Sum Unique Values based on Criteria

    There are instructions at the top of the page explaining how to attach your sample workbook.
    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
    Forum Contributor
    Join Date
    09-13-2013
    Location
    Saudi Arabia
    MS-Off Ver
    2010, 2013
    Posts
    192

    Re: Excel Formula - Sum Unique Values based on Criteria

    Thanks for the response.

    I have attached a workbook as requested. Formula need to in column D. Each colour having the amount sample.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,784

    Re: Excel Formula - Sum Unique Values based on Criteria

    D2=IF($A2<>"",SUMIFS($I$2:$I$100,$A$2:$A$100,$A2,$B$2:$B$100,$B2),"")


    Copy down

  5. #5
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,469

    Re: Excel Formula - Sum Unique Values based on Criteria

    Cell D2 formula , Drag down

    HTML Code: 

  6. #6
    Forum Contributor
    Join Date
    09-13-2013
    Location
    Saudi Arabia
    MS-Off Ver
    2010, 2013
    Posts
    192

    Re: Sum Unique Values based on Criteria

    Thanks to both of you wk9128 and CARACALLA. it works.
    I am closing the topic and reputation added.

  7. #7
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,469

    Re: Sum Unique Values based on Criteria

    @Abdur_rahman You're Welcome. Glad to help . Thank You for the feedback

+ 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. Formula to return unique values based on 4 criteria
    By thomasuponor in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-24-2020, 05:15 AM
  2. [SOLVED] Count Unique Values Based On Two Criteria - how do I update this formula?
    By JuNova in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-30-2018, 03:27 AM
  3. [SOLVED] Formula in Excel to count unique values matching criteria
    By Krix in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-15-2016, 11:51 AM
  4. [SOLVED] Count unique values based on criteria but without array formula (CSE)
    By Villalobos in forum Excel General
    Replies: 3
    Last Post: 05-09-2015, 05:05 AM
  5. [SOLVED] Unique Values Formula Based on Criteria
    By zmster2033 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-07-2014, 10:03 PM
  6. [SOLVED] how to count unique values in excel based on multiple criteria
    By IDBUGM in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-15-2006, 12:10 PM
  7. [SOLVED] how to count unique values in excel based on criteria
    By Jorge in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-13-2005, 10:06 AM

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