How do I format an imported number 15034 to $150.34

J

JE McGimpsey

If you just want to format it:

Format/Cells/Number/Custom $0\.00

Note that this doesn't actually change the value. To do that requires
either a function in another cell or a macro.




"Format an imported number in Excel" <Format an imported number in
[email protected]> wrote:
 
F

Format an imported number in Excel

Could you instruct me as to how to insert a macro to complete this, or tell
me where to learn?
 
K

Ken Wright

All your data follow EXACTLY the same pattern, ie the last 2 digits in EVERY
case should be decimal? if so then type 100 in an empty cell and then copy
that cell. Select all your data and do edit / paste special / values &
divide. Now just apply a normal format.
 
Top