+ Reply to Thread
Results 1 to 7 of 7

IF formula is TRUE, then calculate until next is FALSE

Hybrid View

  1. #1
    Forum Contributor mikehk's Avatar
    Join Date
    09-05-2017
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    483

    IF formula is TRUE, then calculate until next is FALSE

    I desire to show TRUE/FALSE from a simple IF formula, example
    =$E2<$P2 gives me TRUE and next $E3<P$3 also is TRUE, I want to show an empty cell until
    it finds a FALSE

    I attach a sample file. Kindly help.

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,324

    Re: IF formula is TRUE, then calculate until next is FALSE

    =IF(A3="","",IF(($E3>$O3)=($E2>$O2),"",$E3>$O3))
    Try this formula
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Forum Contributor mikehk's Avatar
    Join Date
    09-05-2017
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    483

    Re: IF formula is TRUE, then calculate until next is FALSE

    Hi Popipipo,
    Your formula works..thank you so much. I convert data into Table and the same formula gives me #REF! error...can
    you please modify formula so that it can work from the first row.

    Thank you.
    I attach the sample file for refecence.
    Attached Files Attached Files

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: IF formula is TRUE, then calculate until next is FALSE

    Formula: copy to clipboard
    =IF([@Column1]="","",IF(($E3>$O3)=($E2>$O2),"C",$E3>$O3))

  5. #5
    Forum Contributor mikehk's Avatar
    Join Date
    09-05-2017
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    483

    Re: IF formula is TRUE, then calculate until next is FALSE

    Thank you once again....but the first row should get a result of TRUE or FALSE

    formula
    =IF([@Column1]="","",IF(([@Column5]>[@Column15])=([@Column5]>[@Column15]),"",[Column5]>[Column15]))

    gives me a blank cell, I desire
    to get a TRUE or FALSE...and if TRUE then next should be FALSE then TRUE and so on....

    Thank you

  6. #6
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,324

    Re: IF formula is TRUE, then calculate until next is FALSE

    =if(row()=2,$e2>$o2,if(a2="","",if(($e2>$o2)=($e1>$o1),"",$e2>$o2)))
    =if(row()=2,$e2<$p2,if(a2="","",if(($e2>$p2)=($e1>$p1),"",$e2<$p2)))
    Try this

  7. #7
    Forum Contributor mikehk's Avatar
    Join Date
    09-05-2017
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    483

    Re: IF formula is TRUE, then calculate until next is FALSE

    Hurraaay! this works...thank you soooo much!
    Have a great week.

+ 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 with TRUE/FALSE formula
    By mikkelno in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-28-2014, 12:31 PM
  2. What is best to use for helper cells 0 or 1, typed true or false or =true =false
    By Gingermuppet in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-20-2014, 10:41 PM
  3. [SOLVED] in this TRUE OR FALSE function, i want desired name instead of display true or false
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-15-2013, 06:44 PM
  4. [SOLVED] Complicated TRUE/FALSE Formula
    By bpiereder in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-23-2013, 01:18 PM
  5. Excel 2007 : If formula using True and False
    By casdaq in forum Excel General
    Replies: 2
    Last Post: 05-06-2011, 03:59 PM
  6. Can TRUE/FALSE be replaced by a formula?
    By BCB in forum Excel General
    Replies: 4
    Last Post: 08-04-2006, 01:29 AM
  7. Replies: 3
    Last Post: 03-15-2006, 11:00 AM

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