Change the Row and Column Headers

You cannot change the default Row (1,2,3,…) and Column (A,B,C,D….) headers, but you can give your spreadsheet the look and feel as if you had custom headings. Solution Enter what you’d like to be your Row Headers in the first column leaving cell A1 blank Enter what you’d like to be your Column Headers in […]

Continue reading

Count cells without formulae

If you want to count cells in a given range without formulae use this function Function CountNoFormula(rng As Range) As LongDim c As Range   On Error GoTo CountNoFormula_Error    For Each c In rng        If Not c.HasFormula Then            CountNoFormula = CountNoFormula + 1        End If    Next cCountNoFormula_CleanUpExit:   Exit FunctionCountNoFormula_Error:    CountNoFormula = CVErr(Err.Number)    Resume CountNoFormula_CleanUpExitEnd Function If you want to count cells with formule […]

Continue reading

Add Specific number of zeros to a value

This is one of the finest forumlae I’ve ever seen. Check this post at MrExcel. If you want to have a value specific number of digits otherwise add zeros in front of it, this formula could be used: =TEXT(A1,REPT(“0”,n)) where n is the number of digits you want. So 4555 becomes 000004555 with formula =TEXT(4555,REPT(“0”,9))

Continue reading
1 17 18 19 20 21 27
>