+ Reply to Thread
Results 1 to 11 of 11

Vlookup formula issue

  1. #1
    Registered User
    Join Date
    06-20-2018
    Location
    Sarasota,Fl
    MS-Off Ver
    13
    Posts
    28

    Vlookup formula issue

    Hi,

    I cannot seem to get the correct syntax for the listed criteria.

    Thanks Dave

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Vlookup formula issue

    A vlookup is usually written as =VLOOKUP(value you are looking up, column with the lookup value:column with value you want returned, number representing the number of columns over that contain the return value, false (meaning exact value) or true (meaning approximate value))
    so
    =VLOOKUP(A2,Sheet2!B1:C100,2,false) means that it will find the value in A2 in sheet2 somewhere down column B and look at column C and return the value across from it.
    Hope that helps.

    EDIT: and you can add $ to lock in ranges like Sheet2!$B$1:$C$100 locks in that range.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Vlookup formula issue

    Can you show us what you have tried?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    06-20-2018
    Location
    Sarasota,Fl
    MS-Off Ver
    13
    Posts
    28

    Re: Vlookup formula issue

    I can't add attachment

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Vlookup formula issue

    You need 1 more most before you can add an attachment (how did you try, anyway?).

    Tell us what you have tried before?

  6. #6
    Registered User
    Join Date
    06-20-2018
    Location
    Sarasota,Fl
    MS-Off Ver
    13
    Posts
    28

    Re: Vlookup formula issue

    Created lookup table, below is the criteria

    Lookup Employee number VLookup, if match Lookup Age, if < 50 go to Admin and get maximium contribution amount else > 50 maximium.

    vlookup employee find
    Traditional - calc methods and determine if it is gross pay or default amount; if gross (rate*annual hours)*traditional amount (percent). If it is default (fixed amount); Traditional Amount * pay periods)
    Roth - calc methods and determine if it is gross pay or default amount; if gross (rate*annual hours)*traditional amount (percent). If it is default (fixed amount); Traditional Amount * pay periods)
    Both amounts added together < Limit or Limit is ending value in C22

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Vlookup formula issue

    OK so try to attach your DUMMY file now?
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.

  8. #8
    Registered User
    Join Date
    06-20-2018
    Location
    Sarasota,Fl
    MS-Off Ver
    13
    Posts
    28

    Re: Vlookup formula issue

    Was not able to find add button.

    I scrolled down to manage attachments - selected file from computer - could not find add attachment to email.

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Vlookup formula issue

    You dont add it to an email, you just upload it to the forum.

    When you click GO ADVANCED (at the bottom of the window where you type your post), a new window will open that looks a bit different from this 1. You will see whatever you typed, in a box near the top.

    Scroll down a bit, on the left you will see a heading Attachments, click the link Manage Attachments
    Another new window will open - again different - click CHOOSE FILE (near the top), find your file click on it and click OPEN, then click UPLOAD/CLOSE THIS WINDOW
    You will go back to the "2nd window", click SUBMIT
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    06-20-2018
    Location
    Sarasota,Fl
    MS-Off Ver
    13
    Posts
    28

    Re: Vlookup formula issue

    I've attached
    Attached Files Attached Files

  11. #11
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,554

    Re: Vlookup formula issue

    If I understand post #6 then the following should do what you want.
    I added a number of cells in row 22, columns E:J, which may be moved and/or hidden for aesthetic purposes.
    E22:I22 are populated using formulas similar to: =IFERROR(VLOOKUP(TEXT($D$22,"000"),TL_LOOKUP,3,FALSE),0)
    J22 is populated using: =IF(C22<50,lESS_50,GREATER_50)
    C22 is populated using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] Formula building issue - tried combining Vlookup and IFS
    By Seabass123 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-25-2018, 03:28 AM
  2. Vlookup Formula Issue
    By Chuck85 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-27-2018, 03:17 PM
  3. Issue with VLOOKUP Formula
    By dhascup1976 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-10-2013, 06:00 PM
  4. [SOLVED] Vlookup formula issue
    By skathari in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-22-2013, 09:01 PM
  5. [SOLVED] VLOOKUP Issue - formula correct in function box but not in spreadsheet
    By jlowes in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-25-2012, 12:55 PM
  6. Issue with the VLOOKUP formula
    By Eli_uk in forum Excel General
    Replies: 8
    Last Post: 04-19-2012, 02:58 PM
  7. Vlookup formula issue
    By jtpolston in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-02-2011, 08:32 PM

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