Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
umba-sr
 
Posts: n/a
Default Conditional Formatting

Hi,

Is there a way to apply conditional formatting to a range of cells that
depend not on their own value, but on a value of another cell? If not with
Conditional Formating, then with Functions or, in final case, Programming?
Also, can I make more than three conditions in Conditional Formatting?

I know questions look ridiculous, but I need to find a way to do it. If not,
then I better start programming.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default Conditional Formatting

You should still be able to use Conditional Formatting...

<Format<Conditional Formatting
Click the first drop-down
Change the selection from "Cell Value is" to "Formula is"
Then reference the cell you want to compare to:

Example:
If you want cell B1 to have red text if A1 is greater than zero:
Formula Is: =A10


Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"umba-sr" wrote:

Hi,

Is there a way to apply conditional formatting to a range of cells that
depend not on their own value, but on a value of another cell? If not with
Conditional Formating, then with Functions or, in final case, Programming?
Also, can I make more than three conditions in Conditional Formatting?

I know questions look ridiculous, but I need to find a way to do it. If not,
then I better start programming.

  #3   Report Post  
Posted to microsoft.public.excel.misc
umba-sr
 
Posts: n/a
Default Conditional Formatting

Thanks, it does help, but I sort of knew that already.
But allow me to give you my own example. It's a little bit more complex.

I have 30 columns with dates as labels, which means 30 days in month. Now,
bellow labels I have amount of money inserted every day. What I want is for
every column to change its color basing on present date of which I have
formula Today() on top.
So, If I open file on April 5, I want columns of before this date to turn
blue, column of April 5 to turn red, and columns of future dates to turn
yellow or remain at automatic, doesn't matter. I managed to do that with
label cells of course, but I need a fast way of how to do it with cells
bellow, cause I don't want to format every single column for every month of
the year.

Sorry for all the trouble and text you have to read. It would be OK if you
couldn't assist me, anyway.

"Ron Coderre" wrote:

You should still be able to use Conditional Formatting...

<Format<Conditional Formatting
Click the first drop-down
Change the selection from "Cell Value is" to "Formula is"
Then reference the cell you want to compare to:

Example:
If you want cell B1 to have red text if A1 is greater than zero:
Formula Is: =A10


Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"umba-sr" wrote:

Hi,

Is there a way to apply conditional formatting to a range of cells that
depend not on their own value, but on a value of another cell? If not with
Conditional Formating, then with Functions or, in final case, Programming?
Also, can I make more than three conditions in Conditional Formatting?

I know questions look ridiculous, but I need to find a way to do it. If not,
then I better start programming.

  #4   Report Post  
Posted to microsoft.public.excel.misc
Pete_UK
 
Posts: n/a
Default Conditional Formatting

Assuming your dates are in B1 to AD1 (30 of them), and that your
monetary data is thus in B2 to AD20 (say), then highlight B2:AD20,
ensuring that you start with cell B2, and click Format | Conditional
Format and select Formula Is and enter this:

=B$1<TODAY()

and choose Blue on the Patterns tab. Then click Add for the second
condition and enter Formula Is;

=B$1=TODAY()

and choose Red on the Patterns tab. Then for your third condition,
Formula Is:

=B$1TODAY()

and select Yellow on the Patterns tab.

Hope this helps.

Pete

  #5   Report Post  
Posted to microsoft.public.excel.misc
umba-sr
 
Posts: n/a
Default Conditional Formatting

It does help, of course. Thanks a lot. Silly me, I never thought of putting
just one dollar sign for rows.
Can you just tell me if there is a way to make more than three conditions
with Conditional Formatting, or in any other way similar to this one.

"Pete_UK" wrote:

Assuming your dates are in B1 to AD1 (30 of them), and that your
monetary data is thus in B2 to AD20 (say), then highlight B2:AD20,
ensuring that you start with cell B2, and click Format | Conditional
Format and select Formula Is and enter this:

=B$1<TODAY()

and choose Blue on the Patterns tab. Then click Add for the second
condition and enter Formula Is;

=B$1=TODAY()

and choose Red on the Patterns tab. Then for your third condition,
Formula Is:

=B$1TODAY()

and select Yellow on the Patterns tab.

Hope this helps.

Pete




  #6   Report Post  
Posted to microsoft.public.excel.misc
John James
 
Posts: n/a
Default Conditional Formatting


Hi umba-sr,

Try these references:

http://www.mcgimpsey.com/excel/conditional6.html
http://tinyurl.com/ktyqx
http://tinyurl.com/efguy

umba-sr Wrote:

Can you just tell me if there is a way to make more than three
conditions
with Conditional Formatting, or in any other way similar to this one.



--
John James
------------------------------------------------------------------------
John James's Profile: http://www.excelforum.com/member.php...o&userid=32690
View this thread: http://www.excelforum.com/showthread...hreadid=530013

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
Keeping conditional formatting when sorting Andrea A Excel Discussion (Misc queries) 0 April 4th 06 03:00 PM
Conditional Formatting when inserting a row zahoulik Excel Worksheet Functions 2 January 7th 06 03:01 PM
Conditional Formatting Error ddate Excel Worksheet Functions 0 May 5th 05 09:00 PM
difficulty with conditional formatting Deb Excel Discussion (Misc queries) 0 March 23rd 05 06:13 PM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM


All times are GMT +1. The time now is 07:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"