+ Reply to Thread
Results 1 to 11 of 11

Excel Trend function

  1. #1
    Registered User
    Join Date
    06-18-2007
    Location
    Preston, Lancs, UK
    Posts
    9

    Excel Trend function

    Hi, does excel have an inbuilt function to evaluate a simple trend? In a worksheet each column represents a month, a=Jan, b=Feb, c=Mar, each row contains sales for the month. I'm hoping for a formula that I could enter in column d, the range being (A1:C1) and returns 0 for static trend, 1 for increase in trend, -1 for decrease in trend, or something similar. Does excel have a function that would do this. Thanks for any help.
    Last edited by darren101; 04-03-2009 at 03:32 PM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,660

    Re: Excel Trend function

    Try =RANK(B9;$B$9:$E$9;1)

  3. #3
    Registered User
    Join Date
    06-18-2007
    Location
    Preston, Lancs, UK
    Posts
    9

    Re: Excel Trend function

    Hi, thanks for this suggestion. RANK appears to rank the number within the range, I’m looking for someway of evaluating the range to determine an upward or downward trend..

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,660

    Re: Excel Trend function

    Oh, sorry, misunderstood... You have trend function...

    =TREND(A2:D2;A1:D1;E1;0)

    PINK -Y's
    Blue X's
    Brown - New X

  5. #5
    Registered User
    Join Date
    06-18-2007
    Location
    Preston, Lancs, UK
    Posts
    9

    Re: Excel Trend function

    Yeah, i tried that one but found you could only use it to test one row against another, i’m trying to evaluate one row at a time, (A1:C1) whats the trend of those numbers, thanks for the help, appreciate your time....

  6. #6
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,660

    Re: Excel Trend function

    What time? I write something every half hour and didn't help you at all
    So no need to thankS

    maybe I'm not understand well, but as you change E1 to F1;G1... you will get new data for all numbers...

  7. #7
    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: Excel Trend function

    Assuming you have Excel dates (or some numeric values) in A1:C1, and the values to test in A2:C2, then this returns -1, 0, or 1:

    =SIGN(SLOPE(A2:C2, A1:C1))
    Entia non sunt multiplicanda sine necessitate

  8. #8
    Registered User
    Join Date
    06-18-2007
    Location
    Preston, Lancs, UK
    Posts
    9

    Re: Excel Trend function

    Hi, the only numbers i want to evaluate are (A1:C1), do the numbers in row1 have an upward or downward trend... sorry i’m probably not explaining this very well..

    I tried ‘TREND(A2:G2,,A2:G2,TRUE)’ which seemed to return a positive number if the trend was upward and a negative number if the trend was downward but this might have been luck with my test data as i’m not sure how this function works....

  9. #9
    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: Excel Trend function

    =sign(slope(a1:c1, {1,2,3}))

  10. #10
    Registered User
    Join Date
    06-18-2007
    Location
    Preston, Lancs, UK
    Posts
    9

    Re: Excel Trend function

    Fantastic, does exactly what i need, thanks (i wont pretend to know how)

  11. #11
    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: Excel Trend function

    You could look at Help ...

+ 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