Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default SUMPRODUCT Unique Values

I'm trying to combine a series of conditions while ignoring duplicates to get a result. In the below data, I need to find Nicholson, Jack in column B and count all the "yes" values in columns C & D, but ignore count for duplicates in column A.

---- DATA ----
A B C D
Week 1 Nicholson, Jack yes no
Week 3 Nicholson, Jack yes yes
Week 4 Nicholson, Jack yes yes
Week 5 Nicholson, Jack yes yes
Week 6 Nicholson, Jack yes yes
Week 7 Nicholson, Jack yes yes
Week 8 Nicholson, Jack yes yes
Week 8 Nicholson, Jack yes yes
Week 8 Washington, Denzel yes yes

Seeking Result: 13

Thank you so much in advance!
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default SUMPRODUCT Unique Values

On Monday, November 20, 2017 at 2:12:59 PM UTC-5, Claus Busch wrote:
Hi,

Am Mon, 20 Nov 2017 11:02:27 -0800 (PST) schrieb

I'm trying to combine a series of conditions while ignoring duplicates to get a result. In the below data, I need to find Nicholson, Jack in column B and count all the "yes" values in columns C & D, but ignore count for duplicates in column A.

---- DATA ----
A B C D
Week 1 Nicholson, Jack yes no
Week 3 Nicholson, Jack yes yes
Week 4 Nicholson, Jack yes yes
Week 5 Nicholson, Jack yes yes
Week 6 Nicholson, Jack yes yes
Week 7 Nicholson, Jack yes yes
Week 8 Nicholson, Jack yes yes
Week 8 Nicholson, Jack yes yes
Week 8 Washington, Denzel yes yes

Seeking Result: 13


try:
=SUMPRODUCT((MATCH(A1:A9,A1:A9,0)=ROW(1:9))*(B1:B9 ="Nicholson, Jack")*(C1:D9="yes"))


Regards
Claus B.
--
Windows10
Office 2016


Claus,
Thanks for getting back so quick. Unfortunately, you the formula you provided just results in 0.

Best regards,
Chris
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default SUMPRODUCT Unique Values

On Monday, November 20, 2017 at 2:12:59 PM UTC-5, Claus Busch wrote:
Hi,

Am Mon, 20 Nov 2017 11:02:27 -0800 (PST) schrieb

I'm trying to combine a series of conditions while ignoring duplicates to get a result. In the below data, I need to find Nicholson, Jack in column B and count all the "yes" values in columns C & D, but ignore count for duplicates in column A.

---- DATA ----
A B C D
Week 1 Nicholson, Jack yes no
Week 3 Nicholson, Jack yes yes
Week 4 Nicholson, Jack yes yes
Week 5 Nicholson, Jack yes yes
Week 6 Nicholson, Jack yes yes
Week 7 Nicholson, Jack yes yes
Week 8 Nicholson, Jack yes yes
Week 8 Nicholson, Jack yes yes
Week 8 Washington, Denzel yes yes

Seeking Result: 13


try:
=SUMPRODUCT((MATCH(A1:A9,A1:A9,0)=ROW(1:9))*(B1:B9 ="Nicholson, Jack")*(C1:D9="yes"))


Regards
Claus B.
--
Windows10
Office 2016


I think I've diagnosed further. If my data has column headers and I move the data down, it will mess up the formula
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
a twist on counting unique values in a range which contains blankcells, using a formula. the formula can't use SUMPRODUCT or FREQUENCY pete Excel Programming 5 August 4th 16 09:17 PM
Unique Values, not Unique Records steph44haf Excel Discussion (Misc queries) 1 May 12th 10 07:52 PM
SUMPRODUCT unique items Tufail Excel Discussion (Misc queries) 2 January 4th 09 08:15 PM
Why does this code remove Duplicate Values, by showing only 1, but it does NOT show Unique values for some reason ? Corey Excel Programming 4 February 23rd 07 03:00 AM
Unique sumproduct with criteria! Naomi Excel Worksheet Functions 5 March 14th 05 08:01 PM


All times are GMT +1. The time now is 09:30 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"