+ Reply to Thread
Results 1 to 6 of 6

Sum total if a different key word in 4 columns is matched

  1. #1
    Registered User
    Join Date
    08-12-2018
    Location
    UK
    MS-Off Ver
    2016
    Posts
    17

    Sum total if a different key word in 4 columns is matched

    Hi all,

    I'm hoping for your great help once again. Ive added attachement with a txt box of what i am trying to achieve.

    but it is looking through 4 columns for 1 key word in each column and sum of matching all 4 words.
    Attached Files Attached Files

  2. #2
    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,036

    Re: Sum total if a different key word in 4 columns is matched

    Use 4 formulae like this one, one in each of the shaded ranges:
    =SUMPRODUCT(($A$2:$A$10=$H$4)*($B$2:$B$10=$H5)*($C$2:$C$10=$J$3)*($D$2:$D$10=J$4))

    Two because of two result rangesx 2 becasue of those merged cells!!

    Each 2x2 block is copy pasted, there are minor variants thereafter.
    Attached Files Attached Files
    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

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Sum total if a different key word in 4 columns is matched

    Hi bazfalty,

    This looks like a Pivot Table answer to me with two groups for rows and columns. See if the attached does what you want/need.

    Pivot Table with two row and column groups.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    08-12-2018
    Location
    UK
    MS-Off Ver
    2016
    Posts
    17

    Re: Sum total if a different key word in 4 columns is matched

    Quote Originally Posted by Glenn Kennedy View Post
    Use 4 formulae like this one, one in each of the shaded ranges:
    =SUMPRODUCT(($A$2:$A$10=$H$4)*($B$2:$B$10=$H5)*($C$2:$C$10=$J$3)*($D$2:$D$10=J$4))

    Two because of two result rangesx 2 becasue of those merged cells!!

    Each 2x2 block is copy pasted, there are minor variants thereafter.
    perfect. thanks again. it will not let me add to your reputation though at the minute.

  5. #5
    Registered User
    Join Date
    08-12-2018
    Location
    UK
    MS-Off Ver
    2016
    Posts
    17

    Re: Sum total if a different key word in 4 columns is matched

    thanks for this as well

  6. #6
    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,036

    Re: Sum total if a different key word in 4 columns is matched

    No problem!! You can't add rep to the same person successively. You have to spread the love around!!

+ 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] Transfer values for matched columns
    By nooredein in forum Excel General
    Replies: 7
    Last Post: 12-11-2015, 01:27 AM
  2. Replies: 4
    Last Post: 12-27-2013, 07:53 AM
  3. [SOLVED] Number of cells that are not matched in other columns
    By fedfed in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-14-2013, 01:02 PM
  4. Replies: 4
    Last Post: 05-03-2013, 12:09 PM
  5. Replies: 3
    Last Post: 09-28-2012, 11:12 AM
  6. Match columns and calculate if not matched
    By magman1984 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 03-28-2012, 05:15 PM
  7. Replies: 2
    Last Post: 02-16-2012, 11:22 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