not with a formula-you would have to use code