You don't specify how the "valid" results are to be returned - i.e. concatenated string, one value per cell etc
For a concatenated string, given XL version, I would say that a formula based approach will be very complex, and a User Defined Function would be a better option, e.g.:
the above, stored in a standard module in VBE, could be called from a cell as:
where D2 holds the threshold value which, if set to 50, would return following results:
150;100;75;201
250;85;180;75
140;95;200
135;160;165
90;210
if, conversely, you want to return each number into separate cells post back - and advise how you want them returned, whether you want in any specific order etc...
Bookmarks