Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 298
Default concatenate formula result with text ?

This is my pseudocode. Two question actually: 1) how can I concatenate the
following? --(B5/B3) * 100 is numeric -- add text to this result?

(B50,(B5/B3)*100 & " % increase", (B5/B3) * 100 & " % decrease)

2) how to eliminate trailing decimals and only have a whole number from
(B5/B3) * 100?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 298
Default concatenate formula result with text ?

I was having a syntax error. Here is a formula that works for both questions:

=IF(B5=0,"",IF(B50,INT(ABS((B5/B3)*100)) & " % increase",
INT(ABS((B5/B3)*100)) & " % decrease") & " since last year.")


"Rich" wrote:

This is my pseudocode. Two question actually: 1) how can I concatenate the
following? --(B5/B3) * 100 is numeric -- add text to this result?

(B50,(B5/B3)*100 & " % increase", (B5/B3) * 100 & " % decrease)

2) how to eliminate trailing decimals and only have a whole number from
(B5/B3) * 100?

Thanks

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
How to concatenate text into a formula? Wmm Excel Discussion (Misc queries) 5 August 12th 09 09:29 PM
Formula needed to concatenate text with result from calculation Mgville Excel Discussion (Misc queries) 1 February 13th 09 02:48 PM
Concatenate text cell and formula cell result GoinCrazy Excel Worksheet Functions 4 November 26th 08 04:27 PM
Why does Concatenate formula show but not produce a cell result? Tom@WardAir Excel Worksheet Functions 9 December 28th 07 01:15 PM
CONCATENATE text formula Lauren Excel Worksheet Functions 7 January 7th 06 10:24 PM


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