+ Reply to Thread
Results 1 to 5 of 5

Remove Duplicates after Map Function

  1. #1
    Forum Contributor
    Join Date
    09-15-2022
    Location
    Marseille, France
    MS-Off Ver
    O365 (PC) V 2303
    Posts
    265

    Remove Duplicates after Map Function

    Dear friends:

    I have a MAP within a LET which changes values from old ones to new ones when conditions are met:

    Please Login or Register  to view this content.
    Problem, I may end up with duplicates values in this MAP. Strangely, when I type:

    Please Login or Register  to view this content.
    It does not remove the duplicates. Where did I make a mistake in this code?

    Any ideas here?

    Please see pic + workbook. Thank you.

    remove_duplicates_after_map.jpg
    Attached Files Attached Files

  2. #2
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: Remove Duplicates after Map Function

    Change this in the middle of your function:

    Please Login or Register  to view this content.
    ... or whatever is used for "TRUE" in the French localized version

    WBD
    Office 365 on Windows 11, looking for rep!

  3. #3
    Forum Contributor
    Join Date
    09-15-2022
    Location
    Marseille, France
    MS-Off Ver
    O365 (PC) V 2303
    Posts
    265

    Re: Remove Duplicates after Map Function

    Thanks WBD it works perfectly. I will make sure to add this parameter from now on!

    Congrats for your French school lessons old memories, "VRAI" being "TRUE" for real ;-)

  4. #4
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: Remove Duplicates after Map Function

    UNIQUE() takes unique rows but your data was in columns. The ",VRAI" parameter tells UNIQUE to extract unique columns so you should only add it if necessary.

    WBD

  5. #5
    Forum Contributor
    Join Date
    09-15-2022
    Location
    Marseille, France
    MS-Off Ver
    O365 (PC) V 2303
    Posts
    265

    Re: Remove Duplicates after Map Function

    Got it. Thanks.

+ 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. [SOLVED] Remove Horizontal Duplicates Function?
    By JGeorge in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-13-2021, 10:40 AM
  2. [SOLVED] Exception to remove duplicates function
    By priyadharshane in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-17-2019, 09:43 AM
  3. Remove Duplicates Function
    By Prodetik in forum Excel General
    Replies: 2
    Last Post: 10-04-2016, 05:39 PM
  4. [SOLVED] Remove Duplicates Function for Single Cells
    By the_red_engine in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 09-17-2016, 08:20 PM
  5. Remove Duplicates Function
    By Keshypops in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-17-2015, 06:59 AM
  6. Remove duplicates function not removing duplicates
    By Berilium2 in forum Excel General
    Replies: 3
    Last Post: 04-01-2015, 06:55 AM
  7. [SOLVED] function to remove duplicates from different sheets
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-03-2014, 08:03 AM

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