+ Reply to Thread
Results 1 to 11 of 11

duplicate ids but the formula should find the greatest

  1. #1
    Registered User
    Join Date
    11-21-2017
    Location
    SYDNEY
    MS-Off Ver
    2016
    Posts
    35

    duplicate ids but the formula should find the greatest

    Hello,
    i need a formula that can count the number of duplicates and look of the highest value against the duplicate and lookup another data.

    Please see attached for details. thanks heaps.
    Attached Files Attached Files
    Last edited by spr2017; 01-15-2018 at 12:04 AM.

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: duplicate ids but the formula should find the greatest

    I used a pivot table in the attached.
    Attached Files Attached Files

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,646

    Re: duplicate ids but the formula should find the greatest

    Type it in E2 then drag down:

    Please Login or Register  to view this content.
    Quang PT

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,175

    Re: duplicate ids but the formula should find the greatest

    Try this in E2:

    =IF(B2=MAX(INDEX(($A$2:$A$15=A2)*$B$2:$B$15,0)),COUNTIF(Table1[Work Approval],Working!A2),"")

  5. #5
    Registered User
    Join Date
    11-21-2017
    Location
    SYDNEY
    MS-Off Ver
    2016
    Posts
    35

    Re: duplicate ids but the formula should find the greatest

    Hello Phuocam,
    can i add that the count should work only if its under a certain date? say the date is in col I on the Data tab? i've just changed the file to add a col.
    Last edited by spr2017; 01-14-2018 at 09:23 PM.

  6. #6
    Registered User
    Join Date
    11-21-2017
    Location
    SYDNEY
    MS-Off Ver
    2016
    Posts
    35

    Re: duplicate ids but the formula should find the greatest

    Hello,
    can i add that the count should work only if its under a certain date? say the date is in col I on the Data tab? i've just changed the file to add a col.

  7. #7
    Registered User
    Join Date
    11-21-2017
    Location
    SYDNEY
    MS-Off Ver
    2016
    Posts
    35

    Re: duplicate ids but the formula should find the greatest

    Hello,
    can i add that the count should work only if its under a certain date? say the date is in col I on the Data tab? i've just changed the file to add a col.

  8. #8
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,646

    Re: duplicate ids but the formula should find the greatest

    Can you upload the updated file again? I could not find it

  9. #9
    Registered User
    Join Date
    11-21-2017
    Location
    SYDNEY
    MS-Off Ver
    2016
    Posts
    35

    Re: duplicate ids but the formula should find the greatest

    oops sorry its now visible. thanks

  10. #10
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,646

    Re: duplicate ids but the formula should find the greatest

    I am not sure whether it need to be counted or added?

    If count the ID (=1)

    In E5
    Please Login or Register  to view this content.
    If sum (=12)
    Please Login or Register  to view this content.

  11. #11
    Registered User
    Join Date
    11-21-2017
    Location
    SYDNEY
    MS-Off Ver
    2016
    Posts
    35

    Re: duplicate ids but the formula should find the greatest

    perfect thanks. I did try countifs but i must have missed <= in quotes.

+ 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] Search list find two greatest values
    By quickheart in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-23-2013, 07:16 AM
  2. [SOLVED] find whichever product is greatest
    By TxStarr29 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-28-2012, 02:04 AM
  3. Replies: 6
    Last Post: 05-12-2012, 11:40 AM
  4. Find greatest multiple of 50 which is less than X
    By psuce in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-14-2011, 03:41 PM
  5. Find Greatest Date in a Column
    By Madball in forum Excel General
    Replies: 3
    Last Post: 12-22-2008, 09:18 AM
  6. HOW TO FIND THE GREATEST COMMON FACTOR
    By Hussein Alhasanat in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-26-2006, 09:10 PM
  7. in excel conditional formatting find the greatest value in 4rows
    By prac g in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-29-2005, 03:10 AM
  8. find the greatest value among repeated rows in a sheet
    By shijy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-30-2005, 02:22 AM

Tags for this Thread

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