rambostine202
New Member
- Joined
- Sep 5, 2017
- Messages
- 4
Hello people,
I just gave up on trying to find a formula which I know must be easy.
Here is the data I have (simplified data)
(A, B, C and D are columns and the rows are A2 to A13 but my actual work would be for A2 to A1000 or better yet the whole All A column.
A B
John 1
John 1
Jane 2
Larry 1
John 2
John 4
Eve 1
Jason 5
John 6
Rudolf 2
Rudolf 5
Rudolf 1
Jefferson 8
What I am looking for is a formula that would give me the following in columns C and D:
C D
John 4
Jane 1
Larry 1
Eve 1
Jason 1
Rudolf 3
Jefferson 1
What happened here is:
I want to get the number of times john has come up in the first spreadsheet.
John for example was there 5 times total but the number in D2 should only display 4 because I want to count the unique times John plus the value appear.
For example John had twice "1" , so I don't want to count more than once a name with the same number (i.e since John has two instances where the cell is "1", don't count him twice but just once)
Rudolf for example also shows up 3 times but all the numbers associated to him are unique (i.e in first data set above Rudolf has three instances of showing but no duplicate numbers, so in D7 Rudolf should have an associated number 3 which is the number of distinct values associated to Rudolf.
Hope I gave enough info.
If someone could help me I would very much appreciate it.
Thanks
I just gave up on trying to find a formula which I know must be easy.
Here is the data I have (simplified data)
(A, B, C and D are columns and the rows are A2 to A13 but my actual work would be for A2 to A1000 or better yet the whole All A column.
A B
John 1
John 1
Jane 2
Larry 1
John 2
John 4
Eve 1
Jason 5
John 6
Rudolf 2
Rudolf 5
Rudolf 1
Jefferson 8
What I am looking for is a formula that would give me the following in columns C and D:
C D
John 4
Jane 1
Larry 1
Eve 1
Jason 1
Rudolf 3
Jefferson 1
What happened here is:
I want to get the number of times john has come up in the first spreadsheet.
John for example was there 5 times total but the number in D2 should only display 4 because I want to count the unique times John plus the value appear.
For example John had twice "1" , so I don't want to count more than once a name with the same number (i.e since John has two instances where the cell is "1", don't count him twice but just once)
Rudolf for example also shows up 3 times but all the numbers associated to him are unique (i.e in first data set above Rudolf has three instances of showing but no duplicate numbers, so in D7 Rudolf should have an associated number 3 which is the number of distinct values associated to Rudolf.
Hope I gave enough info.
If someone could help me I would very much appreciate it.
Thanks