$ 0 0 Rajesh, If you want to count all Name when Y, the formula would look like, = Count (<NAME> Where ( <Flag> ="Y")) Ajay