someschmuck
New Member
- Joined
- Apr 26, 2016
- Messages
- 3
Help! Excel Gurus,
I've been trying to figure this one out for the past few hours, but am completely stumped. Below is my sample data.
TransactionID Date Location
201611609 2016/4/24 A
201611609 2016/4/24 A
201611609 2016/4/24 A
201611611 2016/4/24 B
201611611 2016/4/24 B
201611612 2016/4/24 A
201611612 2016/4/24 A
201611613 2016/4/24 A
201611613 2016/4/24 A
201611614 2016/4/25 A
201611614 2016/4/25 A
201611614 2016/4/25 A
i'm trying to count the number of transactionID's in the data set with the date, and Location as the criteria.
For the date of 2016/4/25, location A.
G2=2016/4/24
G3=A
I'd like the data to return as 3. (201611609, 201611612, and 201611613).
I've tried
=SUM(IF(FREQUENCY(IF($B:$B=$G2,IF($C:$C=$G$3,IF($A:$A<>"",MATCH("~"&$A:$A,$A:$A&"",0))))),ROW($A:$A)-ROW($A$2)+1),1))
to no avail.
Any suggestions would be greatly appreciated.
I've been trying to figure this one out for the past few hours, but am completely stumped. Below is my sample data.
TransactionID Date Location
201611609 2016/4/24 A
201611609 2016/4/24 A
201611609 2016/4/24 A
201611611 2016/4/24 B
201611611 2016/4/24 B
201611612 2016/4/24 A
201611612 2016/4/24 A
201611613 2016/4/24 A
201611613 2016/4/24 A
201611614 2016/4/25 A
201611614 2016/4/25 A
201611614 2016/4/25 A
i'm trying to count the number of transactionID's in the data set with the date, and Location as the criteria.
For the date of 2016/4/25, location A.
G2=2016/4/24
G3=A
I'd like the data to return as 3. (201611609, 201611612, and 201611613).
I've tried
=SUM(IF(FREQUENCY(IF($B:$B=$G2,IF($C:$C=$G$3,IF($A:$A<>"",MATCH("~"&$A:$A,$A:$A&"",0))))),ROW($A:$A)-ROW($A$2)+1),1))
to no avail.
Any suggestions would be greatly appreciated.