Setting special format for a cell

R

Ruslan

Dear All,
Could you please tell me how can I can set special format to a column?
To be precise, I'd like to set such a format to the column of cells that it
always shows like " ... sq.m.". For example, if i enter number 5 to the
cell, it must then look like "5 sq.m".
Regards,
Ruslan
 
M

Mike H

Hi,

Select these cells then 'Right click' select 'Custom' and apply a custom
format of

0.00" Sq M"


--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.
 
G

Gord Dibben

One more custom format.......

Type 0" m then Alt + 0178 then "

Gives 12 m²


Gord Dibben MS Excel MVP
 
R

Ruslan

Dear Gord,
Sorry, but I didn't get the sequences of typing. Could you be more detailed.
since I'not so professional.
Rgds,
Ruslan
 
F

Fred Smith

1. Highlight the column by clicking on its heading (eg, the "A")
2. Right-click on any highlighted cell
3. Choose Format Cells...
4. Choose Custom
5. In the Type: box, copy and paste the following:
0" m²"
6. Click OK

Now enter your numbers in that column.

Regards,
Fred
 
G

Gord Dibben

In Custom dialog type 0" m

Then hold down Alt key and on the numpad type 0178

Then type the final "

Or run this macro on selected cells.

Sub sq_Meters()
Selection.NumberFormat = "0"" m" & Chr(178) & """"
'0179 for cubic meters
End Sub


Gord
 

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