conditional formatting between two tables

Tody03

New Member
Joined
Jun 21, 2014
Messages
48
I have two tables in one sheet. I combine parallel data from both of them into a third table.
If a cell in table one >0 I want to color the parallel cell in table 3.

[TABLE="width: 320"]
<colgroup><col width="64" span="5" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]Table 1[/TD]
[TD="width: 64"][/TD]
[TD="width: 64"]table 2[/TD]
[TD="width: 64"][/TD]
[TD="width: 64"]Combined[/TD]
[/TR]
[TR]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD="align: right"]100[/TD]
[TD][/TD]
[TD="class: xl65"]5 100[/TD]
[/TR]
[TR]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD="align: right"]150[/TD]
[TD][/TD]
[TD="class: xl65"]0 150[/TD]
[/TR]
[TR]
[TD="align: right"]6[/TD]
[TD][/TD]
[TD="align: right"]120[/TD]
[TD][/TD]
[TD="class: xl65"]6 120[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD][/TD]
[TD="align: right"]140[/TD]
[TD][/TD]
[TD="class: xl65"]3 140
[/TD]
[/TR]
</tbody>[/TABLE]

Thanks for your help
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Hi, Please select the lines for table 3 say if here it is in Column C then selecting C2:C4 then go to conditional formatting and enter =$A2>0 (assuming Table1 is in Column A)
 
Upvote 0
Thanks Aryatect for your quick response. Your solution is working on one cell. My tables are 30X10 each can be even bigger. I need that one cell in table one will effect the parallel cell in table 3. My combined formula is =a1&k1.
 
Upvote 0
Before applying conditional formatting you have to select all rows in combined table, if your table has heading then select Col2 to Col9999 and then apply =$A2>0
 
Upvote 0
your solution is effecting table 3 from the status of A2 only . That is not my case. Each cell in table 3 is should be effected effected from he parallel cell in table 1. For example If table 3 starts at a50 - a50 is effected by a1, b50 by b1 etc.
 
Upvote 0
Maybe you did not understood me, but I managed to get my answer from you. Instead of =$a$5>0 i had to write =a5>0. In that way the condition changed according to the parallel cell.
Thanks
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,161
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top