+ Reply to Thread
Results 1 to 6 of 6

I have several HLookUp formulas and need them not to repeat the result from above

  1. #1
    Registered User
    Join Date
    11-06-2018
    Location
    Ontario, Canada
    MS-Off Ver
    2016
    Posts
    2

    Question I have several HLookUp formulas and need them not to repeat the result from above

    I am creating an overtime sheet for employees A - K. Each employee will add their overtime below and their total worked is added at the top for a running total. Management needs a call in list that provides the employee names, with least amount of hours worked to most, with no repeats.

    In my case, there are multiple employees with no over time worked. The one with the most seniority (furthest to the left) is called first, but I need it to provide the next four employees afterwards with no overtime worked in the list as well.

    I have attached a sample of what I am working on.
    Attached Files Attached Files
    Last edited by zoedc3; 11-07-2018 at 11:05 AM.

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: I have several HLookUp formulas and need them not to repeat the result from above

    Hope this helps
    Attached Files Attached Files

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: I have several HLookUp formulas and need them not to repeat the result from above

    You can put this array* formula in N2:

    =INDEX($B$3:$L$3,SMALL(IF($B$2:$L$2=M2,COLUMN($B:$L)-1),COUNTIF(M$2:M2,M2)))

    then copy down.

    *Note that an array formula needs to be committed using the key combination of Ctrl-Shift-Enter (CSE) instead of the usual < Enter >.

    Hope this helps.

    Pete

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: I have several HLookUp formulas and need them not to repeat the result from above

    Azumi - not for the first time, I am drawing your attention to this:

    Although there is no official rule regarding this behaviour, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    Please do not continue to ignore this request, Thank you.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: I have several HLookUp formulas and need them not to repeat the result from above

    Hi

    With a normal formula and no helper column

    Try this in N2 e drag down.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    See the attached file
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    11-06-2018
    Location
    Ontario, Canada
    MS-Off Ver
    2016
    Posts
    2

    Re: I have several HLookUp formulas and need them not to repeat the result from above

    Thank you PETE_UK your formula worked.

    I was having issues with the If statement part of this!

+ 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. Repeat (iterate) calculation until a result is reached?
    By Irdanwen49 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-03-2017, 10:08 PM
  2. count the value result till where at the end of repeat value
    By MicroTees in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-17-2015, 12:42 PM
  3. Macro for filtering, calculating, logging result, and repeat...
    By cabrego in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-20-2014, 03:05 PM
  4. [SOLVED] Offset Column Value from HLookup Result - 2 sheets involved
    By gordco in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-25-2013, 11:56 AM
  5. [SOLVED] Need help to correct an ADDRESS & MATCH formula for Hyperlinking hlookup result
    By naira in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-05-2013, 02:34 PM
  6. [SOLVED] Select Cell Based Upon HLOOKUP Result
    By OzTrekker in forum Excel General
    Replies: 1
    Last Post: 04-26-2012, 11:34 PM
  7. Repeat Macro until desired result
    By CJ-22 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-10-2010, 12:29 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