Select column header for highest row value

I have been trying to get this formula for excell to work in calc. It should return the column header for the highest value in a row.

Is there a better approach?

and today it seems to be working. I think it was a typo.