Werner_EAnswer
25-Diamond I
H, A, P and Y are the letters we see twice in the whole matrix and no letter appears more than two times. So these four letters qualify for being the max elements in the whole matrix (ex aequo). See also here -> Creating a program function ? (II)
But I like Freds contribution and would second it - WHY?
@Loi Le
If you have a special application where a routine like this is needed, you may tell us which.
If you just want to learn programming in Mathcad, it would be better to give it a try yourself and come back here with your attempt if you experience any problems.


