+ Reply to Thread
Results 1 to 4 of 4

Excel Formula To mark Minimum for duplicate values

  1. #1
    Forum Contributor
    Join Date
    09-13-2013
    Location
    Saudi Arabia
    MS-Off Ver
    2010, 2013
    Posts
    192

    Excel Formula To mark Minimum for duplicate values

    Hello Again,

    i am looking for a help in find the least value among duplicate values in multiple columns. Below is my conditions to marked least value.

    Condition 1 - If staff no is duplicated in same Account no.s with multiple Id No's then Flag the lowest ID No.
    Example1 ? Staff no. 7176967 need to put remark on ID No 0 for deletion.


    Condition 2 - *If staff no. is duplicated in different account no.s with different ?staff effective date?*then flag the lower ?staff effective date? to delete.
    Example ? member no. 387144 need to put remark on ?staff effective date? 25-01-2023. (Staff shifted from one department to another by cancelation and adding again with the new date).

    copy of sample file with expecting output is attached for your reference.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2019
    Posts
    4,542

    Re: Excel Formula To mark Minimum for duplicate values

    Seems to me you only need 1 condition: staff with the highest ID No. to keep, the rest to delete.

    =IF(AGGREGATE(14,6,$N$2:$N$12/($B$2:$B$12=B2),1)<>N2,"Delete","" )

  3. #3
    Forum Contributor
    Join Date
    09-13-2013
    Location
    Saudi Arabia
    MS-Off Ver
    2010, 2013
    Posts
    192

    Re: Excel Formula To mark Minimum for duplicate values

    It works thanks for your valuable help.
    topic marked as solved.

  4. #4
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2019
    Posts
    4,542

    Re: Excel Formula To mark Minimum for duplicate values

    Welcome, glad to help and thanks for the Rep!

+ 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] How to get Maximum to Minimum Values using formula
    By rajeshn_in in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-23-2017, 12:16 PM
  2. Replies: 1
    Last Post: 06-21-2016, 12:26 AM
  3. how to compare 2 sheets and mark the duplicate values?
    By zois in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-11-2015, 04:52 PM
  4. [SOLVED] formula that will apply points to minimum numbers in a column and allow duplicate results
    By hadleedog in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-14-2014, 06:24 PM
  5. Replies: 1
    Last Post: 07-12-2014, 07:14 PM
  6. Large Table with Duplicate Values - Minimum Value Needed
    By kma27 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-28-2012, 10:10 PM
  7. [SOLVED] Need formula to draw out minimum values
    By Melvinrobb in forum Excel General
    Replies: 2
    Last Post: 06-29-2012, 09:39 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