If you have only 0's and 1's you can enter =a1*a2*a3