Hi Arthur, Thank you for taking a look at my question. I really appreciate your time for doing this. After step 1, I want my master data to look like below. The purpose of step 1 is to reflect the store closure status (blank value) contained in the updated table to the master table. So I am only reflecting blank value from the updated table because those are the days when stores were actually closed, and thus they should not have any sales in the master data table. Based on updated sales data table, sales figures (under A, Nov13 & under B, Mar14) are replaced with blank/missing value. However, please kindly note that none of the updated sales figures are transferred to the master table because their calculation method is different and I want to keep the original master sales figures. Master sales data after running step 1 code Date A B C Jan-13 89 Feb-13 19 Mar-13 8 Apr-13 73 57 May-13 38 76 Jun-13 33 55 Jul-13 67 4 Aug-13 33 65 Sep-13 91 15 Oct-13 30 35 Nov-13 45 3 Dec-13 100 89 12 Jan-14 39 39 9 Feb-14 100 92 65 Mar-14 86 61 After step 2, the master data should look like below. The purpose of step 2 is to replace the first 3-month sales figures with blank value because initial sales periods are considered unstable. After running step 2, the first 3-month data points are removed. Sales figures replaced with blanks are (Under A, Jan13,Feb13,Mar13; Under B, Apr13,May13,Jun13; Under C, Nov13,Dec13,Jan14). Please also note that there are over 100 stores in the real data set not just A, B, C. If am still being unclear, please kindly let me know. Master sales data after running step 2 code Date A B C Jan-13 Feb-13 Mar-13 Apr-13 73 May-13 38 Jun-13 33 Jul-13 67 4 Aug-13 33 65 Sep-13 91 15 Oct-13 30 35 Nov-13 45 Dec-13 100 89 Jan-14 39 39 Feb-14 100 92 65 Mar-14 86 61
... View more