I need to identify trends with a data set that contains blanks. I need to determine if each customer is trending up, down, or stable when there are months that they don't actually buy. These values are margin average per item by customer by month. Since these are averages of a margin per item, if the value was "0" it would affect the calculation so it has to be blank. I need the Trend column to define UP, DOWN, or STABLE.
If you can help, it would be appreciated.
Customer Sep-17 Oct-17 Nov-17 Dec-17 Jan-18 Feb-18 Mar-18 Apr-18 May-18 Jun-18 Jul-18 Aug-18 Sep-18 Oct-18 Nov-18 Dec-18 Trend
Customer1 0.0117
Customer2 0.0058
Customer3 0.0125 0.0125 0.3000 0.0633 0.0125
Customer4 0.0100 0.0100 0.0100 0.0100 0.0100 0.0100 0.0100 0.0100 0.0100 0.0100 0.0100
Customer5 0.0200 0.0213 0.0183 0.0261 0.0200 0.0231 0.0167 0.0183 0.0258 0.0223 0.0240 0.0195
Customer6 0.0048 0.0048 0.0108 0.0089 0.0089 0.0095
Customer7 0.0058
Customer8 0.0080 0.0020 0.0020 0.0022 0.0050 0.0020 0.0020
Customer9 0.0000
Customer10 0.0058 0.0058 0.0058 0.0058 0.0058 0.0058 0.0058 0.0058 0.0058 0.0058 0.0058 0.0058
Customer11 0.0900 0.0840
Customer12 0.2964 0.2862 0.2369 0.2600 0.2600 0.2250 0.3274 0.1500 0.2600 0.2600
Customer13 0.0643 0.0147 0.0195 0.0399 -0.0388 0.1500
Customer14 -0.0703 0.0317 0.0026 -0.0413 -0.0235 -0.0361 -0.0777 -0.0238 -0.0676 0.1052 0.1960 0.1147
Customer15 0.0200
Bookmarks