Count Unique Text Value with multiples criterias

CrazyBella

New Member
Joined
Oct 5, 2017
Messages
3
Hello. I need to count the number of donors who have contributed as of 09/30/2017 in the North America region Only. How can I do it? I am using the frequency and match formulas, but I don't know how to use it with multiple criteria, such as, dates and region. I have this data,

Region/ Location Donor Donor Name Date on Books
North America Donor A 1/9/2017
North America Donor B 3/31/2017
North America Donor E 8/12/2017
North America Donor T 2/28/2017
North America Donor A 4/27/2017
North America Donor B 6/24/2017
North America Donor M 7/8/2017
North America Donor C 9/15/2017
North America Donor C 10/1/2017
North America Donor A 3/4/2017
North America Donor C 5/15/2017
North America Donor C 10/2/2017
North America Donor P 3/20/2017
North America Donor Z 10/5/2017
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Easiest is to create a pivot table which has region, Donor and date as row fields and any other column as sigma field. THen you can easily filter to get the information you need.
 
Upvote 0
A
B
C
D
E
F
G
1
North AmericaDonorA
1/9/2017​
9/30/2017​
2
North AmericaDonorB
3/31/2017​
3
North AmericaDonorE
8/12/2017​
donator
4
North AmericaDonorT
2/28/2017​
7​
5
North AmericaDonorA
4/27/2017​
6
North AmericaDonorB
6/24/2017​
7
North AmericaDonorM
7/8/2017​
8
North AmericaDonorC
9/15/2017​
9
North AmericaDonorC
10/1/2017​
10
North AmericaDonorA
3/4/2017​
11
North AmericaDonorC
5/15/2017​
12
North AmericaDonorC
10/2/2017​
13
North AmericaDonorP
3/20/2017​
14
North AmericaDonorZ
10/5/2017​

g4=SUM(IF(FREQUENCY(IF($A$1:$A$14=$A$1,IF(D1:D14<=$G$1,MATCH($C$1:$C$14,$C$1:$C$14,0))),ROW($C$1:$C$14)-ROW(C1)+1),1))

control+shift enter
 
Upvote 0
A
B
C
D
E
F
G
1
North AmericaDonorA
1/9/2017​
9/30/2017​
2
North AmericaDonorB
3/31/2017​
3
North AmericaDonorE
8/12/2017​
donator
4
North AmericaDonorT
2/28/2017​
7​
5
North AmericaDonorA
4/27/2017​
6
North AmericaDonorB
6/24/2017​
7
North AmericaDonorM
7/8/2017​
8
North AmericaDonorC
9/15/2017​
9
North AmericaDonorC
10/1/2017​
10
North AmericaDonorA
3/4/2017​
11
North AmericaDonorC
5/15/2017​
12
North AmericaDonorC
10/2/2017​
13
North AmericaDonorP
3/20/2017​
14
North AmericaDonorZ
10/5/2017​

g4=SUM(IF(FREQUENCY(IF($A$1:$A$14=$A$1,IF(D1:D14<=$G$1,MATCH($C$1:$C$14,$C$1:$C$14,0))),ROW($C$1:$C$14)-ROW(C1)+1),1))

control+shift enter

This was great ! Thanks.
 
Upvote 0
g4=SUM(IF(FREQUENCY(IF($A$1:$A$14=$A$1,IF(D1:D14<=$G$1,MATCH($C$1:$C$14,$C$1:$C$14,0))),ROW($C$1:$C$14)-ROW($C$1)+1),1))

control +shift+enter

sorry i forgot double dollars ($C$1) for C1
 
Upvote 0

Forum statistics

Threads
1,215,819
Messages
6,127,047
Members
449,356
Latest member
tstapleton67

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