Removing Duplicates while leaving the blanks

tobetico

New Member
Joined
Jun 28, 2007
Messages
6
Hi,

I have a column with a set of duplicate values. I need to remove the duplicates while leaving the original data and keeping the blanks. The Remove Duplicates function comprises the data and this does not work for me. Help!
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Hi,

Could you clarify some issues?

-Sheet name
-Data range (column(s), rows)
-Data-type (text, numbers, mixed)
-Expected result

M.
 
Upvote 0
The following is the example of what I would like to achive, I have a lon list of order numbers on Column B, and I would like to see the unique order numbers on column A as follows. Any ideas?

A B
Unique
Order No Order No
8689792 8689792
8689792
8689792
8689792
8689792
8689792
8689792
8689792
8689792
8689792
8690850 8690850
8690906
8699723 8699723
8699723
8699751 8699751
8699756 8699756
8699758 8699758
8699769 8699769
 
Upvote 0
Is the following your desired outcome?

A B
8689792 8689792
8689792
8690850 8690850
8690906
8699723 8699723
8699723
8699751 8699751
8699756 8699756
8699758 8699758
8699769 8699769
 
Upvote 0
Hi, how do you want to macro it so it deletes them for you, or would a formula suffice?

This formula should do the trick, just copy it into B or whatever column:

=IF(COUNTIF($A$1:A1,A1)>1,"",A1)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,583
Messages
6,179,676
Members
452,937
Latest member
Bhg1984

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