formatting negative numbers

P

peggy

I'm saving a file as a space delimited (.prn) for a
preprocessor. I have used the rept function to left fill
my numbers to 15 characters. Only problem is if the
number is a negative, it looks like this

000000000-42.00

Any suggestions?

Thanks
 
J

jaf

Hi Peggy,
Change the format to 000000000000000;-000000000000000 and Excel will display
the neg. sign IF the value is negitive.
Place the decimal point in the above where you need it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top