+ Reply to Thread
Results 1 to 4 of 4

VLOOKUP with RANK and IF

  1. #1
    Registered User
    Join Date
    01-15-2014
    Location
    Tallinn, Estonia
    MS-Off Ver
    Excel for Mac version 16
    Posts
    22

    VLOOKUP with RANK and IF

    Hi

    I'm not sure what code should i need to use.
    In sample file tab "Teams" are teams ranked. Now on tab "1" (and later on next tabs same thing) i need Team name taken from "Team" tab accourding team rank position. So that tab 1 will take rank1 team, tab 2 will take rank2 team and so on. Also need to take team persons name and HCP according that.

    Can anyone tell me what kind of code i should use... i believe it is possible to to with VLOOKUP and IF ?
    Attached Files Attached Files
    Last edited by mull21; 10-05-2020 at 05:09 AM.

  2. #2
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,250

    Re: VLOOKUP with RANK and IF

    I guess we can do that with the OFFSET function.
    Try this in C1:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The first MATCH argument VALUE(MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)) returns the current sheet name, i.e., 1. So when you make a copy of this sheet and rename it 2, for example, it will return 2, and so on.

    For the names, try this in C3 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    For the HCP, this in D19:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Good luck!

  3. #3
    Registered User
    Join Date
    01-15-2014
    Location
    Tallinn, Estonia
    MS-Off Ver
    Excel for Mac version 16
    Posts
    22

    Re: VLOOKUP with RANK and IF

    super... that worked like i needed it. Thank you, thank you!

  4. #4
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,250

    Re: VLOOKUP with RANK and IF

    You're welcome. Glad to help.
    Thank you for the rep points and for marking the thread SOLVED.

+ 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] Vlookup with rank
    By Complus865 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-09-2020, 08:38 AM
  2. [SOLVED] VLOOKUP for unique rank
    By Sorachi in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-11-2019, 05:28 AM
  3. Rank/Vlookup? Question
    By excelquestion7899 in forum Excel General
    Replies: 7
    Last Post: 07-25-2014, 01:26 PM
  4. [SOLVED] Rank and Vlookup N/A issue
    By swarv in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-04-2014, 05:29 AM
  5. [SOLVED] vlookup and rank not always the answer
    By justme152 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-02-2013, 10:22 AM
  6. [SOLVED] Rank in vlookup formula
    By Eddy S in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-25-2013, 09:34 PM
  7. Competition RANK or VLOOKUP
    By Pavczech in forum Excel General
    Replies: 2
    Last Post: 07-13-2010, 09:43 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