I am having a little difficulty with creating a macro that will be used on multiple different data sets.
Input data - Could have between 5 and 50 fields and the field names will be different each time
The Macro will require 4 as a minimum and the formula in the macro is set up to take 8. The formula in the macro is driven from a date column and two numeric columns, the rest of the columns are strings used for grouping.
Issue 1 - Errors when running macro
Parse Error at char(0): Empty expression (Expression #1)
Parse Error at char(0): Unknown variable "Customer" (Expression #2)
Issue 2 - how do I set up macro to still run if only 4 input columns selected (i.e.some drop down options left empty)?
Issue 3 - is it possible to relabel the macro output to same column names as input?
Note i have simplified macro function to a single formula to show cleaner example
As always your help is greatly appreciated! Thanks Community