Compare strings with greader than or less than

Hi, 

I am trying to enter an expression to compare two strings, greater than or less than, but it sends me the following error:
Arithmetic expression '([Location] > "A")' does not have valid input types

I think this comparison only accepts numbers or dates.

Is there any way to do it with strings?

Solved Solved
2 16 991
1 ACCEPTED SOLUTION

I donโ€™t know the answer, and will be interested to hear othersโ€™ advice and maybe try some techniques myself later. 

Meanwhile, an alternative idea would be to compare the sequence of your sorted and unsorted list of 2 items. Maybe something like:

CONCATENATE(LIST(โ€œAโ€, [Location])) = CONCATENATE(SORT(LIST(โ€œAโ€, [Location])))

View solution in original post

16 REPLIES 16
Top Labels in this Space