+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : Trying to write an IF,AND, OR formula

  1. #1
    Registered User
    Join Date
    08-16-2010
    Location
    Atlanta Ga.
    MS-Off Ver
    210
    Posts
    61

    Trying to write an IF,AND, OR formula

    Thanks to all that help or try to help.
    I am trying to write a formula to check two cells in adjacent rows and give a result depending on what is in another cell. Please see attachment for an example. Basically what I need in column J is
    IF B3=B4 and I3 or I4 is >0, if its true 1, false 0
    I would like the result to show in both rows in column J. The desired results are in red on the sample sheet


    Many thanks to those who help.
    Attached Files Attached Files
    Last edited by grsnipe; 11-17-2010 at 09:58 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Trying to write an IF,AND, OR formula

    Try:

    =--AND(B3=B4,OR(I3>0,I4>0))

    but note that in J6 the result is 0, not 1, because B3 doesn't equal B4.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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