Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Formatting text within functions

I am interested in a function returning a simple calculation concatenated w/
text, but would like the format of the returned caculation to be a
percentage.

ie.

=concatenate(D2/E2," growth over 07") and want it to return as

135% growth over 07

instead of
1.350323 growth over 07


here is the actual function

=IF(H2<1,"need to chase",IF(AND(H21,H2<G2)=TRUE,"08' preseason under
forecast",IF(H2<D2,"08' preseason less then
07'",IF(ISERROR(H2/D2)=TRUE,"100%",CONCATENATE(H2/D2," growth over 07'")))))

Any suggestions, Thank you,



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Formatting text within functions

One way:

=TEXT(D2/E2, "0%") & "growth over 07"

In article ,
jasonr17 wrote:

I am interested in a function returning a simple calculation concatenated w/
text, but would like the format of the returned caculation to be a
percentage.

ie.

=concatenate(D2/E2," growth over 07") and want it to return as

135% growth over 07

instead of
1.350323 growth over 07


here is the actual function

=IF(H2<1,"need to chase",IF(AND(H21,H2<G2)=TRUE,"08' preseason under
forecast",IF(H2<D2,"08' preseason less then
07'",IF(ISERROR(H2/D2)=TRUE,"100%",CONCATENATE(H2/D2," growth over 07'")))))

Any suggestions, Thank you,

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,202
Default Formatting text within functions

You can use this to do what you want...

CONCATENATE(TEXT(H2/D2,"0%")," growth over 07'")

However, for a simple concatenation like that, you can eliminate the
CONCATENATE function and just use this...

TEXT(H2/D2,"0%")&" growth over 07'"

using the ampersand symbol to join the two pieces of text.

Rick


"jasonr17" wrote in message
...
I am interested in a function returning a simple calculation concatenated
w/
text, but would like the format of the returned caculation to be a
percentage.

ie.

=concatenate(D2/E2," growth over 07") and want it to return as

135% growth over 07

instead of
1.350323 growth over 07


here is the actual function

=IF(H2<1,"need to chase",IF(AND(H21,H2<G2)=TRUE,"08' preseason under
forecast",IF(H2<D2,"08' preseason less then
07'",IF(ISERROR(H2/D2)=TRUE,"100%",CONCATENATE(H2/D2," growth over
07'")))))

Any suggestions, Thank you,




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Formatting text within functions

=CONCATENATE(TEXT(D2/E2,"0%")," growth over 07")
--
Gary''s Student - gsnu200746
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
OR Functions in a Conditional Formatting Furmula Kevin Rodriguez Excel Worksheet Functions 4 August 25th 06 10:10 AM
Functions and formatting ShaunR1967 Excel Discussion (Misc queries) 1 March 30th 06 08:14 PM
combining conditional formatting and functions zvi Excel Worksheet Functions 2 December 9th 05 12:37 PM
formatting problem with functions Robin M. Excel Worksheet Functions 4 October 9th 05 04:49 AM
Formatting in IF Functions Littlebird Excel Worksheet Functions 2 March 28th 05 05:35 PM


All times are GMT +1. The time now is 02:24 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"