+ Reply to Thread
Results 1 to 3 of 3

Delete duplicate values from entire sheet

  1. #1
    Registered User
    Join Date
    06-20-2012
    Location
    Mumbai
    MS-Off Ver
    Excel 2010
    Posts
    1

    Smile Delete duplicate values from entire sheet

    Dear all,
    can we delete duplicate values from the entire sheet , irrespective of row and column and find the unique values.
    iam able to remove duplicates in columns and rows separately, but not for entire sheet.
    please suggest a way to do this.

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Delete duplicate values from entire sheet

    Try this tiny macro:

    Please Login or Register  to view this content.
    Macros are very easy to install and use:

    1. ALT-F11 brings up the VBE window
    2. ALT-I
    ALT-M opens a fresh module
    3. paste the stuff in and close the VBE window

    If you save the workbook, the macro will be saved with it.

    To remove the macro:

    1. bring up the VBE window as above
    2. clear the code out
    3. close the VBE window

    To use the macro from Excel:

    1. ALT-F8
    2. Select the macro
    3. Touch RUN

    To learn more about macros in general, see:

    http://www.mvps.org/dmcritchie/excel/getstarted.htm

    Macros must be enabled for this to work!
    Gary's Student

  3. #3
    Forum Contributor
    Join Date
    09-24-2012
    Location
    York, England
    MS-Off Ver
    Excel 2003/07/10
    Posts
    165

    Re: Delete duplicate values from entire sheet

    Also - You will need to save your spreadsheet with the .xlsm extension, otherwise Excel will
    strip out any macro code that you've added when its saved!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1