+ Reply to Thread
Results 1 to 4 of 4

Multiple IF factors Question

  1. #1
    Registered User
    Join Date
    07-24-2019
    Location
    South Carolina, US
    MS-Off Ver
    10
    Posts
    14

    Multiple IF factors Question

    Hello all,

    I'm trying to get the "H" column to return the following:

    IF D2<10, "NO"
    IF D2<10 and F2>E2, "OK"
    IF D2 >10 and F2>E2, "OVRSHP"

    IFquestion.xlsx - Excel.jpg

    Please help if you can simplify this for me! I have some other solutions, but I'd prefer to make the above work.

    Thanks,
    Brian

  2. #2
    Forum Contributor
    Join Date
    06-30-2015
    Location
    Netherlands
    MS-Off Ver
    2013 / 2016 / 365
    Posts
    145

    Re: Multiple IF factors Question

    Hi,

    try this: IF(D2<10,if(F2>E2,"OK","NO"),if(F2>E2,"OVRSHP,""))
    HtH,

    Joris

    --------------------------------------------------------------------------------
    If you found my answer helpful, please hit the Like or Thank button.

    Please follow the forum Rules and Guidelines and use Code tags around your VBA code.

    Remember: test VBA code always on a copy of your file because usually you can't use undo

  3. #3
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Multiple IF factors Question

    Try

    =IF(F2>E2,IF(D2>10,"OVERSHP","OK"),"NO")

    I've assumed that IF D2<10, "NO" should be IF D2<10 and F2<E2, "NO", given that there is no result for D2>10 and F2<E2, I've assumed that this scenaio should never occur, so this combination is not checked by the formula.

  4. #4
    Registered User
    Join Date
    07-24-2019
    Location
    South Carolina, US
    MS-Off Ver
    10
    Posts
    14

    Re: Multiple IF factors Question

    Thank you both for the fast replies!

    Jason, your assumption was correct and this formula worked perfectly!

    -Brian

+ 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. Multiple matching factors
    By DarthBrute in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-15-2018, 04:21 PM
  2. Find multiple factors
    By light in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-02-2016, 12:01 AM
  3. Replies: 0
    Last Post: 03-20-2013, 11:18 AM
  4. Excel 2007 : if statement with multiple factors
    By ricenog in forum Excel General
    Replies: 4
    Last Post: 06-30-2010, 06:22 PM
  5. Replies: 6
    Last Post: 07-31-2009, 10:58 AM
  6. Multiple Factors in IF Function
    By bustanutti21 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-26-2008, 07:46 AM
  7. Multiple IF factors
    By kamille824 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-11-2005, 10: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