Help required for data analysis

I have a set of data, in which i would like to add all out of limit values in to next column.
For example,
A is having 20 values (random)
I want to pick up which are more/less than specific value in to next column i.e. B. (i came across the function which can sort out the max & Min values)

Thanks in advance.
DAMAR