+ Reply to Thread
Results 1 to 2 of 2

Conditional Formatting/Formula Question

  1. #1
    Registered User
    Join Date
    09-02-2015
    Location
    West Palm Beach, Florid
    MS-Off Ver
    2013
    Posts
    3

    Conditional Formatting/Formula Question

    Hello,

    I am working with a set of data involving stock prices. What I am looking at is how a stock performs over a 20 day time horizon. However, if at any time the stock closes 10% or more below the price that I paid for it (the opening price), I would like to be "stopped out" or exit the position locking in the 10% loss on that day.

    In my attached example I have included two lines of data, the first being how my document is currently set up. The second, are the results I would like (Columns F-Y). I have highlighted in yellow how I would like my data to look with the 10% rule. As you can see in the attachment, on Day 8 the price of the stock is greater than 10% below the price I paid for it. As a result, I would want to sell the stock on day 8. Since I wouldn't own the stock on day 9, I want days 9-20 to represent the loss that I locked in by selling on day 8 from the 10% rule.

    In my document, Columns F-Y = Profit and Loss each day based on closing price of stock.
    Columns Z-AS = The percentage gain or loss from the opening price of the stock (my purchase price)


    Any help would be very much appreciated, thank you.



    I have iAttachment 423000
    Attached Files Attached Files
    Last edited by afroman2; 10-05-2015 at 09:25 AM.

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Conditional Formatting/Formula Question

    This formula, entered as a conditional format, should do the trick:

    Please Login or Register  to view this content.
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

+ 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. conditional formatting formula question
    By element123 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-05-2015, 09:09 AM
  2. [SOLVED] Conditional formatting / Formula Question
    By Doofus1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-31-2014, 11:44 PM
  3. [SOLVED] Conditional formatting/ formula question
    By sweetds in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-23-2013, 11:03 AM
  4. Conditional Formatting Formula Question
    By tomtad2 in forum Excel General
    Replies: 6
    Last Post: 07-18-2012, 11:54 AM
  5. Formula question for Conditional Formatting
    By rewey123 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-17-2011, 08:41 AM
  6. Conditional formatting formula question
    By Simon in forum Excel General
    Replies: 1
    Last Post: 07-10-2006, 08:24 AM
  7. Conditional Formatting formula question
    By bhigdon in forum Excel General
    Replies: 1
    Last Post: 05-25-2005, 01: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