Text Functions MSOfficeExcel 2007 Tutorial

Input the formula: =(LEN(A1)-LEN(SUBSTITUTE(UPPER(A1),UPPER(B1),"")))/LEN(B1)