+ Reply to Thread
Results 1 to 3 of 3

Help with IF Statement and VLOOKUP

  1. #1
    Registered User
    Join Date
    01-27-2014
    Location
    UK
    MS-Off Ver
    365 v. 2403
    Posts
    9

    Help with IF Statement and VLOOKUP

    This is driving me mad, I used to know the formula, but it has now completely escaped me. Basically I want to be able to input an entry in Column D and have column E automatically pull the corresponding entry from column A. For example, if I enter "Celtic" into F3, then I want E3 to pull through with "Green". And if I put "Leeds" into F4, then I would like E4 to pull through "white". Eventually I would like Columns D and E to be on a separate worksheet and for the info to be pulled of a hidden page.


    1 A B D E
    2 Team Shirt Colour Team Shirt Colour
    3 Liverpool Red
    4 Chelsea Blue
    5 Leeds White
    6 Norwich Yellow
    7 Celtic Green

    Any help would be gratefully received, I am sure someone out there has this at their fingertips!

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Help with IF Statement and VLOOKUP

    Like this:

    =VLOOKUP(F3,A$3:B$7,2,0)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    01-27-2014
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Help with IF Statement and VLOOKUP

    You could always run an IF formula vs a VLOOKUP

    =IF(ISNUMBER(SEARCH("WhatyouLookingfor",B2)),"Returnvalue","")

    This will find something contained in a cel and return whatever you ask it for.

+ 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. VLOOKUP vs IF statement?
    By jakeisbill in forum Excel General
    Replies: 3
    Last Post: 07-03-2012, 09:45 PM
  2. Replies: 4
    Last Post: 06-01-2012, 10:05 AM
  3. Using a VLOOKUP and IF statement inside an IF statement
    By Isis3 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-08-2011, 07:04 PM
  4. VLOOKUP + IF Statement
    By 4am in forum Excel General
    Replies: 2
    Last Post: 09-28-2010, 11:45 AM
  5. Excel 2007 : IF Statement/VLOOKUP
    By trecbone in forum Excel General
    Replies: 2
    Last Post: 02-19-2010, 03:47 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