Thanks for your reply
Sorry that the problem was not explained properly
its not an excel function at all
Actually It was in excel and I moved it to a database for better results.
And it’s not a prediction . I don’t know where you got this.. if it’s the columns that contain future dates, if I...