Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Conditional Formatting

I want to format each cell in array A(i,j) conditioned on the comparison of
the value in row B(i) with a value in another array C(j), where the arrays B
and C are not part of the array A, that has to be formatted. Array B has the
same number of elements as the rows in A, and array C has the same number of
elements as the columns in A.

Can I do this by setting up a conditional formatting rule? Can I do this by
setting up the rule for A(1,1), and then dragging (or painting) the format to
rest of the array A?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Conditional Formatting

You can format cells in a range, you can't format cell in a VBA array. If
you are talking about ranges why not tell us what ranges and what conditons.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Ranjan" wrote:

I want to format each cell in array A(i,j) conditioned on the comparison of
the value in row B(i) with a value in another array C(j), where the arrays B
and C are not part of the array A, that has to be formatted. Array B has the
same number of elements as the rows in A, and array C has the same number of
elements as the columns in A.

Can I do this by setting up a conditional formatting rule? Can I do this by
setting up the rule for A(1,1), and then dragging (or painting) the format to
rest of the array A?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Conditional Formatting

Shane

Thanks for the quick reply to the post. I will try to be more clear about
what I would like to do.

I would like to conditionally format (say, color red) each cell in array
(D1:Q11).

I would like to conditionally format each cell addressed by (JN) where J can
be any value in the range, D:Q, and N can be any value between 1:11, if the
content of cell (CN) in column C, is greater than the content of cell (J12)
in row 12.

The cell (CN) is from row in column C, that corresponds to the row of the
cell (JN) .

The cell (J12) is from column J in row 12, that corresponds to the column of
the cell (JN).

I can probably do this tediously, by defining a separate rule for each cell
, but that would be painful. Is there a good way to do this?

Thanks for you help



"Shane Devenshire" wrote:

You can format cells in a range, you can't format cell in a VBA array. If
you are talking about ranges why not tell us what ranges and what conditons.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Ranjan" wrote:

I want to format each cell in array A(i,j) conditioned on the comparison of
the value in row B(i) with a value in another array C(j), where the arrays B
and C are not part of the array A, that has to be formatted. Array B has the
same number of elements as the rows in A, and array C has the same number of
elements as the columns in A.

Can I do this by setting up a conditional formatting rule? Can I do this by
setting up the rule for A(1,1), and then dragging (or painting) the format to
rest of the array A?

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
Formatting cells in a column with conditional formatting? shamor Excel Discussion (Misc queries) 8 May 19th 08 10:11 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


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