1. Looking for formula to fill down/populate column L2:P46 using original data in column F:J.
2. Formula will take into account Sales Office in column B, Sales Zip in Column C and Sales Person in column D
3. Original data in column F:J. Sales Zip column is essential for this. We see that the original data has its data cover Sales Zip C2:C11 (1999 to 2001). The data in F2:F11 will be duplicated/repeated/copied down for the corresponding Sales office and Sales Person in column B and D respective. The data in G2:G11 will be duplicated/repeated/copied down for the corresponding Sales office and Sales Person in column B and D respective. For Position -1 in column H, if all values are zeros (0), the values to be copied down would be ones (1). if the values in Position-1 are all ones (1), values to be copied down would be zeros (0). Same logic is applicable to column I. For column J, it will always have ones and the values to be copied down will be zeros - see L2:P46 for desired outcome.
See sample data.
Thanks.
Bookmarks