Hi,
I've had a look around, but can't find out how I might be able to do this.
I have data that looks a bit like this:
PersonUniqueID Date Item
123 12/05/2005 1
123 12/05/2005 2
456 12/05/2005 1
456 12/05/2005 2
567 13/05/2005 3
567 13/05/2005 4
567 14/05/2005 1
567 14/05/2005 2
I want the data to look like this:
PersonUniqueID Date Items
123 12/05/2005 1/2
456 12/05/2005 1/2
567 13/05/2005 3/4
567 14/05/2005 1/2
But ultimately, I want to be able to report this:
Combination No.ofTimes No.ofPersons
1/2 3 3
3/4 1 1
(If I don't need the intermediary step, that's great....but I need to report the number of times each combination occurs (where it occurs on the same date for the same person) and how many people it occurs for))
Hopefully, this makes some sort of sense to someone out there...
cheers,
Andrew
I've had a look around, but can't find out how I might be able to do this.
I have data that looks a bit like this:
PersonUniqueID Date Item
123 12/05/2005 1
123 12/05/2005 2
456 12/05/2005 1
456 12/05/2005 2
567 13/05/2005 3
567 13/05/2005 4
567 14/05/2005 1
567 14/05/2005 2
I want the data to look like this:
PersonUniqueID Date Items
123 12/05/2005 1/2
456 12/05/2005 1/2
567 13/05/2005 3/4
567 14/05/2005 1/2
But ultimately, I want to be able to report this:
Combination No.ofTimes No.ofPersons
1/2 3 3
3/4 1 1
(If I don't need the intermediary step, that's great....but I need to report the number of times each combination occurs (where it occurs on the same date for the same person) and how many people it occurs for))
Hopefully, this makes some sort of sense to someone out there...
cheers,
Andrew