+ Reply to Thread
Results 1 to 3 of 3

Using IF with vlookup and Multiple AND & OR Logics

  1. #1
    Registered User
    Join Date
    07-24-2018
    Location
    Dubai
    MS-Off Ver
    2013
    Posts
    1

    Using IF with vlookup and Multiple AND & OR Logics

    Actually i want a formula that can enable my get the result as follows:

    if

    using AND meeting multiple criteria and using Vlookup i.e.

    vlookup result 1 = A, vlookup result 2 = B, vlookup result 3 = C

    with this using OR function with vlookup i.e

    vlookup result 4 = D

    and if all the above conditions meet the result should be "Deal Cancelled"

    if not then "Deal Active"

    I have tried to use this formula but unable to get a result.


    need help and suggestions. :-)

    Thanks

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Using IF with vlookup and Multiple AND & OR Logics

    Attach a sample workbook showing what you are trying to achieve. Also any attempt you've tried may actually help.

    Go Advanced -> Manage Attachments -> Upload

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

    Re: Using IF with vlookup and Multiple AND & OR Logics

    Welcome to the forum!

    What you have tried should work:

    =IF(AND(VLOOKUP(vlookup_1)="A",VLOOKUP(vlookup_2)="B",VLOOKUP(vlookup_3)="C"),"Deal Cancelled","Deal Active")

    I have used AND (not OR) as you state that all criteria must be met. OR would require just one (or more) of them to be met.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    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] Help macro/logics to separate table.
    By muharom.habib in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-03-2017, 06:55 PM
  2. IF Formula - Multiple logics
    By failinglights in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-24-2016, 07:52 PM
  3. [SOLVED] Multiple logics in one formula
    By bremen22 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-23-2013, 06:17 PM
  4. Need help for multiple logicals/ nested logics if function
    By tussitje in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-06-2012, 06:24 AM
  5. Pls help with some AND IF logics.
    By taranjit in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 09-17-2012, 03:00 AM
  6. [SOLVED] Formula Help with three logics
    By ssanjju in forum Excel General
    Replies: 3
    Last Post: 08-09-2012, 10:15 PM
  7. filters logics
    By abarwinski in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-16-2005, 06: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