+ Reply to Thread
Results 1 to 5 of 5

Nested IF with result applied to different row

  1. #1
    Registered User
    Join Date
    07-28-2011
    Location
    Jax, FL
    MS-Off Ver
    Excel 2007
    Posts
    4

    Red face Nested IF with result applied to different row

    How do I solve this puzzle? If the value in A2=A3 and the value in B2 <> B3 I wish to have the value "Conflict" in both C2 and C3

    Thanks!
    Last edited by ConneXionLost; 10-21-2011 at 01:13 AM. Reason: Marked as SOLVED

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Nested IF with result applied to different row

    How about:

    Please Login or Register  to view this content.
    Same formula in both C2 and C3.

    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Registered User
    Join Date
    07-28-2011
    Location
    Jax, FL
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Nested IF with result applied to different row

    Thanks... That worked. I was not detailed enough in my example however... The worksheet could have many rows of data that I need to compare to determine "conflicts" between the data rows. I need a formula that I can expand across all populated rows in the worksheet. The data will have mostly unique values but will duplicate in column A and be unique in column B sporadically throughout the sheet.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Nested IF with result applied to different row

    post an example showing what you mean
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Registered User
    Join Date
    07-28-2011
    Location
    Jax, FL
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Nested IF with result applied to different row

    Thank you for the response... We figured out the formula. =IF(OR((AND(A2=A3,B2<>B3)),(AND(A2=A1,B2<>B1))),"Conflict","").

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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