+ Reply to Thread
Results 1 to 6 of 6

trendlines starting in manually decided dates

  1. #1
    Registered User
    Join Date
    03-25-2024
    Location
    buenos aires, argentina
    MS-Off Ver
    office 365
    Posts
    3

    trendlines starting in manually decided dates

    I am using Excel to track stocks and financial markets, but I dont know how establish trendlines that start in the middle of the chart and continue for some days when updating the info. It is possible to do it?

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: trendlines starting in manually decided dates

    Hi there.

    A picture is worth 1,000 words. An Excel sheet is worth 1,000 non-editable pictures.

    Please read the yellow banner about sample worksheets, at the top of the screen. Act on its guidelines and post a SMALL sample sheet complete with an explanation and some expected results.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    03-25-2024
    Location
    buenos aires, argentina
    MS-Off Ver
    office 365
    Posts
    3

    Re: trendlines starting in manually decided dates

    Hi Glenn,

    It is a simple chart to be feed daily with new daily data, coming in the database. Stock prices, Hi and Lo daily. One day in the past, NOT THE FIRST DAY IN THE SAMPLE,
    there was the Lower Lo within certain time range. So, I want to have a trendline starting that day, and going forward. The same can be for the Higher HI.
    When such Lower Lo or Higher Hi is eventually broken, I want to have automatically in the chart the replacement of such trendlines, may be manually or automatically.

    Trendlines use linear regresion, but starting SINCE MENTIONED Lower LO or Higher Hi, NOT FOR ALL THE TIME OF THE CHART

    Many thanks in advance for your help, ideas, for this very interesting usage of Excel.

    Elias Slotnisy

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: trendlines starting in manually decided dates

    There is no sample file attached!!

  5. #5
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: trendlines starting in manually decided dates

    I agree with Glenn, a sample file that helps us understand exactly how you like to interact with the spreadsheet will help us with solutions that you can use.

    FWIW, Here's one strategy I see for doing this (assuming I understand exactly how you want to interact with the data in the spreadsheet):

    1) I find that Excel's built in regression/trendline algorithms rarely work well (if at all) when the desired subset of the data for the regression is buried inside of the larger data set. I find that I almost always need some strategy for extracting the desired subset from the larger data set. Sometimes I'll use filters, sometimes I'll use lookups, and there are almost certainly other strategies, but one way or another I find it is usually necessary to somehow extract the desired data from the database. For now, let's assume that you can use a simple Autofilter step to do the "filtering." (https://www.wikihow.com/Use-AutoFilter-in-MS-Excel ).
    2) Create the chart from the full database. Insert and format the trendline. Make certain that the "hidden and empty cells" setting is set to NOT show data in hidden rows. Depending on where you place the chart, you may also need to make sure that the "move/size with cells" option for the chart area is set to "not move or size with cells."
    3) Use the autofilter to show only the subset of the data desired for the trendline. The chart should automatically show only the subset, and the trendline should automatically be based only on the filtered data.

    There are, of course, many other possible strategies depending on exactly how you want to interact with the data. I find that the data extraction step is often the most difficult one, so, if this particular strategy doesn't work for you, be sure to explain how you would prefer to extract the desired data for the regression.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  6. #6
    Registered User
    Join Date
    03-25-2024
    Location
    buenos aires, argentina
    MS-Off Ver
    office 365
    Posts
    3

    Re: trendlines starting in manually decided dates

    Many thanks MrShorty, I will use your sugested strategy. I am trying to avoid to complicate the charts. May be, in the future, Excel will have a capability to insert a trendline over a graph that not have to consider all the data of the function, only starting from the desired point and going forward from there.

    Many Many thanks!

+ 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. Replies: 11
    Last Post: 10-23-2020, 09:47 AM
  2. [SOLVED] Formula to Sum Specified Cells Decided by Multiple Dates and Titles
    By garrett.grillo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-23-2019, 11:03 AM
  3. [SOLVED] Formula to Sum Specified Cells Decided by Multiple Dates and Titles
    By garrett.grillo in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-10-2019, 03:45 AM
  4. [SOLVED] Activities completed by date - having to manually update dates from another worksheet
    By Gian_C in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-20-2015, 10:27 PM
  5. [SOLVED] Trying to manually fix defective dates
    By Trevasaurus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-16-2013, 01:49 PM
  6. Want to change the dates in selected cells manually using a MACRO
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-07-2013, 03:22 AM
  7. Want to change the dates in selected cells manually using a MACRO
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-04-2013, 02:12 PM

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