+ Reply to Thread
Results 1 to 3 of 3

Remove duplicates across a row(leaving only blanks)

  1. #1
    Registered User
    Join Date
    06-08-2023
    Location
    england
    MS-Off Ver
    2016
    Posts
    5

    Remove duplicates across a row(leaving only blanks)

    Hi guys,

    I have a file where each row may have adjacent and non-adjacent duplicates within the row.Some of these rows also have blank values.

    I would like to remove any duplicates within the row, only keeping the first encounter from left to right, and shifting everything left. Blank cells should be kept where they are(unless they are shifted left due to the previous command).

    I attached a sample of the simplified version of the problem table and below it, is the output table I'd like

    I have office 2016.

    Thank you!!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,294

    Re: Remove duplicates across a row(leaving only blanks)

    Power Query
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,005

    Re: Remove duplicates across a row(leaving only blanks)

    A8
    Please Login or Register  to view this content.
    Committed with Ctrl+Shift+Enter. copied down and across.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Remove Duplicates While Leaving Blanks
    By gitpicker in forum Excel General
    Replies: 2
    Last Post: 08-30-2016, 12:31 PM
  2. Remove Duplicates in column and remove blanks
    By geliedee in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-13-2015, 07:25 AM
  3. Remove 'duplicates' to leaving lowest value
    By alseeon in forum Excel General
    Replies: 9
    Last Post: 06-29-2015, 06:22 AM
  4. [SOLVED] Remove Blanks & Duplicates using only formulas
    By johnhe in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-30-2015, 12:18 PM
  5. Remove duplicates - leaving most recent dated line
    By Nikki Fox in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-04-2015, 06:36 AM
  6. [SOLVED] VBA Remove Duplicates From Column & Ignore Blanks
    By hobbiton73 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-26-2014, 04:56 AM
  7. [SOLVED] Remove duplicates and blanks from Combo Box Excel Userform?
    By jmotuk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-13-2013, 12:22 PM

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