Threshold for primordial black holes. II. A simple analytic prescription