![For each observation, find the variable that contains the minimum value](https://blogs.sas.com/content/iml/files/2012/05/t_subscrmax.png)
The other day I encountered an article in the SAS Knowledge Base that shows how to write a macro that "returns the variable name that contains the maximum or minimum value across an observation." Some people might say that the macro is "clever." I say it is complicated. This is