+ Reply to Thread
Results 1 to 4 of 4

Another nesting question - OR and AND

  1. #1
    Forum Contributor
    Join Date
    08-23-2010
    Location
    uk
    MS-Off Ver
    365 on Mac
    Posts
    146

    Another nesting question - OR and AND

    Hi

    I'd like to write a formula that goes something like this...

    If A1=B2 put 'Y', otherwise put N. But if C3=D4, (even if A1=B2) also put N.

    It's a sequence of events such that a particular match stops the matching process further along in the sheet.

    I hope that makes sense.

    Thanks to anyone who can explain how I might do this.

  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,410

    Re: Another nesting question - OR and AND

    Try this:

    =IF(C3=D4,"N",IF(A1=B2,"Y","N"))
    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 Contributor
    Join Date
    08-23-2010
    Location
    uk
    MS-Off Ver
    365 on Mac
    Posts
    146

    Re: Another nesting question - OR and AND

    That's the one.
    Elegant simplicity ...vs my AND(OR(IF...nest nest and more nest.
    Thanks so much!

  4. #4
    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,410

    Re: Another nesting question - OR and AND

    You’re welcome!

+ 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: 4
    Last Post: 02-26-2015, 06:10 AM
  2. Nesting 'And' 'or' within an If
    By SSharrock in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-15-2014, 11:50 AM
  3. Question about nesting IF formula
    By DWG3 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-16-2013, 05:28 PM
  4. (SOLVED) max-if-and nesting formula question (for dates)
    By Greg Kinney in forum Excel General
    Replies: 3
    Last Post: 11-22-2011, 10:27 AM
  5. Pivot Table Grouping / Nesting Question
    By jackb1117 in forum Excel General
    Replies: 1
    Last Post: 06-17-2010, 02:35 AM
  6. IF - Nesting... almost got it - need a bit of help
    By AngelaG in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  7. [SOLVED] nesting limitation question...
    By Jim in forum Excel General
    Replies: 5
    Last Post: 08-27-2005, 09:05 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