- Joined
- Dec 16, 2012
- Messages
- 2,403
- Reaction score
- 48
- Points
- 48
- Excel Version(s)
- 365
If I have:
I get 3.
What I really want is (air code)
that is the position of first occurence of a value less than 6 (the return being 3).
How?
Ancillary question: Can I do it from the end of the list instead of from the beginning, ie. the last number less than 6 in the list?
Code:
let
Source = {7,7,6,4,7,3,4,4,5,1},
Posn = List.PositionOf(Source,4)
in
Posn
What I really want is (air code)
Code:
Posn = List.PositionOf(Source,<6)
How?
Ancillary question: Can I do it from the end of the list instead of from the beginning, ie. the last number less than 6 in the list?