Hello All,
I am new to this forum and just starting to increase my knowledge of coding. I don't know if there is another thread on this, I have not been able to find one.
Here is my dilemma: I am trying to create either a formula, macro or get the vba to count the text in column A based on a specific value in column F then change the text in column A to whatever have the highest count.
For example:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Store[/TD]
[TD]Channel[/TD]
[TD]EMP Hex[/TD]
[TD]Emp First Name[/TD]
[TD]Emp Last Name[/TD]
[TD]Emp Dec[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]AAA[/TD]
[TD]B[/TD]
[TD]1234EFGH[/TD]
[TD]JOHN[/TD]
[TD]SMITH[/TD]
[TD]12345678[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]BBB[/TD]
[TD]B[/TD]
[TD]1234EFGH[/TD]
[TD]JOHN[/TD]
[TD]SMITH[/TD]
[TD]12345678[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]BBB[/TD]
[TD]B[/TD]
[TD]1234EFGH[/TD]
[TD]JOHN[/TD]
[TD]SMITH[/TD]
[TD]12345678[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]BBB[/TD]
[TD]B[/TD]
[TD]1234EFGH[/TD]
[TD]JOHN[/TD]
[TD]SMITH[/TD]
[TD]12345678[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]BBB[/TD]
[TD]B[/TD]
[TD]1234EFGH[/TD]
[TD]JOHN[/TD]
[TD]SMITH[/TD]
[TD]12345678[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]BBB[/TD]
[TD]B[/TD]
[TD]1234EFGH[/TD]
[TD]JOHN[/TD]
[TD]SMITH[/TD]
[TD]12345678[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]BBB[/TD]
[TD]B[/TD]
[TD]1234EFGH[/TD]
[TD]JOHN[/TD]
[TD]SMITH[/TD]
[TD]12345678[/TD]
[/TR]
</tbody>[/TABLE]
I need something that will recognize, based on column F all being the same value, that cell A2 needs to change to BBB without changing the location.
I have a spreadsheet of about 5K+ rows.
I have already been able to use vba I found to remove dulicates, it associates the count based on column f but keeps it under the first entry in column A.
Any help or insights would be AMAZING!
Thanks in advance
I am new to this forum and just starting to increase my knowledge of coding. I don't know if there is another thread on this, I have not been able to find one.
Here is my dilemma: I am trying to create either a formula, macro or get the vba to count the text in column A based on a specific value in column F then change the text in column A to whatever have the highest count.
For example:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Store[/TD]
[TD]Channel[/TD]
[TD]EMP Hex[/TD]
[TD]Emp First Name[/TD]
[TD]Emp Last Name[/TD]
[TD]Emp Dec[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]AAA[/TD]
[TD]B[/TD]
[TD]1234EFGH[/TD]
[TD]JOHN[/TD]
[TD]SMITH[/TD]
[TD]12345678[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]BBB[/TD]
[TD]B[/TD]
[TD]1234EFGH[/TD]
[TD]JOHN[/TD]
[TD]SMITH[/TD]
[TD]12345678[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]BBB[/TD]
[TD]B[/TD]
[TD]1234EFGH[/TD]
[TD]JOHN[/TD]
[TD]SMITH[/TD]
[TD]12345678[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]BBB[/TD]
[TD]B[/TD]
[TD]1234EFGH[/TD]
[TD]JOHN[/TD]
[TD]SMITH[/TD]
[TD]12345678[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]BBB[/TD]
[TD]B[/TD]
[TD]1234EFGH[/TD]
[TD]JOHN[/TD]
[TD]SMITH[/TD]
[TD]12345678[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]BBB[/TD]
[TD]B[/TD]
[TD]1234EFGH[/TD]
[TD]JOHN[/TD]
[TD]SMITH[/TD]
[TD]12345678[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]BBB[/TD]
[TD]B[/TD]
[TD]1234EFGH[/TD]
[TD]JOHN[/TD]
[TD]SMITH[/TD]
[TD]12345678[/TD]
[/TR]
</tbody>[/TABLE]
I need something that will recognize, based on column F all being the same value, that cell A2 needs to change to BBB without changing the location.
I have a spreadsheet of about 5K+ rows.
I have already been able to use vba I found to remove dulicates, it associates the count based on column f but keeps it under the first entry in column A.
Any help or insights would be AMAZING!
Thanks in advance