Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello
Is their a way for the IF statement to stop calculating once one of the conditions has been reached? For example A B C D 1 Symbol: Last: Limit: Status: 2 IBM-US 105.28 105 open Cell D2 =IF(C2<=B2,"filled","open") Is there a way from keeping the status from changing back from "filled" to "open." In other words the status can only go from "open" to "filled" and remained as "filled" once the condition is met regardless of what happens to either cells B2 or C2 afterwards. Thank you Mike |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() After you enable iterative calculations (Excel Options | Formulas | Calculation Options | check the Enable iterative calculations checkbox) this works - but the values in B and C have to be set before you paste the formula into D =IF(D4="Filled","Filled",IF(C4<=B4,"Filled","Open" )) if a simple 'less than' rather than a 'less than or equal to' would work, you could paste this formula into rows where the C and D cells were blank. In either case, when a cell refers to its own value, you are setting up a circular calculation and the iterative calculation setting has to be enabled. Hope this really works the way you are expecting it to... -- jamescox ------------------------------------------------------------------------ jamescox's Profile: http://www.thecodecage.com/forumz/member.php?userid=449 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=114686 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copying conditon formats with $ | Excel Worksheet Functions | |||
Get data with certain conditon | Excel Discussion (Misc queries) | |||
How to determine the number from given conditon? | Excel Discussion (Misc queries) | |||
How can you make the Find function stop when it reached the end | Excel Discussion (Misc queries) | |||
Stop the line when 0 is reached | Charts and Charting in Excel |