P
Pete McCosh
Why, why, why!?
Why do different functions of the same nature not have a
standard order for their arguments? On Friday I spent
about ten minutes trying to understand why this function
wasn't working:
=Left(A1,Find(A1," ",1))
I eventually realised it was because the first two
arguments in the FIND were the wrong way round and while I
can accept that I made a pretty basic mistake, I think the
way the two functions are structured is idiotic.
Surely, if one text manipulation function has the source
string as the first argument then so should all the
others. A uniform approach would cut down stupid mistakes
like mine and make it easier to learn the general aspects
of different types of function to which the specifics can
be applied.
Exactly the same problem occurs when you use look up
functions. With INDEX, the first argument is the target
range which seems pretty logical. However, with MATCH,
the search string comes first leading to much confusion,
particularly when writing an embedded INDEX-MATCH
function. One day I'll get that right without having to
resort to the formula editor.
I presume this situation has come about as a result of
different functions being added throughout the development
cycle of Excel, but surely some thought should have been
given to a sensible, structured approach just the way you
would when creating a given workbook...
Obviously, the issue of backwards compatibility makes it
rather unlikely that I'll ever see a future release make a
wholesale rationalisation of syntax in these groups of
functions, but I can always dream.
Ah, I feel better now!
Why do different functions of the same nature not have a
standard order for their arguments? On Friday I spent
about ten minutes trying to understand why this function
wasn't working:
=Left(A1,Find(A1," ",1))
I eventually realised it was because the first two
arguments in the FIND were the wrong way round and while I
can accept that I made a pretty basic mistake, I think the
way the two functions are structured is idiotic.
Surely, if one text manipulation function has the source
string as the first argument then so should all the
others. A uniform approach would cut down stupid mistakes
like mine and make it easier to learn the general aspects
of different types of function to which the specifics can
be applied.
Exactly the same problem occurs when you use look up
functions. With INDEX, the first argument is the target
range which seems pretty logical. However, with MATCH,
the search string comes first leading to much confusion,
particularly when writing an embedded INDEX-MATCH
function. One day I'll get that right without having to
resort to the formula editor.
I presume this situation has come about as a result of
different functions being added throughout the development
cycle of Excel, but surely some thought should have been
given to a sensible, structured approach just the way you
would when creating a given workbook...
Obviously, the issue of backwards compatibility makes it
rather unlikely that I'll ever see a future release make a
wholesale rationalisation of syntax in these groups of
functions, but I can always dream.
Ah, I feel better now!