Dazzawm
Well-known Member
- Joined
- Jan 24, 2011
- Messages
- 3,783
- Office Version
- 365
- Platform
- Windows
I have workbooks of 100 of thousands of rows and I need a code please that will count the number of matching cells in column D and put a running count in column D please.
Please note it has to be a code rather than a formula. Thanks
Before
Excel 2010
<tbody>
[TD="align: center"]978[/TD]
[TD="align: right"][/TD]
[TD="align: center"]979[/TD]
[TD="align: right"][/TD]
[TD="align: center"]980[/TD]
[TD="align: right"][/TD]
[TD="align: center"]981[/TD]
[TD="align: right"][/TD]
[TD="align: center"]982[/TD]
[TD="align: right"][/TD]
[TD="align: center"]983[/TD]
[TD="align: right"][/TD]
[TD="align: center"]984[/TD]
[TD="align: right"][/TD]
[TD="align: center"]985[/TD]
[TD="align: right"][/TD]
[TD="align: center"]986[/TD]
[TD="align: right"][/TD]
</tbody>
After
Excel 2010
<tbody>
[TD="align: center"]978[/TD]
[TD="align: right"]1[/TD]
[TD="align: center"]979[/TD]
[TD="align: right"]2[/TD]
[TD="align: center"]980[/TD]
[TD="align: right"]3[/TD]
[TD="align: center"]981[/TD]
[TD="align: right"]1[/TD]
[TD="align: center"]982[/TD]
[TD="align: right"]2[/TD]
[TD="align: center"]983[/TD]
[TD="align: right"]3[/TD]
[TD="align: center"]984[/TD]
[TD="align: right"]4[/TD]
[TD="align: center"]985[/TD]
[TD="align: right"]5[/TD]
[TD="align: center"]986[/TD]
[TD="align: right"]6[/TD]
</tbody>
Please note it has to be a code rather than a formula. Thanks
Before
Excel 2010
C | D | |
---|---|---|
AUA520D 1030 | ||
AUA520D 1030 | ||
AUA520D 1030 | ||
AUA520D 1035 | ||
AUA520D 1035 | ||
AUA520D 1035 | ||
AUA520D 1035 | ||
AUA520D 1035 | ||
AUA520D 1035 |
<tbody>
[TD="align: center"]978[/TD]
[TD="align: right"][/TD]
[TD="align: center"]979[/TD]
[TD="align: right"][/TD]
[TD="align: center"]980[/TD]
[TD="align: right"][/TD]
[TD="align: center"]981[/TD]
[TD="align: right"][/TD]
[TD="align: center"]982[/TD]
[TD="align: right"][/TD]
[TD="align: center"]983[/TD]
[TD="align: right"][/TD]
[TD="align: center"]984[/TD]
[TD="align: right"][/TD]
[TD="align: center"]985[/TD]
[TD="align: right"][/TD]
[TD="align: center"]986[/TD]
[TD="align: right"][/TD]
</tbody>
Sheet1
After
Excel 2010
C | D | |
---|---|---|
AUA520D 1030 | ||
AUA520D 1030 | ||
AUA520D 1030 | ||
AUA520D 1035 | ||
AUA520D 1035 | ||
AUA520D 1035 | ||
AUA520D 1035 | ||
AUA520D 1035 | ||
AUA520D 1035 |
<tbody>
[TD="align: center"]978[/TD]
[TD="align: right"]1[/TD]
[TD="align: center"]979[/TD]
[TD="align: right"]2[/TD]
[TD="align: center"]980[/TD]
[TD="align: right"]3[/TD]
[TD="align: center"]981[/TD]
[TD="align: right"]1[/TD]
[TD="align: center"]982[/TD]
[TD="align: right"]2[/TD]
[TD="align: center"]983[/TD]
[TD="align: right"]3[/TD]
[TD="align: center"]984[/TD]
[TD="align: right"]4[/TD]
[TD="align: center"]985[/TD]
[TD="align: right"]5[/TD]
[TD="align: center"]986[/TD]
[TD="align: right"]6[/TD]
</tbody>
Sheet1
Last edited: