I know that MLE can be used to find the best fitting parameter assuming a that the distribution is known, but is there a way (using Excel or SAS) to find what distribution best fits the data (together with the best parameter of the distribution), in other words, the distribution is not known in advance.

Thank you