+ Reply to Thread
Results 1 to 2 of 2

Identifying Rising trends in Columns

  1. #1
    Registered User
    Join Date
    12-20-2019
    Location
    Arlington, TX
    MS-Off Ver
    2010
    Posts
    27

    Identifying Rising trends in Columns

    I am wanting to see if I can find a formula that can help me identify if the numbers in a column are rising or falling. (IE: Cells in Column C are highlighted blue because C2<C3<C4). I would like to be able to catch all of the times the numbers are trending in upward/downward fashion. Is this possible? Thank you in advance!
    Attached Files Attached Files

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

    Re: Identifying Rising trends in Columns

    Short but useless answer -- yes, this sort of thing is possible. After most of a day, I will venture some thoughts.

    It isn't clear to me exactly how you determine when they are "trending upward" or "trending downward". I find that a big part of these "signal processing" problems often begins long before I get into the spreadsheet (or whatever programming language I want to use) and think through exactly what I mean by trending up or trending down.

    I often find that I start these signal processing problems with a column the tells me something about "change". In this case, it seems that your only interest is whether the change between entries is going up (positive) or going down (negative). I might start solving this problem with a column that tells me when it went up and when it went down. Something like =SIGN(B2-B1) in H2 (copied down). This gives me a column of 1s (indicating increasing trend) and -1s (indicating decreasing trends). Of course, this is just a simple example of the formula that could be used. Often the difficult part of this is deciding exactly what I want in this helper column (how much do I need to smooth the signal before calculating the direction of change or any other complication I need to account for).

    From there, "catching" trends means analyzing this helper column to tell me where the trends are. Start/end of trends will be detected as entries where the direction changes sign (changes from 1 to -1 or from -1 to 1), if that's all it means to "catch" a trend. Then create another formula that will perform the exact "catch" operation on the helper column (or additional helper columns, if they will help).

    I have no real specific suggestions for this particular example, because I am not sure exactly how you want to identify the trends. I expect the algorithm will include some way of calculating direction of movement, followed by an analysis of those calculations. There may or may not need to be a part of the algorithm that needs to detect the difference between real trends and "signal noise". Help us understand exactly how you want to detect these trends and we'll try to help as best we can to program those algorithms into the spreadsheet.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Identifying rising values and finding the difference between adjacent cells.
    By peeweelee in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-30-2019, 07:59 PM
  2. Excel or Access for identifying trends.
    By vin1602 in forum Excel General
    Replies: 2
    Last Post: 08-31-2018, 09:57 AM
  3. How to group 100% columns to show trends over time?
    By asimbig in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-07-2018, 04:43 PM
  4. Formula for Total Rising Invoice Payments
    By JamMad in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-26-2016, 12:10 PM
  5. Help identifying trends and patterns
    By dbogey in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-08-2016, 02:48 PM
  6. Identifying Trends, Predicting Dates
    By jennyaccord in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-20-2012, 09:36 AM
  7. [SOLVED] Need vertical separators rising from the X axis.
    By Peter Jason in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-02-2006, 08: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