Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a excel sheet that has some values something like below.

My Excel sheet

When I want to get the values by concatenating with a string, points are being erased. The cells format are Number by the way.

If I do =P3 , it gets me 27.655.111

When I do ="(test '"&P3&"')", it gets me (test '27655111'). This is not correct. I need the points in the number.

How to do that ?

Thanks in advance

share|improve this question

migrated from Oct 10 '12 at 7:25

This question came from our site for professional and enthusiast programmers.

These aren't floating point numbers, they're thousands-separated numbers. So P3 is equal to 27,655,111 (written the American way). – nneonneo Oct 10 '12 at 5:57
Then how to get the seperators ? – Kaplan Oct 10 '12 at 5:58
up vote 1 down vote accepted

Use ="(test '"& TEXT(P3;"#.##0") & "')".
Replace the ; by a , according to your regional settings.
Replace #.##0 by any format string as desired.

share|improve this answer
This is what I wanted. I will mark it when I can. Thanks – Kaplan Oct 10 '12 at 6:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.