Hi Joshua,
This will get you the characters you ask for but if involves a helper column,
and the result is text, which maybe is what you need for your other program.
=SUBSTITUTE(TEXT(A16,"##0.0E+0"),"E","p")
or if you want E- but not E+ use
=SUBSTITUTE(TEXT(A16,"##0.0E-0"),"E","p")
Why the other letters?
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages:
http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page:
http://www.mvps.org/dmcritchie/excel/search.htm
Joshua Wong said:
Thank you for the pointer, it was very helpful. The format string
displays numbers in engineering notation in that the exponent part is always
in the power of 3. But I was hoping that there is a way to replace the
exponent part with suffixes such as p, n, u, m, k, M, G, T ...etc
So is it trivial to do this without writing VB code as shown on your