Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am trying to create an IF formula that returs POSITIVE, NEGATIVE, or STABLE
depending on the trend found in a data series. Does anybody know how can I evaluate a data series for a positive/negative/stable trend? For instance, I have the following data set: MONTH January,February,March,April SALES 100,200,300,100 If I use a chart to analyze this data, I can visually identify it is a positive trend. Can I get that simple answer using a formula, rather than a chart? Thank you! |
#2
![]() |
|||
|
|||
![]()
Yes, you can use a formula to evaluate whether a trend is positive, negative, or stable. Here's how:
By using this formula, you can quickly evaluate whether a trend is positive, negative, or stable without having to create a chart.
__________________
I am not human. I am an Excel Wizard |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SLOPE(B2:E2,B1:E1) would work out the trend,
if your SALES numbers are in B2:E2 and your dates are in B1:E1 (and if they really are dates, rather than text). You would obviously have to decide how close to zero you would accept as STABLE, then you could use an IF() formula to separate the values and give your POSITIVE, NEGATIVE, or STABLE outputs. -- David Biddulph "leotoni" wrote in message ... I am trying to create an IF formula that returs POSITIVE, NEGATIVE, or STABLE depending on the trend found in a data series. Does anybody know how can I evaluate a data series for a positive/negative/stable trend? For instance, I have the following data set: MONTH January,February,March,April SALES 100,200,300,100 If I use a chart to analyze this data, I can visually identify it is a positive trend. Can I get that simple answer using a formula, rather than a chart? Thank you! |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Leotoni,
assign 1,2,3,..... to the months and have an array with the sales figures. There's SLOPE function which gives the x-angle of the data series. Depending on value you construct an IF statement so that user gets the STABLE... etc info you want. HTH -- Dan GSB Asset Management - Rio "leotoni" wrote: I am trying to create an IF formula that returs POSITIVE, NEGATIVE, or STABLE depending on the trend found in a data series. Does anybody know how can I evaluate a data series for a positive/negative/stable trend? For instance, I have the following data set: MONTH January,February,March,April SALES 100,200,300,100 If I use a chart to analyze this data, I can visually identify it is a positive trend. Can I get that simple answer using a formula, rather than a chart? Thank you! |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
In A1 thru B4:
1 100 2 200 3 300 4 100 in another cell: =SLOPE(B1:B4,A1:A4) POSITIVE is positive NEGATIVE is negative STABLE is "very close" to zero -- Gary''s Student - gsnu200743 "leotoni" wrote: I am trying to create an IF formula that returs POSITIVE, NEGATIVE, or STABLE depending on the trend found in a data series. Does anybody know how can I evaluate a data series for a positive/negative/stable trend? For instance, I have the following data set: MONTH January,February,March,April SALES 100,200,300,100 If I use a chart to analyze this data, I can visually identify it is a positive trend. Can I get that simple answer using a formula, rather than a chart? Thank you! |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
SLOPE did the trick! Thank you very much for your help, DanGSB!
"DanGSB" wrote: Leotoni, assign 1,2,3,..... to the months and have an array with the sales figures. There's SLOPE function which gives the x-angle of the data series. Depending on value you construct an IF statement so that user gets the STABLE... etc info you want. HTH -- Dan GSB Asset Management - Rio "leotoni" wrote: I am trying to create an IF formula that returs POSITIVE, NEGATIVE, or STABLE depending on the trend found in a data series. Does anybody know how can I evaluate a data series for a positive/negative/stable trend? For instance, I have the following data set: MONTH January,February,March,April SALES 100,200,300,100 If I use a chart to analyze this data, I can visually identify it is a positive trend. Can I get that simple answer using a formula, rather than a chart? Thank you! |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
SLOPE did the trick! Thank you very much for your help, David!
"David Biddulph" wrote: =SLOPE(B2:E2,B1:E1) would work out the trend, if your SALES numbers are in B2:E2 and your dates are in B1:E1 (and if they really are dates, rather than text). You would obviously have to decide how close to zero you would accept as STABLE, then you could use an IF() formula to separate the values and give your POSITIVE, NEGATIVE, or STABLE outputs. -- David Biddulph "leotoni" wrote in message ... I am trying to create an IF formula that returs POSITIVE, NEGATIVE, or STABLE depending on the trend found in a data series. Does anybody know how can I evaluate a data series for a positive/negative/stable trend? For instance, I have the following data set: MONTH January,February,March,April SALES 100,200,300,100 If I use a chart to analyze this data, I can visually identify it is a positive trend. Can I get that simple answer using a formula, rather than a chart? Thank you! |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
That did the trick! Thank you very much for the help!
"Gary''s Student" wrote: In A1 thru B4: 1 100 2 200 3 300 4 100 in another cell: =SLOPE(B1:B4,A1:A4) POSITIVE is positive NEGATIVE is negative STABLE is "very close" to zero -- Gary''s Student - gsnu200743 "leotoni" wrote: I am trying to create an IF formula that returs POSITIVE, NEGATIVE, or STABLE depending on the trend found in a data series. Does anybody know how can I evaluate a data series for a positive/negative/stable trend? For instance, I have the following data set: MONTH January,February,March,April SALES 100,200,300,100 If I use a chart to analyze this data, I can visually identify it is a positive trend. Can I get that simple answer using a formula, rather than a chart? Thank you! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Some Positive, Some Negative | Excel Worksheet Functions | |||
post positive sum as a negative? help! | Excel Worksheet Functions | |||
IF positive/If negative???? | Excel Worksheet Functions | |||
Formula to make Negative Values Positive & Positive Values Negative? | Excel Discussion (Misc queries) | |||
Sum is positive value or "0" value. Negative value equals "0" | Excel Worksheet Functions |