PC Review


Reply
Thread Tools Rate Thread

concatenate formula result with text ?

 
 
Rich
Guest
Posts: n/a
 
      4th Dec 2009
This is my pseudocode. Two question actually: 1) how can I concatenate the
following? --(B5/B3) * 100 is numeric -- add text to this result?

(B5>0,(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 With Quote
 
 
 
 
Rich
Guest
Posts: n/a
 
      4th Dec 2009
I was having a syntax error. Here is a formula that works for both questions:

=IF(B5=0,"",IF(B5>0,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?
>
> (B5>0,(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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to concatenate text into a formula? Wmm Microsoft Excel Misc 5 12th Aug 2009 09:29 PM
Formula needed to concatenate text with result from calculation Mgville Microsoft Excel Misc 1 13th Feb 2009 02:48 PM
Concatenate text cell and formula cell result GoinCrazy Microsoft Excel Worksheet Functions 4 26th Nov 2008 04:27 PM
Why does Concatenate formula show but not produce a cell result? Tom@WardAir Microsoft Excel Worksheet Functions 9 28th Dec 2007 01:15 PM
CONCATENATE text formula =?Utf-8?B?TGF1cmVu?= Microsoft Excel Worksheet Functions 7 7th Jan 2006 10:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:24 AM.