Hide cell values

sdel_nevo

New Member
Joined
Jan 16, 2015
Messages
28
Hi everyone

I'm really sorry if this has been asked before

I have a list of names starting in cell B13

Fully Factored
Stock
Stranding
Stranding
SWU
SWU

what I can't seam to get my head around is this

how can I hide the duplicate entry's and only have on value for each so the list would become

Fully Factored
Stock
Stranding
SWU

I just need to hide the text but can't think how I can do it

any help would be great

Steve
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Hi Steve. One possibility is to change the font color to white. The value will still be there but you won't be able to see it because the font color will match the background color. This will leave your duplicate entries which will look like blank cells. If you don't need the duplicate entries, you can just delete them.
 
Upvote 0
Hi Mumps

thanks for getting back, I'm not sure how I would go about this, I develop in access mostly and am just cutting my teeth with excel, how could I format this conditionally based on the duplicate values?

Steve
 
Upvote 0
Do you want to hide the duplicates by changing the font color or do you want to permanently delete the duplicates?
 
Upvote 0
Just a slightly different approach ... the following macro will hide the duplicate rows. It assumes your data is in column A starting at row 2. See if this will serve your purpose.
Code:
Sub HideDups()
    Application.ScreenUpdating = False
    Dim LastRow As Long
    Dim i As Long
    LastRow = Range("A" & Rows.Count).End(xlUp).Row
    For i = LastRow To 2 Step -1
        If WorksheetFunction.CountIf(Range("A" & LastRow & ":A" & i), _
        Range("A" & i).Value) > 1 Then Rows(i).Hidden = True
    Next i
    Application.ScreenUpdating = True
End Sub
 
Upvote 0
Hi mumps

many thanks for this, I will try this first thing in the morning and let you know how I get on

Steve
 
Upvote 0

Forum statistics

Threads
1,214,894
Messages
6,122,124
Members
449,066
Latest member
Andyg666

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