Tuesday 6 January 2015

Hide Duplicate / Repeating Values in a Column in MS Excel.


How to hide Repeating /  Duplicate Values In A Column in Microsoft Excel with Example?


As you are working with lists in MS Excel, after sorting, you may find that, you have multiple rows with the same values repeating down one or more columns. If you are printing this list as a report, for aesthetic (pleasing) purposes, you may prefer to have only the first instance of each item shown.

One option is to clear the cells for all duplicate items below the first one. The problem with this approach:

1) approach can be very time-consuming if you're working with a long list and

2) once you delete values from the cells, you won't be able to sort or filter your list.

Here is a clean and easy trick using Conditional Formatting that you need only do one time. After that all future duplicate values will be hidden.

So, How to hide repeating values in a Column in Microsoft Excel (While Printing) with example?
1) Select a range of cells in the column where you want to hide duplicates;

2) In this example we have selected B2:B28, you will notice that cell B2 is the Active Cell;

3) On the Home tab, click Conditional Formatting in the Styles group and then choose New Rule...;

4) Select 'Use a formula to determine which cells to format';

5) In the formula field type =B2=B1

6) Click the Format... button, click the Font tab, select the Color dropdown, choose white* from the color palette and click OK.

Note:- * (Aestrik) This assumes the background of your cells is white so the duplicate text will be invisible.

7) Click OK to close the Conditional Formatting dialog.

You should now see that the only first value is visible but all the duplicates below are hidden. However they are still there (just look in the formula bar) but they blend into the white background.




Hide duplicates in Excel 2007 using this Conditional Formatting trick

Use Conditional Formatting and white font to hide duplicates in Excel 2007.

4 comments:

  1. Brilliantly simple. Thank you!

    How would you do the same thing for the second column but ONLY if the first column was also repeated? For example, if your data above included data biweekly, so you had also a "Day" column with a row for January 1, January 15, February 1, February 15, etc. and you only wanted the month name to appear once? I know, you do the same thing, but what if one year had ONLY the month of December, so it followed December in the previous year? In that case, I WOULD want December to show on both rows, because the second one went with a different year.

    I know the question isn't particularly relevant for this example, but I have products in the first column and one or more categories for each product in the second, and sometimes the last category of one product is the first or only category of the second, and I need the category to show for the second product. Otherwise it looks like no category was assigned to the second product, which is possible too, so it needs to show.

    ReplyDelete
    Replies
    1. Hide Duplicate / Repeating Values In A Column In Ms Excel. ~ Excel Tips And Tricks >>>>> Download Now

      >>>>> Download Full

      Hide Duplicate / Repeating Values In A Column In Ms Excel. ~ Excel Tips And Tricks >>>>> Download LINK

      >>>>> Download Now

      Hide Duplicate / Repeating Values In A Column In Ms Excel. ~ Excel Tips And Tricks >>>>> Download Full

      >>>>> Download LINK DX

      Delete
  2. Hey Alfred i just check you link and amazed that this application is working so nicely.
    it converts 10k excel rows to web forms very quickly and nicely
    Everyone should try this once https://www.trunao.com

    ReplyDelete
  3. Hide Duplicate / Repeating Values In A Column In Ms Excel. ~ Excel Tips And Tricks >>>>> Download Now

    >>>>> Download Full

    Hide Duplicate / Repeating Values In A Column In Ms Excel. ~ Excel Tips And Tricks >>>>> Download LINK

    >>>>> Download Now

    Hide Duplicate / Repeating Values In A Column In Ms Excel. ~ Excel Tips And Tricks >>>>> Download Full

    >>>>> Download LINK

    ReplyDelete