+ Reply to Thread
Results 1 to 5 of 5

Table Lookup Function Help

  1. #1
    Registered User
    Join Date
    02-25-2020
    Location
    Vale
    MS-Off Ver
    Office 365
    Posts
    3

    Table Lookup Function Help

    Hello! I'm trying to write a function (and i'm very new to lookups, which i'm assuming is what I want) to automatically return a result on table I have in the spreadsheet based on the length of time someone was hired and their role. I'm afraid I have confused myself with so much Index, Match, various lookups and i'm not really sure which one (or combination thereof) i'm supposed to use.

    For example, my first line for Chris is a Green Team guy with our company for 31 months, which means he falls into the 25 months category for their Quota, so what I want the function to return is the result of 950.
    The second line, Jamie is Red Team with us for 5 months, so she falls into the 4 months category for their Quota, and the result should be 250.

    I appreciate your time and assistance!
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,602

    Re: Table Lookup Function Help

    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    02-25-2020
    Location
    Vale
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Table Lookup Function Help

    This is perfect!

    If I may, can I ask the purpose of the *1 after D2 reference? I see it is necessary but so I understand and if I need to duplicate in the future, what does it do?

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,602

    Re: Table Lookup Function Help

    The data in column D are text/character strings, not numbers; the table data is numeric.
    It's jut one of the ways to covert the text values in column D to numerics.
    Last edited by protonLeah; 02-25-2020 at 10:01 PM.

  5. #5
    Registered User
    Join Date
    02-25-2020
    Location
    Vale
    MS-Off Ver
    Office 365
    Posts
    3
    Quote Originally Posted by protonLeah View Post
    The data in column D are text/character strings, not numbers; the table data is numeric.
    It's jut one of the ways to covert the text values in column D to numerics.
    Got it, thank you!

+ 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] A lookup function based on two criteria; one unique & one not unique to the lookup table
    By Trevasaurus in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-18-2014, 11:35 AM
  2. [SOLVED] Using the IF function with a text lookup table
    By Turtleman007 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-03-2012, 09:00 PM
  3. Using lookup or other function to sum a table
    By lovesexcel in forum Excel General
    Replies: 1
    Last Post: 07-22-2010, 12:03 PM
  4. Table lookup function
    By pretty06 in forum Excel General
    Replies: 15
    Last Post: 04-16-2009, 10:12 PM
  5. lookup function with pivot table
    By nataliem in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-23-2007, 02:54 AM
  6. Table lookup function
    By dijksma in forum Excel General
    Replies: 1
    Last Post: 04-20-2007, 07:40 AM
  7. [SOLVED] Pivot table doing a lookup without using the lookup function?
    By NGASGELI in forum Excel General
    Replies: 0
    Last Post: 08-02-2005, 01:05 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