+ Reply to Thread
Results 1 to 11 of 11

Excel formula help - possibly If(or) statement

  1. #1
    Forum Contributor
    Join Date
    06-13-2012
    Location
    ND
    MS-Off Ver
    Excel 2010
    Posts
    152

    Excel formula help - possibly If(or) statement

    I am needing a formula in Column G (Materials to Review).

    If Column E indicates "False", Column G should read "review."
    If Column F indicates "No Base", Column G should read "review."
    If column E indicates "False" and F indicates "No base", column G should read "review.
    If Column E and F is blank, Column G should be blank.

    The formula below is what I currently have, but is not producing the results.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: Excel formula help - possibly If(or) statement

    =IF(OR(E2="False",F2="No Base"),"Review","")

    Your third statement is covered by the first two so this should do the job. Let me know if I've missed something.
    Say thanks, click *

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Excel formula help - possibly If(or) statement

    Perhaps

    =IF(OR(E2=False,F2="No Base"),"review","")

  4. #4
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Excel formula help - possibly If(or) statement

    =IF(AND(F2="",E2=""),"",IF(AND(F2="No Base",E2=FALSE),"Review",IF(OR(F2="No Base",E2=FALSE),"Review")))

    if this helps click" * "

  5. #5
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Excel formula help - possibly If(or) statement

    Quote Originally Posted by Harribone View Post
    =IF(OR(E2="False",F2="No Base"),"Review","")

    Your third statement is covered by the first two so this should do the job. Let me know if I've missed something.
    I am not an expert but i think in above formula E2="False" will become False as "FASLE" is a Text and condition is logical

  6. #6
    Forum Contributor
    Join Date
    06-13-2012
    Location
    ND
    MS-Off Ver
    Excel 2010
    Posts
    152

    Re: Excel formula help - possibly If(or) statement

    Formula with False not in quotations worked. Thanks

  7. #7
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Excel formula help - possibly If(or) statement

    You're welcome.
    Thanks for the feedback.

  8. #8
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Excel formula help - possibly If(or) statement

    Quote Originally Posted by mcranda View Post
    Formula with False not in quotations worked. Thanks
    but how that one meet your fourth condition as E2=false will be treated as 0=false and answer will be true in that case if both cells are blank it will show review as answer not blank

  9. #9
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Excel formula help - possibly If(or) statement

    Good point, however it did actually work in the file posted by the OP.
    My guess is the cells in column E were formulas that returned either false or ""
    And those formulas were then copy/pasted as values.
    So the E2=False returned False

    When I F2 and Enter on the cell, it then turns to True.


    Anyway, to account for that..
    =IF(OR(AND(ISLOGICAL(E2),E2=FALSE),F2="No Base"),"review","")


    Also, OP was kind of ambiguouse by saying "The formula with False not in quotations"..
    There were 2 suggested formulas that did that.

  10. #10
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: Excel formula help - possibly If(or) statement

    Good point you have there. In that case formula could become:

    =IF(E2&F2="","",IF(OR(E2=False,F2="No Base"),"review",""))

  11. #11
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Excel formula help - possibly If(or) statement

    Hello Jonmo! This is the one ! Thanks for replying

+ 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. Possibly an IF THEN formula required
    By Pursuit2010 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-25-2013, 09:45 PM
  2. How to combine data from 2 rows, possibly with IF statement involved.
    By sark1014 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-08-2012, 04:31 PM
  3. Possibly If/Then Statement
    By mchekmareva in forum Excel General
    Replies: 1
    Last Post: 09-19-2011, 06:55 PM
  4. IF AND Formula (possibly)
    By macba in forum Excel General
    Replies: 1
    Last Post: 09-01-2009, 04:41 AM
  5. IF Formula possibly?
    By jendew in forum Excel General
    Replies: 4
    Last Post: 05-14-2009, 11:21 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