I am trying to get the highest number from a range of order no. that all start with 2 letters,Eg 'EC1189' etc.
I can strip the number from a cell easily with
Value(right(H6,4))
And can get the maximum from a small range with
max(Value(right(H6,4)),Value(right(H7,4)),Value(right(H8,4)))
But I cant figure out how to get maximum from a range, I have tried
max(Value(right(H6:H20,4)))
and
max(Value(right(H6:H,4)))
and
max(Value(right(H6,4)):Value(right(H20,4)))
and a few other variations, but nothing is working.
Any help very gratefully received
Twl
I can strip the number from a cell easily with
Value(right(H6,4))
And can get the maximum from a small range with
max(Value(right(H6,4)),Value(right(H7,4)),Value(right(H8,4)))
But I cant figure out how to get maximum from a range, I have tried
max(Value(right(H6:H20,4)))
and
max(Value(right(H6:H,4)))
and
max(Value(right(H6,4)):Value(right(H20,4)))
and a few other variations, but nothing is working.
Any help very gratefully received
Twl
Last edited: