tinkythomas
Active Member
- Joined
- Dec 13, 2006
- Messages
- 432
Hi,
I want to increment a number in an adjacent column to my data based on 2 criteria. Firstly the value in ColA is the same and the value in ColB is the same.
For example the following data...
ColA, ColB
E6322001, T1
E6322001, T1
E6322001, T2
E6322001, T2
The result I'm after a count in ColC...
ColA, ColB, ColC
E6322001, T1, 1
E6322001, T1, 2
E6322001, T2, 1
E6322001, T2, 2
I tried using the CountA function (COUNTA($A$1:A1)) but that only counts the 1 column and I end up with...
ColA, ColB, ColC
E6322001, T1, 1
E6322001, T1, 2
E6322001, T2, 3
E6322001, T2, 4
Any help would be appreciated.
I want to increment a number in an adjacent column to my data based on 2 criteria. Firstly the value in ColA is the same and the value in ColB is the same.
For example the following data...
ColA, ColB
E6322001, T1
E6322001, T1
E6322001, T2
E6322001, T2
The result I'm after a count in ColC...
ColA, ColB, ColC
E6322001, T1, 1
E6322001, T1, 2
E6322001, T2, 1
E6322001, T2, 2
I tried using the CountA function (COUNTA($A$1:A1)) but that only counts the 1 column and I end up with...
ColA, ColB, ColC
E6322001, T1, 1
E6322001, T1, 2
E6322001, T2, 3
E6322001, T2, 4
Any help would be appreciated.