Trendline & Variable column lenght

Makk14

Board Regular
Joined
Mar 5, 2004
Messages
59
Hello,

1) I am trying to create Trendline that is not actually a Trendline pre se.
I have in one column set of numbers that represent results for a certain period. I am trying to show in cell A1 a trend - if the results are getting better or no.

E.G.
Column B
1
2
3
5

Cell A1 = "Results are improving"

Column B
5
4
1
1
0

Cell A1 = "Results are falling"

2) My another issue is that the length of the column can vary, so I can't have the formula fixed. Is there a formula that would select all the cells in the column that are not empty and that I can use in the above problem?

Thank you ahead very much for your help.
:unsure:
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
i'm not too sure on what your looking for here, but maybe something like this??...
Book5
ABCD
1UP1
22
33
44
55
66
77
88
99
102
Sheet1


formula in a1 is...
=IF(TREND(B1:OFFSET(B1,COUNTIF(B1:B65535,"<>")-1,0))>AVERAGE(B1:OFFSET(B1,COUNTIF(B1:B65535,"<>")-1,0)),"Down","UP")
 
Upvote 0
btw, data must be contiguous, blanks won't help this solution at all. null's or zero's are accepted, but will throw off the average formula.
 
Upvote 0

Forum statistics

Threads
1,214,858
Messages
6,121,956
Members
449,057
Latest member
FreeCricketId

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top