+ Reply to Thread
Results 1 to 2 of 2

Office 365 Excel Find Top/Bottom x from list with duplicates and vlookup user details.

  1. #1
    Registered User
    Join Date
    01-17-2023
    Location
    Florida
    MS-Off Ver
    365
    Posts
    1

    Office 365 Excel Find Top/Bottom x from list with duplicates and vlookup user details.

    Hello all. I've tried multiple suggested guides to resolve this issue, but nothing seems to work.

    =INDEX(QSUMS[logon],MATCH(LARGE(QSUMS[ANNUAL]),C6),QSUMS[ANNUAL] ,0))

    I'm trying to summarize Corporate Credit Card usage for a large international company for management. I've created a tab for top/bottom users, that can be adjusted by changing field C6 (1-15) and the formula above checks the top/bottom number (C6) against another table (QSUMS) which has the user's employee number ("logon") and expenditures for each month, quarter, and annually already filled out in columns.

    Large(qsums[annual],c6) is actually an indirect that allows management to change the search criteria (they can chose a month, a quarter, or 'annual' to show the top- and bottom- spenders from a specific time frame).

    This works fine, until it hits several users with identical total costs (both in top/LARGE and bottom/SMALL) at which point it keeps pulling back the same logon number. Other columns in the top/bottom page pullback (via a vlookup to a fully employee list) the user's position in the company, their name, and department. But because duplicate cost values end up pulling back the first Logon value each time, the spreadsheet fails to differentiate duplicate expenses; attributing them all to the first user with that value. I've tried using multiple guides and how-to videos and documents to avoid duplicates, but none of the suggested fixes work, usually resulting in a broken formula.

    I have Frankenstein'd together many suggested excel formulas and VB Scripts in the past to make a functioning spreadsheet, but this has resisted several weeks of attempted fixed. Any suggestions to resolve it would be appreciated. Thanks in advance.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Office 365 Excel Find Top/Bottom x from list with duplicates and vlookup user details.

    Too many words!!

    Hi there.

    A picture is worth 1,000 words. An Excel sheet is worth 1,000 non-editable pictures.

    Please read the yellow banner about sample worksheets, at the top of the screen. Act on its guidelines and post a SMALL sample sheet complete with an explanation and some expected results.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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] Rate list according the details entered by user
    By shivya in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 11-13-2017, 01:57 PM
  2. Rate list according the details entered by user
    By shivya in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-12-2017, 05:08 AM
  3. [SOLVED] how can i search and copy details of a particular User details in Sheet1
    By baig123 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-10-2014, 02:58 AM
  4. Replies: 6
    Last Post: 11-27-2012, 12:03 PM
  5. [SOLVED] Macro to sort a list with duplicates and add bottom border for last duplicate
    By kuntilfusk7 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-10-2012, 09:44 AM
  6. Moving duplicates to first empty row (i.e. bottom of list).
    By Folshot in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-17-2011, 09:13 AM
  7. [SOLVED] How do you find the list option in excel on office xp
    By angel in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-22-2006, 04:35 PM

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