How should I format a cell to see 'aaa 1234 bbb' if a cell value is
'aaa1234bbb' ?
Only numbers can be formatted.
If you want to insert spaces between strings of letters and strings of digits,
you would have to use formulas.
Here's one method that might work for you. It assumes that your strings
consist only of letters or digits, and that you want a space between wherever
they change.
1. Download and install Longre's free morefunc.xll add-in from
http://xcell05.free.fr/forums
Then use this **array-entered** formula:
=MCONCAT(REGEX.MID(A1,"[A-Za-z]+|\d+",ROW(
INDIRECT("1:"®EX.COUNT(A1,"[A-Za-z]+|\d+"))))," ")
To **array-enter** a formula, after typing or pasting it into the formula bar,
hold down <ctrl><shift> while hitting <enter>. Excel will place braces {...}
around the formula.
--ron