+ Reply to Thread
Results 1 to 8 of 8

Complex IF Formula

  1. #1
    Forum Contributor
    Join Date
    01-15-2008
    Posts
    140

    Complex IF Formula

    Trying to accomplish the following:

    IF A5 is any number from 4.0 thru 12.0, AND IF B5 is Y AND C5 is Y, THEN IF A6 is any number from 4.0 thru 8.0 AND C6 is Y, then D6 = aa

    However, with the same criteria for A5, B5 and C5, IF A6 is any number from 1.0 thru 3.5 AND C6 is Y, then D6 = bb
    AND with the same criteria for A5, B5 and C5, IF A6 is any number from 1.0 thru 3.5 AND C6 is Z, then D6 = cc

    All A column cells are numbers from -30.0 thru 30.0. All B and C column cells are either a "Y" or a "Z".

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Complex IF Formula

    for cell D11 ...
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    01-15-2008
    Posts
    140

    Re: Complex IF Formula

    Will test and respond. Much thanks for such a quick response.

  4. #4
    Forum Contributor
    Join Date
    01-15-2008
    Posts
    140

    Re: Complex IF Formula

    Thank you rcm. It works perfectly. However I now realize I left out one line that I have added below. It is the 2nd line.

    IF A5 is any number from 4.0 thru 12.0, AND IF B5 is Y AND C5 is Y, THEN IF A6 is any number from 4.0 thru 8.0 AND C6 is Y, then D6 = aa

    IF A5 is any number from 4.0 thru 12.0, AND IF B5 is Y AND C5 is Y, THEN IF A6 is any number from 4.0 thru 8.0 AND C6 is Z, then D6 = dd

    However, with the same criteria for A5, B5 and C5, IF A6 is any number from 1.0 thru 3.5 AND C6 is Y, then D6 = bb
    AND with the same criteria for A5, B5 and C5, IF A6 is any number from 1.0 thru 3.5 AND C6 is Z, then D6 = cc

    All A column cells are numbers from -30.0 thru 30.0. All B and C column cells are either a "Y" or a "Z".

  5. #5
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Complex IF Formula

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    01-15-2008
    Posts
    140

    Re: Complex IF Formula

    thank you again for the formula update. This does now present the "dd" in D6 when A6 is any number from 4.0 thru 8.0 AND C6 is Y. What I have noticed is that when A6 has any number that is above 8.0 or below 1.0 then D6 gets a "FALSE". When A6 is any number from 1.0 thru 8.0 then D6 presents the correct result, either aa, dd, bb, or cc. The range of numbers in Column A will range from -30.0 up to 30.0.

    What I am hoping you can do is have it present nothing in D6 when A6 is below 1.0 (0.5 thru -30.0) or above 8.0 (8.5 thru 30.0).

    Again I thank you for your help !

  7. #7
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Complex IF Formula

    Try;
    Please Login or Register  to view this content.
    Quang PT

  8. #8
    Forum Contributor
    Join Date
    01-15-2008
    Posts
    140

    Re: Complex IF Formula

    Thanks again. You guys are the best.

+ 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. Assistance with reporting data inorder with no blank cells or rows inbetween
    By Ghost Of Casper in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-28-2013, 01:37 PM
  2. Complex Formula
    By Saul in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-11-2006, 01:35 PM
  3. Can someone help with this complex formula?
    By My2Boyz9802 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-21-2006, 12:12 PM
  4. Complex formula
    By Marc in forum Excel General
    Replies: 8
    Last Post: 10-19-2005, 10:05 PM
  5. Complex =mid formula
    By foff in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 09-06-2005, 07:05 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