hello, ive written a macro that creates an exponential regression curve for any input data (yes i know an exponential curve doesn't fit this example data very well)
the problem i'm trying to solve is that this macro expects the x variable to be an integer... if i want to use dates on the x axis, then i need to use the time series filler tool, then use a tile row number as a date substitute...
is there any way to make this macro accept both data types? (integer or date)
Side question: is it possible to modify this macro to create a separate regression curve for each data group?
the macro:

the workflow:
