Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default Mixing number formats in one cell

I'm drying to build a cell in Excell that contains a mix of txt and percent
but the format get's messed up. For example what I want is:

A1=89%
B1=89% remaining. (=a1 & " remaining.")

instead what i get is "0.88554216874699 remaining." Number formats don't
have any affect.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 225
Default Mixing number formats in one cell

Format the cell as Custom with the format string as
0% "Remaining"

or use the formula
=TEXT(A1,"0%") & " Remaining"

but in this cell will have text and you won't be able to perform any
calculations...

"Craig860" wrote:

I'm drying to build a cell in Excell that contains a mix of txt and percent
but the format get's messed up. For example what I want is:

A1=89%
B1=89% remaining. (=a1 & " remaining.")

instead what i get is "0.88554216874699 remaining." Number formats don't
have any affect.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Mixing number formats in one cell

something like:
=text(a1,"00.0%") & " Remaining"

Or if you decide you want to use that cell for further arithmetic operations,
it's nice to keep the value numeric.

You could use a custom format:
00.0%" Remaining"







Craig860 wrote:

I'm drying to build a cell in Excell that contains a mix of txt and percent
but the format get's messed up. For example what I want is:

A1=89%
B1=89% remaining. (=a1 & " remaining.")

instead what i get is "0.88554216874699 remaining." Number formats don't
have any affect.


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 60
Default Mixing number formats in one cell

Try this:
=TEXT(A1,"0%")&" remaining"

Does that help?

Regards,

Ron Coderre
Microsoft MVP (Excel)

"Craig860" wrote in message
...
I'm drying to build a cell in Excell that contains a mix of txt and
percent
but the format get's messed up. For example what I want is:

A1=89%
B1=89% remaining. (=a1 & " remaining.")

instead what i get is "0.88554216874699 remaining." Number formats don't
have any affect.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default Mixing number formats in one cell

That worked! Thank you all!

"Ron Coderre" wrote:

Try this:
=TEXT(A1,"0%")&" remaining"

Does that help?

Regards,

Ron Coderre
Microsoft MVP (Excel)

"Craig860" wrote in message
...
I'm drying to build a cell in Excell that contains a mix of txt and
percent
but the format get's messed up. For example what I want is:

A1=89%
B1=89% remaining. (=a1 & " remaining.")

instead what i get is "0.88554216874699 remaining." Number formats don't
have any affect.




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Mixing number formats in one cell

=TEXT(A1,"00.0%")&" remaining"

Or just Custom Format B1 to 0.00%" remaining" and don't bother with the
TEXT function

That way the number 89 will still be a number.


Gord Dibben MS Excel MVP


On Wed, 18 Mar 2009 10:52:11 -0700, Craig860
wrote:

I'm drying to build a cell in Excell that contains a mix of txt and percent
but the format get's messed up. For example what I want is:

A1=89%
B1=89% remaining. (=a1 & " remaining.")

instead what i get is "0.88554216874699 remaining." Number formats don't
have any affect.


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
Mixing text and formulas in the same cell johnu Excel Discussion (Misc queries) 4 September 16th 08 10:49 PM
How do I determine the number of cell formats in this workbook tucsonmissiledude Excel Discussion (Misc queries) 2 October 28th 05 05:59 AM
mixing text and formulae in same cell gvm Excel Worksheet Functions 9 July 19th 05 05:51 AM
Maximum Number of Cell Formats Jim Allen Excel Discussion (Misc queries) 4 April 19th 05 07:07 PM
Mixing Font Sizes In A Cell Formula Minitman Excel Worksheet Functions 2 November 11th 04 03:40 PM


All times are GMT +1. The time now is 01:31 PM.

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"