+ Reply to Thread
Results 1 to 2 of 2

If/And/OR formula

  1. #1
    Registered User
    Join Date
    08-06-2015
    Location
    Mesa, Arizona
    MS-Off Ver
    Microsoft Excel 2013
    Posts
    84

    If/And/OR formula

    Hi Everyone,
    I am using the formula below:
    =IF(OR(G2="DL",G2="DM",G2="FD",G2="LP",G2="RM",AND(I2<H2)),"DELETE","")

    To try and do the following but for some reason it isn't working.

    In column G there are a total of 7 possible values, of the 7 I only want excel to look at the cell if it includes one of the 5 listed above (DL,DM,FD,LP,RM) - once excel recognizes that one of the 5 words is listed in column G I then want it to see if column I is greater than column H (this field is a date). If both of those things are present, I want it to list the word "delete", if not - I want it to show as blank.

    Basically any cell in G that has DL, DM, FD, LP or RM that also has a date in column I that is less then the date in column H will be deleted. I want the formula to appear in column N titled "DELETE" (see attached example)

    Any suggestions on this one?

    Thank you!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: If/And/OR formula

    Do you mean

    Please Login or Register  to view this content.
    ?

    Much better

    Please Login or Register  to view this content.
    Last edited by AB33; 11-09-2016 at 02:27 PM.

+ 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: 11
    Last Post: 06-06-2014, 03:34 PM
  2. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 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