TEXT function question

  • Thread starter Thread starter Bernard Liengme
  • Start date Start date
B

Bernard Liengme

Why is this OK: =TEXT(A8/1000,"#.00 K")
But this returns #VALUE!: =TEXT(A8/1000000,"#.00 M")
(I know I can use =TEXT(A8/1000000,"#.00")&" M" )
It seems some letters are allowed as part of the format in TEXT while others
are not.
 
Some symbols are predefined: D, DD, DDD, M, MM, MMM, H, HH, M, MM, S, SS....

Maybe just telling excel that you want the character M is best:

=TEXT(A8/1000000,"#.00 \M")
 
Hi Bernard,

I am guessing it's because M is either part of a date (month) or part of
time (minute), anything that is refused as a custom format using
format>cells>number>custom will return a value error using the text
function, instead you can use

=TEXT(A8/1000000,"#.00 ""M""")




--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com
 

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

Back
Top