+ Reply to Thread
Results 1 to 4 of 4

VLOOKUP Function help?

  1. #1
    Registered User
    Join Date
    11-01-2007
    Posts
    46

    VLOOKUP Function help?

    Hi!

    I have a spreadsheet with multiple sheets in it, and I'm having trouble with this formula, if someone can help me figure out the error? Thanks!

    =IF(D41<=9),(VLOOKUP(F41,Gens,4,FALSE)),IF(((D41<=29,D41>=10)),(VLOOKUP(F41,Gens,5,FALSE)),(IF(D41=30,(VLOOKUP(F41,Gens,6,FALSE))))

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: VLOOKUP Function help?

    Try

    =VLOOKUP(F41,Gens,MATCH(D41,{0,10,30})+3,FALSE)

  3. #3
    Registered User
    Join Date
    11-01-2007
    Posts
    46

    Re: VLOOKUP Function help?

    That worked, but how do I get it to keep the cell blank if D41 or F41 is empty?

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: VLOOKUP Function help?

    Try

    =IF(OR(D41="",F41=""),"",VLOOKUP(F41,Gens,MATCH(D41,{0,10,30})+3,FALSE))

+ 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. Replies: 2
    Last Post: 01-15-2014, 11:40 PM
  2. Need help nesting an index/match function within a Vlookup function.
    By Christopher135 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-04-2013, 06:16 PM
  3. Worksheet function Vlookup and VLOOKUP return different results
    By zandero in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2010, 08:24 AM
  4. Replies: 1
    Last Post: 12-02-2005, 09:35 AM
  5. vlookup function-Can vlookup command find the data from the 5 sheets.
    By Rishab shah in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 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