+ Reply to Thread
Results 1 to 7 of 7

help with if 3 conditions are met, yes, if not, no.

  1. #1
    Registered User
    Join Date
    01-20-2009
    Location
    Mla, PH
    MS-Off Ver
    Excel 2003
    Posts
    12

    help with if 3 conditions are met, yes, if not, no.

    hi excel gurus, need help in creating a formula for the blue cells(as seen in the img)

    example in cell F2

    look for row A=BMW, row B=blue

    if row C is new, "Y", else "N")

    the formula now needs to refer to A2 where all conditions are met.

    TIA!

    EXCEL.png

  2. #2
    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,752

    Re: help with if 3 conditions are met, yes, if not, no.

    Try this:

    =IF(LOOKUP(2,1/(($A$2:$A$22=$E2)*($B$2:$B$22=F$1)),$C$2:$C$22)="New","Y","N")

    By the way, it's important to know that rows are horizontal: the vertical are columns.
    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.

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,601

    Re: help with if 3 conditions are met, yes, if not, no.

    Try

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,211

    Re: help with if 3 conditions are met, yes, if not, no.

    Whilst both formula work answering your request, is it impossible to have both new and used of the same colour car?

  5. #5
    Registered User
    Join Date
    01-20-2009
    Location
    Mla, PH
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: help with if 3 conditions are met, yes, if not, no.

    Thank you AliGW and zbor! you guys rule!

  6. #6
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: help with if 3 conditions are met, yes, if not, no.

    Another way..

    =LOOKUP(INDEX($C$2:$C$1000,MATCH(1,INDEX(($A$2:$A$1000=$E2)*($B$2:$B$1000=F$1),0),0)),{"New","Used"},{"Y","N"})
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  7. #7
    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,752

    Re: help with if 3 conditions are met, yes, if not, no.

    You're welcome!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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 combining macros to delete rows on conditions and add data into cells on conditions
    By JayJayGC in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-03-2017, 10:14 AM
  2. [SOLVED] Advanced Filter Between Two Columns all OR conditions (4 conditions)
    By nobodyukno in forum Excel General
    Replies: 2
    Last Post: 02-16-2017, 01:13 PM
  3. Replies: 2
    Last Post: 01-14-2016, 03:53 PM
  4. Replies: 6
    Last Post: 04-30-2015, 09:10 AM
  5. [SOLVED] Vlookup - Country conditions (Multiple conditions)
    By dluhut in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-26-2013, 11:42 AM
  6. [SOLVED] Text results with two conditions (lookup with two conditions)
    By Davzx in forum Excel General
    Replies: 8
    Last Post: 05-25-2012, 03:08 AM
  7. How to multiple conditions to validate more than 2 conditions to .
    By Bhuvana Govind in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-28-2005, 04:06 PM

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