straberiwine
New Member
I have a workbook with several sheets related to customer transactions. On one sheet (Customer) is a table that has just the customer code and name, then on another sheet is a list of goals. For each customer there is a column for Goal, Actual and Difference. Then there are 4 difference goals, listed in a row, for each month. So there is a group of four rows for each month and 3 columns for each customer. The 'Actual' column has data pulled from a pivot table using GetPivotData that specifies the month and the customer in the formula.
Right now, whenever a new customer is added, i have to manually create the three columns for the customer, then copy the formulas and replace the customer name in the GetPivotData formula.
I'd like to make this an automatic process, either driven by a new customer being added to the Customer sheet or as a macro assigned to a button.
Any ideas?
Right now, whenever a new customer is added, i have to manually create the three columns for the customer, then copy the formulas and replace the customer name in the GetPivotData formula.
I'd like to make this an automatic process, either driven by a new customer being added to the Customer sheet or as a macro assigned to a button.
Any ideas?