SUBTOTAL

From Microsoft Office Spreadsheet Functions