Hi again,
I have a table with an ID in first column and numbers in the rest of the columns. I would like to create another column "R_ID", where for each row, it would look for the biggest number of the row and put in my R_ID the name of the column that contained the biggest number of the row.
For example :
ID colA colB colC => R_ID
l1 34 -5 12 colA
l2 6 10 4 colB
Do you have an idea about how to create such a "R_ID" colum?
BR,
Grace
Solved! Go to Solution.
Hi @GraceK_dup_114 ,
Something like this would work. If you want to account for cases where multiple columns share the highest value you can use Summarize instead.
Cheers,
Jamie
-----
If I've answered your question please consider marking this solution as accepted. Thank you!
Beat me to it :-)
Both solutions work, but maybe yours is even prittier (like it more than mine for sure)
:)
Hi @GraceK_dup_114,
I have a couple approaches in the attached solution.
Hope that helps!
[edit: geez, I'm slow]