+ Reply to Thread
Results 1 to 4 of 4

running trend analysis

  1. #1
    Registered User
    Join Date
    07-25-2008
    Location
    Wales
    MS-Off Ver
    2007
    Posts
    64

    running trend analysis

    Hi all,

    ..I am working on a statistical process control "run" chart, and I was wondering if there is any easy (?), formula that I could use to see if there was a running trend in the data.

    ie, I need to flag up if there are 7 consecutive data points that are all either increasing, or decreasing, (Ideally would like to be able to "key in" the number to trend. eg ideally 7, but could also be 5).

    My initial thought is that I would have to have 2 columns and use a lot of "nested" if / and statements to look at the preceding 7 data points, one column checking "upward trends, the other reducing trends. I think this would work but is a bit "messy", and I weas hoping for a neater solution.

    Thanks,

    Stu

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: running trend analysis

    May not be too complicated. Post a workbook and explain in context.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    07-25-2008
    Location
    Wales
    MS-Off Ver
    2007
    Posts
    64

    Re: running trend analysis

    Hi there,
    ..i have attached a basic workbook with some basic data

    I am looking to "flag" the 7th (eg), + number if there is a series of 7 numbers in a row, (column), that are either getting larger each time, or smaller

    Stu
    Attached Files Attached Files

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: running trend analysis

    Select C17, Format > Conditional Formatting. Clear any existing formatting, then

    Condition 1 Formula is =AND(C12:C17>C11:C16) and format as you like.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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