+ Reply to Thread
Results 1 to 5 of 5

Multiple IF VLookup Statment

  1. #1
    Registered User
    Join Date
    12-20-2011
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    40

    Multiple IF VLookup Statment

    Can anyone help me figure out why this isn't working? I'm trying to Vlookup values based on multiple criteria

    =IF((L2="RADAR",VLOOKUP(D2,'RADAR GL FD_FR'!$B$1:$M$25191,1,FALSE)),
    IF(L2="ATLAS",VLOOKUP(D2,'Webview GL April'!$D$1:$Q$10742,1,FALSE)),
    IF(L2="DOGS",VLOOKUP(D2,'Webview GL April'!$D$1:$Q$10742,1,FALSE)),
    IF(L2="GCS",VLOOKUP(D2,'Webview GL April'!$D$1:$Q$10742,1,FALSE)),
    IF(L2="GSR_Exceptions",VLOOKUP(D2,'Webview GL April'!$D$1:$Q$10742,1,FALSE)),
    IF(L2="IOWA",VLOOKUP(D2,'Webview GL April'!$C$1:$Q$10742,1,FALSE),0))

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Multiple IF VLookup Statment

    What result are you getting (other than the value of D2)?
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Multiple IF VLookup Statment

    Hi,

    You've got superfluous parentheses in each IF statement and insufficient closing parentheses. Try:

    =IF(L2="RADAR",VLOOKUP(D2,'RADAR GL FD_FR'!$B$1:$M$25191,1,FALSE),IF(L2="ATLAS",VLOOKUP(D2,'Webview GL April'!$D$1:$Q$10742,1,FALSE),IF(L2="DOGS",VLOOKUP(D2,'Webview GL April'!$D$1:$Q$10742,1,FALSE),IF(L2="GCS",VLOOKUP(D2,'Webview GL April'!$D$1:$Q$10742,1,FALSE),IF(L2="GSR_Exceptions",VLOOKUP(D2,'Webview GL April'!$D$1:$Q$10742,1,FALSE),IF(L2="IOWA",VLOOKUP(D2,'Webview GL April'!$C$1:$Q$10742,1,FALSE),0))))))

    Regards

  4. #4
    Registered User
    Join Date
    12-20-2011
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    40

    Re: Multiple IF VLookup Statment

    ok great! thanks so much!

  5. #5
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Multiple IF VLookup Statment

    Just a thought....On the Formula ribbon there is an "Evaluate Formula" that literally walks through the formula step by step. It's great for finding logic errors.....HTH
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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