Count the Cell Value And Control the Cell Row Number

Samael2021

New Member
Joined
Jun 21, 2021
Messages
22
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Dear Sir,
Let me request a VBA Code for this issue.
1. input file Column C is full of duplicate cell value.
2. For duplicate value, I want to delete this row and increase the count in Count Header Column and give this as output as shown in figure.
Please help and guide me, Thanks you so much......
Testing.PNG
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
sadly im not good with VBA, there are much better easier simpler solutions then vba now.

i did found this article on vba duplicate removal:
 
Upvote 0
sadly im not good with VBA, there are much better easier simpler solutions then vba now.

i did found this article on vba duplicate removal:
Thanks you. I knew this can remove the duplicates but Unfortunately, it doesn't match what I want. Deleting the duplicate depending on Column B and C and increasing the count in Next Column is still missing.
 
Upvote 0
as I said, im not too good with VBA.
tried to help tho.

With power query this would be no issue at all
 
Upvote 0
in PQ this would be simple duplicate all 4 columns. merge them, remove duplicates, delete helping column load - 4 steps and ur done in less then a minute :)

if data change simply refresh, ur done
 
Upvote 0

Forum statistics

Threads
1,215,020
Messages
6,122,709
Members
449,093
Latest member
Mnur

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top