+ Reply to Thread
Results 1 to 3 of 3

How to adjust stock market prices and dates

  1. #1
    Registered User
    Join Date
    08-18-2013
    Location
    Highlands
    MS-Off Ver
    Excel 2010
    Posts
    19

    How to adjust stock market prices and dates

    Here is a very simple model of a file. The file represents stock market closing prices. The first five prices are "uptrending". Then there are three "downtrending" prices. The remaining prices are again uptrending. Note that there is no trading on weekends.

    1-Jan-2015, 1
    2-Jan-2015, 2
    5-Jan-2015, 3 //monday
    6-Jan-2015, 4
    7-Jan-2015, 5
    8-Jan-2015, 4
    9-Jan-2015, 3
    12-Jan-2015, 2 //monday
    13-Jan-2015, 1
    14-Jan-2015, 2
    15-Jan-2015, 3
    16-Jan-2015, 4
    19-Jan-2015, 5 //monday

    I want to construct a price series that is ONLY uptrending. I want to delete downtrending rows, and advance the earlier dates to fill the gaps.

    The final file looks like this:

    6-Jan-2015, 1
    7-Jan-2015, 2
    8-Jan-2015, 3
    9-Jan-2015, 4
    12-Jan-2015, 5 //monday
    13-Jan-2015, 5 // make it the same price as 12-Jan-2015
    14-Jan-2015, 6
    15-Jan-2015, 7
    16-Jan-2015, 8
    19-Jan-2015, 9 //monday

    I can easily delete any data manually, simply by looking at the stock charts "by eye".

    I would like some advice on how to do the following:
    • The latest date (19-Jan-2015) needs to be the same as the latest date in the first file:
    • The remaining dates needs to be closed up to fill the gaps (observing the weekends).
    • Adjust the second batch of uptrending data so that it starts where the previous data finishes (at 5).

    I would be grateful for any advice.
    Last edited by OldGrantonian; 03-13-2015 at 09:47 AM. Reason: Contravenes forum rules on titles

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,617

    Re: Need help to "doctor" stock market prices

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    08-18-2013
    Location
    Highlands
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: How to adjust stock market prices and dates

    The post's title has been changed in accordance with forum rules.

+ 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 identifying "bear market" over period of time
    By zangana in forum Excel General
    Replies: 0
    Last Post: 01-09-2014, 12:37 PM
  2. [SOLVED] Displaying Yahoo Stock data as "70.58" instead of "N/A - <b>70.58</b>"
    By stockgoblin42 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-06-2013, 05:10 PM
  3. Replies: 13
    Last Post: 06-08-2008, 12:48 PM
  4. challenging "share stock" average prices
    By amrezzat in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-17-2005, 08:23 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