Returns the number of columns in the specified range or array.
COLUMNS( ReferenceOrArray r ) → Integer
=COLUMNS(A1:E4)=COLUMNS({1;2;3|4;5;6})
Function ReferenceROWS Function