ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   What format should I use to display 1.1.01 as 1.1.1 ? (https://www.excelbanter.com/excel-discussion-misc-queries/223724-what-format-should-i-use-display-1-1-01-1-1-1-a.html)

mojo

What format should I use to display 1.1.01 as 1.1.1 ?
 
What format should I use to display 1.1.01 as 1.1.1 in a cell?

Bob Phillips

What format should I use to display 1.1.01 as 1.1.1 ?
 
It is text, formats work on numbers.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"MoJo" wrote in message
...
What format should I use to display 1.1.01 as 1.1.1 in a cell?




Gary''s Student

What format should I use to display 1.1.01 as 1.1.1 ?
 
=SUBSTITUTE(A1,"0","")
--
Gary''s Student - gsnu200837

Bernard Liengme[_3_]

What format should I use to display 1.1.01 as 1.1.1 ?
 
I don't think you can change the appearance with formatting because 1.1.01
is text not a number (or a date -- which is really a number anyway)
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"MoJo" wrote in message
...
What format should I use to display 1.1.01 as 1.1.1 in a cell?




Jon Peltier

What format should I use to display 1.1.01 as 1.1.1 ?
 
This is probably safer:

=SUBSTITUTE(A1,".0",".")

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


"Gary''s Student" wrote in message
...
=SUBSTITUTE(A1,"0","")
--
Gary''s Student - gsnu200837





All times are GMT +1. The time now is 12:56 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com