Hi Thore,
You really want to use a macro to change these in place, and quickly.
http://www.mvps.org/dmcritchie/excel/proper.htm
conversion to proper case, upper case, lower case. Additional
types can be found in the related area. i.e. Sentence case, small caps.
Trying to do this with worksheet formulas would take longer just to setup and copy
the formulas down with the fill-handle than the macro would, and the clean
up afterwards would take even longer.
Hi David,
I think the time issue may be stretching it just a touch; I could do
the entire formula based process described in my post (including clean
up) in well < 1 minute, especially if Upper or Lower was used. (Proper
can sometimes generate anomalies which need correcting, some of which
I note that you've addressed in your macro; though it's impossible to
predict them all.) It'd take more time than that to open the VBE,
insert a module, copy the code into it, read through what you need to
do to run it, then run it. Also use of the fill handle isn't
necessary, especially if you're proficient with the keyboard. (Put the
formula in the first row, move to the column containing the names,
[End] [Down Arrow], move back to the column containing the formulas,
[Shift]+ [End] [Up Arrow], release, [Ctrl]+[D]. Under 5 seconds, easy.
I can (and probably do) do that in my sleep, and it's way faster than
any mouse-based method. But then, I tend to have really bad dreams
anyway.)
If this is an ongoing problem, the macro solution is probably the way
to go; but for a one-off I don't think there's much difference unless
the intended output is proper, AND there are likely to be a lot of
anomalies in the content like the ones you've addressed.
JMHO.