Closed Thread
Results 1 to 2 of 2

STOP calculation after a condition has been met?

  1. #1
    Registered User
    Join Date
    05-15-2013
    Location
    Israel
    MS-Off Ver
    Excel 2013
    Posts
    70

    Question STOP calculation after a condition has been met?

    hi everyone,

    So I've been working hard on this spreadsheet to make it track stocks prices live. it gets a live prices from my broker and multiple formulas are ran using these prices. One of them is a "Stop-Loss" Flag function, that constantly checks if current market price (that is set as a "stop-loss" level) has been reached or not (i.e A1 is the "live" price cell;
    Select Code copy to clipboard
    Please Login or Register  to view this content.
    My problems are:

    1. the price keeps fluctuate after the condition has been met, and if the price then goes back above 1.5, so the condition is now FALSE again and if I come back an hour later I can't tell if the stop-loss level had been reached (I know what you're thinking, I can just check the stock chart, but I'm actually using multiple option contracts prices and the example given here is only to simplify things). So my question is, how can I tell excel "once the condition (A1<1.5) is TRUE, populate the cell with text ("Stop-Loss") and then STOP checking A1, so that the text is always there).

    2. Also, if possible, I'd like excel to register the price of that first cross below 1.5 (so if the price that triggered the stop-loss was 1.48 I want it to save it somewhere so I can come back later and know what price I got out at..

    I hope my explanation was not too cumbersome and that my goal is clear. see attached spreadhseet to see what it looks like right now

    thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: STOP calculation after a condition has been met?

    Dupl.

    Thread Closed.
    Last edited by vlady; 08-01-2013 at 07:28 PM.
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Stop calculation once a condition is met
    By ryefield in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-01-2013, 07:30 PM
  2. Stop SUM of array on cell condition
    By uriavni in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-08-2013, 09:26 AM
  3. How do I stop calculation??
    By jimojimo in forum Excel General
    Replies: 5
    Last Post: 04-16-2010, 12:03 AM
  4. How to start and stop a loop base on condition.
    By Jwalker in forum Excel General
    Replies: 1
    Last Post: 08-30-2006, 12:13 AM
  5. Keystroke to stop Calculation?
    By Flamikey in forum Excel General
    Replies: 0
    Last Post: 04-11-2005, 08:44 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