Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 36
Default concatenation

In Excel 2007, I have 2 columns, A & B.
I am referencing cells A39 and F39.
A39 is a text cell.
F39 is a red colored number cell.
I used the formula: =A39&" "&F39.
I get the result: Bathtubs -154 (the -154 value turned from red to
black).
That is great but how do you conditional format the -154 value to be:
Green is positive and red for negative.
I don't have any trouble if the cell just has a number in it but i can't get
conditional formatting to work when doing a concatanation.
Thanks


  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,480
Default concatenation

Hi Charles

With CF, the whole cell can only take one colour.
So, you could have "Bathtubs -154" all in Red, or "Bathtubs 350" all in
Green.
This you would achieve by setting the CF as
=F39=0 Format Green
=F39<0 Format Red

Otherwise you will need to avoid concatenation, and use 2 cells with the
cell holding A39 formatted Right, and the cell holding F39 formatted Left
with an Indent of 1

--
Regards
Roger Govier

"Charles Eaves" wrote in message
...
In Excel 2007, I have 2 columns, A & B.
I am referencing cells A39 and F39.
A39 is a text cell.
F39 is a red colored number cell.
I used the formula: =A39&" "&F39.
I get the result: Bathtubs -154 (the -154 value turned from red to
black).
That is great but how do you conditional format the -154 value to be:
Green is positive and red for negative.
I don't have any trouble if the cell just has a number in it but i can't
get conditional formatting to work when doing a concatanation.
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
Concatenation Nanapat Excel Discussion (Misc queries) 4 December 13th 08 01:47 PM
Concatenation ATHER Excel Worksheet Functions 2 May 19th 08 11:27 PM
Concatenation JPS Excel Worksheet Functions 3 May 4th 08 07:35 AM
Help with Concatenation alex Excel Worksheet Functions 3 August 28th 07 06:09 PM
concatenation mattguerilla Excel Discussion (Misc queries) 3 January 26th 06 11:47 PM


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