+ Reply to Thread
Results 1 to 4 of 4

Duplicate lookup and sum function

  1. #1
    Registered User
    Join Date
    10-07-2020
    Location
    Ontario
    MS-Off Ver
    2010
    Posts
    5

    Duplicate lookup and sum function

    Hi there,

    I have attached a sample workbook.

    I am looking to do the following within one formula in column C:

    1. Determine if column A contains one more duplicates ( Student ID = 224353 in this example)

    2. If there are duplicates I would like to sum the the values in Column B for all of the identified duplicates (determine that Student ID = 224353 has a total budget allocation of 110)

    3. If this number is greater than 100 I would like to indicate that within column C.

    Please let me know if you have any questions.

    I really appreciate any help!

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Duplicate lookup and sum function

    In C2 and copy down

    =IF(COUNTIF($A$2:$A$15,$A2)>1,IF(SUMIFS($B$2:$B$15,$A$2:$A$15,$A2)>100,"Over 100",""),"")

    Student ID = 224353 =100 not 110

  3. #3
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Duplicate lookup and sum function

    Or

    C2 and copy down

    =IF(SUMIF(A:A,A2,B:B)>100,SUMIF(A:A,A2,B:B),"")

  4. #4
    Registered User
    Join Date
    10-07-2020
    Location
    Ontario
    MS-Off Ver
    2010
    Posts
    5

    Re: Duplicate lookup and sum function

    Thank you so much!!

+ 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] Lookup on Duplicate Values
    By arasan25 in forum Excel General
    Replies: 4
    Last Post: 08-20-2017, 10:17 AM
  2. Replies: 2
    Last Post: 08-16-2016, 08:30 AM
  3. Lookup duplicate values - Help please
    By tony126 in forum Excel General
    Replies: 5
    Last Post: 05-27-2015, 06:23 PM
  4. [SOLVED] Duplicate Value Lookup Function Problems
    By svatz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-04-2013, 12:55 PM
  5. [SOLVED] Lookup + Duplicate Values
    By keithmacd in forum Excel General
    Replies: 4
    Last Post: 06-12-2012, 07:49 PM
  6. Need help on how to lookup values that duplicate
    By Pat Parker in forum Excel General
    Replies: 4
    Last Post: 01-26-2012, 11:56 PM
  7. Duplicate Lookup
    By smandula in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-04-2005, 09:05 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