Suppressing Duplicates

mason1234

New Member
Joined
Feb 18, 2002
Messages
9
I have a worksheet that has duplicate entries in several columns, for example, the first column is for "School" and the name of a school repeats many times until it gets to a record on down the list for a different school name. Is there a way to make it so that after the first entry of a school the following cells in that column won't show anything until a new value appears? Thank you.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
You could use conditional formatting. Select the second cell in the column (say A2), then Format > Conditional formatting. Choose formula is and enter the formula =A2=A1. Click on format and make the font color white. Click Ok twice to exit. Copy the cell and paste special > format down your column.
 
Upvote 0
On 2002-02-19 16:19, mason1234 wrote:
I have a worksheet that has duplicate entries in several columns, for example, the first column is for "School" and the name of a school repeats many times until it gets to a record on down the list for a different school name. Is there a way to make it so that after the first entry of a school the following cells in that column won't show anything until a new value appears? Thank you.

Yes, use conditional formatting. Select your entire column (say A1 to A100), and go to Format-Conditional Formatting. Then select "Formula Equals", and in the formula box, type:

=(A1000=A999)

Use the last and second to last rows, it makes a difference. (or don't select the first row and put =(A2=A1)). Then format the font to white (if your background is white).

Hope this helps,

Russell
 
Upvote 0
Mason
If your school list is in column A, starting at A4, put this formula in B4 and scroll down. This will then only display unique entries.
=IF(ISNA(VLOOKUP(A4,$A$2:$A3,1,FALSE)),A4,"")
Derek
 
Upvote 0
Derek, Russell and Steve,

Thanks so much! I have tried and these work marvelously. I really appreciate your help. Thanks!

Merle Mason
 
Upvote 0

Forum statistics

Threads
1,213,558
Messages
6,114,296
Members
448,564
Latest member
ED38

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