Peter3580, Good morning.
You have not explained exactly what you want to do.
To find out if there is a number in a given range, you can use the MATCH function.
example:
A1 --> 5332
A2 --> 4432
A3 --> 4333
Other number --> D1:D31
Try to use:
B1 --> =IF(ISERROR(MATCH(A1, $D$1:$D$31, 0)), "NOT FOUND", "-- OK --")
Copy it down as necessary.
But it depends on what you want as result.
I hope it helps.