+ Reply to Thread
Results 1 to 3 of 3

IF formula with 2 criteria and Lookup result

  1. #1
    Registered User
    Join Date
    03-03-2020
    Location
    England
    MS-Off Ver
    Office 365
    Posts
    1

    IF formula with 2 criteria and Lookup result

    Hi,

    I am trying to write a formula to say:

    IF = [Status Col] = "Requires Action" OR "On Hold" THEN LOOKUP Value of [Match Status Col] and return the Match Status


    Please can some help? I'm new to excel formula and not even sure if this is possible (although seems simple in my head)

    A

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: IF formula with 2 criteria and Lookup result

    Best to post a file really, though this might suffice.
    I'm assuming the following, adjust the formula to suit your layout:

    2 spreadsheets

    Sheet 1
    Column A = Status Col

    Sheet 2
    Column A = Status Column to be looked up
    Column B = Status

    in Sheet1!B1
    =IF(OR(A1="Requires Action",A1="On Hold"),VLOOKUP(Sheet2!A1:B1000,2,0),"")

    Returns Sheet2 Column B status based on the Sheet1 Status being "Requires Action" or "On Hold" otherwise returns null
    Last edited by Special-K; 03-03-2020 at 09:32 AM.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,495

    Re: IF formula with 2 criteria and Lookup result

    Welcome to the forum.

    =IF(OR([Status Col]="Requires Action",[Status Col]="On Hold"),VLOOKUP(lookup_value,lookup_array,column,type_of_match),"")
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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] Excel lookup result based on 2 criteria
    By ALIMOIR in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-03-2017, 12:08 PM
  2. [SOLVED] Conditional multi result lookup with multiple criteria
    By Greveller in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-23-2016, 03:01 PM
  3. Replies: 6
    Last Post: 10-31-2014, 02:27 PM
  4. [SOLVED] Lookup multiple criteria in table and give row + culmn as result
    By bidsinga in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-02-2014, 03:40 PM
  5. Lookup two criteria and return a third criteria as result. Aaaargh!
    By dearthofjoy in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-08-2013, 12:13 PM
  6. [SOLVED] Lookup formula required to search for two criteria and return result
    By dave1983 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-12-2012, 03:29 PM
  7. Lookup multiple criteria in different tabs to return result
    By Nadir Soofi in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-06-2008, 06:28 PM

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