Thank You for all previous assistance, and I hope all are well. I have yet another question. Is there a function that can tell us whether or not the numerals in a multiple digit number all appear in order of value or reverse order ? For example, say I have 987654321 - this is fine. But any other arrangement, except for reversing it completely will be wrong. What I mean is to be able to determine that if a given numeral appears, in my case the one following it may only be equal to less to it in value. Thus, 53210 is fine, but not 23501, and so on. This was to do with the arrangements of the wins in sports tournament pools, where the team having the most wins is listed first, then those with equal to or less than that. Of course, if one has for instance seven teams, each plays all of the six other teams, and there are no draws nor ties, then there will be 21 games, because it takes two to tango. Seven times six is 42, but of course team A playing team D is the same as D playing A, so those cancel out. Then the most any team can win is six games, but only one team can do that. If anyone has any ideas, go raibh maith agat.