Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 336
Default Colour Using if Statement

Hello, I just posted this question but it wasnt quite correct, here is the
new question.

I have the following calculation in a cell:

=IF(qryData!CI37 = 0, TREND(D28:D34,$B$28:$B$34,$B$35,1), qryData!CI37)

This is to use the trend function if the cell value is 0, this works fine.
What I would like to do however is to colour the font in red if the trend
function is being used but leave as black if there is actual data there i.e.
qryData!CI37 is not equal to 0.

I have tried the conditional formatting but it doesnt seem to work

Many thanks,

Martin
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Colour Using if Statement

Thers' no need to post it again you have an answer in your first thread

"Martin" wrote:

Hello, I just posted this question but it wasnt quite correct, here is the
new question.

I have the following calculation in a cell:

=IF(qryData!CI37 = 0, TREND(D28:D34,$B$28:$B$34,$B$35,1), qryData!CI37)

This is to use the trend function if the cell value is 0, this works fine.
What I would like to do however is to colour the font in red if the trend
function is being used but leave as black if there is actual data there i.e.
qryData!CI37 is not equal to 0.

I have tried the conditional formatting but it doesnt seem to work

Many thanks,

Martin

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
Colour using If statement Martin Excel Worksheet Functions 4 October 22nd 08 11:46 PM
how to create a if statement, if true turn colour Yashes Excel Worksheet Functions 3 October 24th 06 11:12 PM
How do I save new colour schemes for graphs in the colour template Alison Charts and Charting in Excel 1 July 22nd 06 10:35 PM
change a cell background colour to my own RGB colour requirements Stephen Doughty Excel Discussion (Misc queries) 4 June 16th 06 01:08 PM
Text in Blue colour, but print in black colour wuwu Excel Worksheet Functions 1 November 13th 04 02:36 PM


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