+ Reply to Thread
Results 1 to 8 of 8

Advanced IF Statement Required

  1. #1
    Registered User
    Join Date
    07-24-2018
    Location
    New York, USA
    MS-Off Ver
    Office 2016
    Posts
    12

    Advanced IF Statement Required

    Hi All,

    I'm trying to include another level of logic in an IF formula that will yield the required results.

    The formula should look at if the value of a cell is FALSE, and return a value_if_true/value_if_false result accordingly, which will be the Sales Order #.
    Where it gets tricky is when the value of the cell we are looking at is TRUE, there needs to be some additional logic to yield a slightly different result. If the cell below a FALSE cell is TRUE, the result needs to be different.

    I've attached a sample file as it's hard to describe the problem in writing.

    Column A contains the FALSE & TRUE values.
    Column B contains the cells with the formula I've inputted. Note that the formula actually starts on cell B3 and not B2. Cell B2 is just an absolute starting value to start the numbering sequence.
    Column C contains the desired result that I've keyed in manually which the formula should achieve.

    Thank you very much in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,529

    Re: Advanced IF Statement Required

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-24-2018
    Location
    New York, USA
    MS-Off Ver
    Office 2016
    Posts
    12

    Re: Advanced IF Statement Required

    Would that only be the first portion of the formula?

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,529

    Re: Advanced IF Statement Required

    No, that's all of it.

  5. #5
    Registered User
    Join Date
    07-24-2018
    Location
    New York, USA
    MS-Off Ver
    Office 2016
    Posts
    12

    Re: Advanced IF Statement Required

    Thank you but unfortunately, it's not working as it should.

    When a TRUE value is right after a FALSE value, the formula should yield the Sales Order # +1,
    When a TRUE value is right after a TRUE value, the formula should yield the same Sales Order # as one row above

    I've attached a file showing the result of the formula you suggested in Column D.
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,529

    Re: Advanced IF Statement Required

    The problem is you have put the formula in col D, but are still looking at col B, for col D use
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    07-24-2018
    Location
    New York, USA
    MS-Off Ver
    Office 2016
    Posts
    12

    Re: Advanced IF Statement Required

    Works like a charm. Thank you very much!

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,529

    Re: Advanced IF Statement Required

    You're welcome & thanks for the feedback.

+ 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. Help Required to Evaluate Advanced Formula
    By Treeman_JF in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-24-2019, 04:47 AM
  2. [SOLVED] Help Required to Evaluate Advanced Formula
    By Treeman_JF in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-03-2019, 09:18 AM
  3. Advanced sum formula required
    By Brady1234 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-13-2018, 09:55 PM
  4. Replies: 2
    Last Post: 03-24-2015, 03:38 PM
  5. Advanced formula required please
    By zouraiz in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-12-2013, 07:56 AM
  6. [SOLVED] Excel 2007 : Transpose Data:Advanced Help required
    By ahmadomer63 in forum Excel General
    Replies: 2
    Last Post: 06-01-2012, 06:15 AM

Tags for this Thread

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