sets formula for three - Search