+ Reply to Thread
Results 1 to 2 of 2

IF statement with criteria

  1. #1
    Registered User
    Join Date
    01-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    2013
    Posts
    13

    IF statement with criteria

    I have one IF statement that is pulling from a list of codes, and I have it only pulling the code "01-7306".

    How do I in another IF statement get it to pull all the other code besides the "01-7306", using the same criteria.

    below is my IF statement:

    =IF(O2="01-7306",IF(AND(Q2>=$Y$1,Q2<=$Z$1),(IF(V2="Yes"," ","Upcoming"))," "),IF(O2="01-7306-01",IF(AND(Q2>=$Y$1,Q2<=$Z$1),(IF(V2="Yes"," ","Upcoming"))," ")," "))

    I tried =IF(O2<>"01-7306", and a couple other things, but no luck.

    Thanks,
    Rob

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: IF statement with criteria

    Mockup a sample workbook so we can see your actual layout, samples of the data you're analyzing. Also mockup manually the RESULTS you want and point out those cells if they're not obvious.

    Click GO ADVANCED and use the paperclip icon to post up a copy of your workbook.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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