Counting Unique Donors in a Given Year

mtaylor50

New Member
Joined
Oct 4, 2004
Messages
28
I know there are bundles of board postings regarding counting with multiple criteris, and I'm sorry about my inability to find the one that will work for me (after 3 hours of trial and error).

My formula needs to count unique individuals who donated $ to a charity in 2005 (column B lists donors' names; column c shows the year of their gift, after being extracted from a date field elsewhere).

Here's the formula that counts the unique donors regardless of date:

=SUMPRODUCT(($B$2:B$3001<>"")/COUNTIF(B$2:B$3001,B$2:B$3001&""))

I just can't seem to amend it to so it counts only 2005 donors, but only once, i.e., if donor gave in 2004 and 2005, the formula needs to count this donor as a 2005 donor; 2004 is irrelevant for the 2005 count. Also if same donor gave twice in 2005, donor is counted only once in the 2005 count.

Many thanks!
Mark
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
If you download and install the latest version of the morefunc.xll add-in:

=COUNTDIFF(IF($C$2:$C$3001=2005,$B$2:$B$3001,"#"),FALSE,"#")

which must be confirmed with control+shift+enter.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top