Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
dbizek
 
Posts: n/a
Default Format numbers / Concatenate

How can I get cell A1 to show trailing zeros?

I've entered =CONCATENATE(A1," inches")

When A1 equals 1.50 or .060 it displays 1.5 inches or .06 inches

I need those missing zeros!
THANKS
  #2   Report Post  
Barb R.
 
Posts: n/a
Default

How about

=CONCATENATE(TEXT(A1,"0.000")," inches")

or

=TEXT(A1,"0.000") & " inches"

"dbizek" wrote:

How can I get cell A1 to show trailing zeros?

I've entered =CONCATENATE(A1," inches")

When A1 equals 1.50 or .060 it displays 1.5 inches or .06 inches

I need those missing zeros!
THANKS

  #3   Report Post  
Barb R.
 
Posts: n/a
Default

Alternatively, you can format cell A1 as CUSTOM

Type - 0.000 "inches"

"Barb R." wrote:

How about

=CONCATENATE(TEXT(A1,"0.000")," inches")

or

=TEXT(A1,"0.000") & " inches"

"dbizek" wrote:

How can I get cell A1 to show trailing zeros?

I've entered =CONCATENATE(A1," inches")

When A1 equals 1.50 or .060 it displays 1.5 inches or .06 inches

I need those missing zeros!
THANKS

  #4   Report Post  
dbizek
 
Posts: n/a
Default

That works, thanks! How about this? Is there a way to contol the number of
decimal places in that string? IE if its 1.500 i'd like to show 1.50 but if
it's .060 i'd like to show .060 any ideas?

"Barb R." wrote:

How about

=CONCATENATE(TEXT(A1,"0.000")," inches")

or

=TEXT(A1,"0.000") & " inches"

"dbizek" wrote:

How can I get cell A1 to show trailing zeros?

I've entered =CONCATENATE(A1," inches")

When A1 equals 1.50 or .060 it displays 1.5 inches or .06 inches

I need those missing zeros!
THANKS

  #5   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Thu, 23 Jun 2005 09:56:04 -0700, dbizek
wrote:

That works, thanks! How about this? Is there a way to contol the number of
decimal places in that string? IE if its 1.500 i'd like to show 1.50 but if
it's .060 i'd like to show .060 any ideas?

"Barb R." wrote:


Yes there is, but you will first have to state the rules by which you want to
determine the number of decimal places in the result.


--ron
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Checking Winning Numbers in the Lottery. Ann Excel Discussion (Misc queries) 4 May 18th 05 10:55 AM
My formulas can't 'see' numbers imported from Access in Excel, even when the format is the same. Chrism Excel Discussion (Misc queries) 4 April 12th 05 03:10 PM
Converting Numbers to Text properly Shirley Munro Excel Discussion (Misc queries) 1 February 16th 05 03:01 PM
Converting numbers to date format from csv files FiBee Excel Discussion (Misc queries) 1 January 12th 05 01:30 PM
concatenate and format Mauro Excel Worksheet Functions 1 November 18th 04 07:09 PM


All times are GMT +1. The time now is 02:12 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"