Removing duplicate rows; only showing the first row that contains a value

Uganda

Board Regular
Joined
Jun 10, 2015
Messages
76
Office Version
  1. 365
I have a file with many rows of data and I only need to pick one row for each account number, how do I remove the duplicate rows (I basically want to pick the first row where the account number appears and remove the ones that follow). A snapshot of the data is below, I would basically only want to have two rows in this example; one for 1703 and another for 1739.

[TABLE="class: grid, width: 212"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]1703
[/TD]
[TD="align: center"]93271.59
[/TD]
[TD="align: right"]31/05/2015
[/TD]
[/TR]
[TR]
[TD]1703[/TD]
[TD="align: center"]93271.59[/TD]
[TD="align: right"]31/05/2015
[/TD]
[/TR]
[TR]
[TD]1703[/TD]
[TD="align: center"]93271.59[/TD]
[TD="align: right"]31/05/2015[/TD]
[/TR]
[TR]
[TD]1703[/TD]
[TD="align: center"]93271.59[/TD]
[TD="align: right"]31/05/2015
[/TD]
[/TR]
[TR]
[TD]1739[/TD]
[TD="align: center"]140053[/TD]
[TD="align: right"]31/05/2015[/TD]
[/TR]
[TR]
[TD]1739[/TD]
[TD="align: center"]140053[/TD]
[TD="align: right"]31/05/2015[/TD]
[/TR]
[TR]
[TD]1739[/TD]
[TD="align: center"]140053[/TD]
[TD="align: right"]31/05/2015[/TD]
[/TR]
[TR]
[TD]1739[/TD]
[TD="align: center"]140053[/TD]
[TD="align: right"]31/05/2015[/TD]
[/TR]
[TR]
[TD]1739[/TD]
[TD="align: center"]140053[/TD]
[TD="align: right"]31/05/2015[/TD]
[/TR]
</tbody>[/TABLE]

Thanks in advance
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
If you are using Excel 2007 or a later version, look at Remove Duplicates on the Data Tab (Data>Data Tools> Remove Duplicates).
 
Upvote 0
If you are using Excel 2007 or a later version, look at Remove Duplicates on the Data Tab (Data>Data Tools> Remove Duplicates).
Suppose you use first 6 rows of a couple of columns as follows:

Type in 4 10 10b 4 10 4 (space separated values) from A1 down
and
Type in a 10 4 4 10 a from B1 down


Looks to me like there's some duplicate rows on the sheet.
How would you remove them?
 
Upvote 0

Forum statistics

Threads
1,225,071
Messages
6,182,674
Members
453,131
Latest member
BeLocke

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