+ Reply to Thread
Results 1 to 4 of 4

SUM a Table column ignoring extra duplicate cells in another column.

  1. #1
    Registered User
    Join Date
    01-28-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    8

    SUM a Table column ignoring extra duplicate cells in another column.

    Hey Folks,

    I need a formula to put into the table on the right that will sum the values of estimated work and correspond to the name, but also taking into account I only want to sum the values with duplicate "Keys", once.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: SUM a Table column ignoring extra duplicate cells in another column.

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: SUM a Table column ignoring extra duplicate cells in another column.

    Convert the results table into a range.

    Use this, copied across and down:

    =LET(u,UNIQUE(Table1),SUMPRODUCT((INDEX(u,,2)=$J8)*(INDEX(u,,2+COLUMNS($K8:K8)))))

    or:

    =LET(u,UNIQUE(Table1),MMULT(--TRANSPOSE(INDEX(u,,2)=$J8),INDEX(u,,2+COLUMNS($K8:K8))))
    Attached Files Attached Files
    Last edited by Glenn Kennedy; 06-27-2022 at 08:32 AM.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

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

    Re: SUM a Table column ignoring extra duplicate cells in another column.

    Cell J8 formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Cell K8 formula copy right
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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. Merging two table together (mine keep create a Extra Column)
    By jp16 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-28-2019, 11:11 AM
  2. Replies: 8
    Last Post: 06-25-2015, 08:59 AM
  3. [SOLVED] Copying cell data in one column when duplicate cells located in separate column
    By Excelcious in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-10-2015, 02:41 AM
  4. Multiple COUNTIFS ignoring duplicate values in a column
    By hamzahs in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-27-2015, 11:31 AM
  5. Adding an extra column to a pivot table.
    By hello its dean in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 04-18-2013, 06:05 PM
  6. [SOLVED] Formula to get the median, but ignoring the duplicate numbers in the column
    By Rianne in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-16-2013, 03:23 AM
  7. [SOLVED] SUMIF by ignoring Duplicate Entries in a different column
    By vij8y in forum Excel General
    Replies: 6
    Last Post: 08-16-2012, 08:18 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