Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,101
Default Need help with displaying 0's after decimals

Hi,
I have 2 cells. One with the number that has 2 decimals and one with text.
When I use the "&" function to combine the 2 into 1 cell, all of the numbers
with the 0 at the end disappear. Example: cell 1: 3.80, cell 2: +80.
cell1&cell2 resulted in 3.8 +80 instead of 3.80 +80.
Any help would be appreciated.
mike
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 35,218
Default Need help with displaying 0's after decimals

You'll have to provide the formatting:

=text(a1,"0.00")&...
same with dates and times, too
=...&text(a2,"mm/dd/yyyy")





mike wrote:

Hi,
I have 2 cells. One with the number that has 2 decimals and one with text.
When I use the "&" function to combine the 2 into 1 cell, all of the numbers
with the 0 at the end disappear. Example: cell 1: 3.80, cell 2: +80.
cell1&cell2 resulted in 3.8 +80 instead of 3.80 +80.
Any help would be appreciated.
mike


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,101
Default Need help with displaying 0's after decimals

Thank you so much Dave.
I worked really well.
Mike

"Dave Peterson" wrote:

You'll have to provide the formatting:

=text(a1,"0.00")&...
same with dates and times, too
=...&text(a2,"mm/dd/yyyy")





mike wrote:

Hi,
I have 2 cells. One with the number that has 2 decimals and one with text.
When I use the "&" function to combine the 2 into 1 cell, all of the numbers
with the 0 at the end disappear. Example: cell 1: 3.80, cell 2: +80.
cell1&cell2 resulted in 3.8 +80 instead of 3.80 +80.
Any help would be appreciated.
mike


--

Dave Peterson

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
Decimals, how? LogiMAX Excel Discussion (Misc queries) 6 August 21st 09 11:54 AM
Displaying zeroes in decimals patrickcnj Excel Discussion (Misc queries) 2 July 20th 08 12:47 PM
no decimals BorisS Excel Discussion (Misc queries) 1 September 18th 06 07:48 AM
Displaying a number with different decimals depending on a condition JGarces Excel Worksheet Functions 1 August 16th 06 05:37 PM
Displaying decimals that go in to a given number weSky Excel Discussion (Misc queries) 1 June 7th 06 09:54 AM


All times are GMT +1. The time now is 09:19 AM.

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

About Us

"It's about Microsoft Excel"