+ Reply to Thread
Results 1 to 3 of 3

Using a VLOOKUP with an IF this OR that

Hybrid View

  1. #1
    Registered User
    Join Date
    12-20-2018
    Location
    Melbourne
    MS-Off Ver
    Microsoft Office 2013
    Posts
    2

    Using a VLOOKUP with an IF this OR that

    Hi all,

    I'm currently trying to get a formula working on Excel and I after lots of Googling and even doing a search on this forum I still can't seem to find the answer - I'm probably not searching using the correct terminology :S

    This is the closest I've gotten to get it to work.

    =IF(VLOOKUP(B2,Sheet1!A:DE,109,TRUE)="Apples","Yes","No")

    The formula above would be perfect, however I want the cell to equal 'Yes' if column 109 on Sheet 1 equals 'Apples' OR 'Pears' and return 'No' if anything else.

    Any help would be much appreciated! Please let me know if any more info is needed.

    Thanks!
    T

  2. #2
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Using a VLOOKUP with an IF this OR that

    Hi and welcome

    I'm not on laptop to check but try this

    =IF(or(VLOOKUP(B2,Sheet1!A:DE,109,TRUE)="Apples",vlookup(B2,Sheet1!A:De,109,TRUE)= "Pears"),"Yes","No")
    Happy with my advice? Click on the * reputation button below

  3. #3
    Registered User
    Join Date
    12-20-2018
    Location
    Melbourne
    MS-Off Ver
    Microsoft Office 2013
    Posts
    2

    Re: Using a VLOOKUP with an IF this OR that

    Worked perfectly, thank you so much!

+ 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: 5
    Last Post: 12-07-2016, 09:18 AM
  2. Replies: 3
    Last Post: 12-04-2014, 01:27 PM
  3. Replies: 0
    Last Post: 12-26-2013, 01:12 PM
  4. Display Cell within VLookup range that excel thinks matches the VLookup Value
    By headachexcelperson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-04-2013, 04:56 PM
  5. [SOLVED] Vlookup is not working and giving =vlookup(B2,$T$2:$U$135,2,false) this kind of values.
    By yogeshsharma1981 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-09-2013, 04:08 PM
  6. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 AM
  7. Replies: 5
    Last Post: 07-29-2009, 07:53 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