I would like to share a very interesting tip that forum member 5|=vv posted on the Apple boards.
The question posed was:
I was wondering if two columns have the same value can I establish a condition that would underline one column?
Example:
Orig. Price Current Price
$200,000 $250,000
$350,000 $350,000
This is, in fact, not possible currently in Numbers, as the conditional formatting options only allow for comparisons based on static numbers rather that formulas.
5|=vv’s brilliant work around, was to use a a feature that is unique to Numbers: the ability to overly tables. As 5|=vv explains:
In general, the idea is to use a second table containing a formula that can be used to compute the conditional format, an orange colored (read “coloured” in Britian, etc.
) cell background. In this case the formula is an IF() comparing the equality of the two columns in the first table (see the formula bar in the second screenshot). Note that both the text and the background conditional format rules have been set to orange. This causes the “TRUE”s that would otherwise spoil the effect to disappear.
Then, using the “Table Inspector” panel, set the cell background of the first table to “None”. The effect is completed by sending the second table to the back (select the table as a canvas item indicated with square selection handles and use menu item “Arrange”/”Send to Back”) and align the tables with mouse or arrow keys.
So, by doing this:

You get this:

Good work 5|=vv. Now, can you please pick a user name that is easier to type!Â
The original post on the Apple boards can be found here.
If this kind of information interests you, please join 5|=vv, and many others, on our forums.


{ 4 comments… read them below or add one }
Is it possible for Numbers to compute cell value based on it’s font color? Eg. Cell A1=10 and A2=20 then A3=30 only if the font color of A1 and A2 are change to red. So if A1=(red font) and A2=(blue font) then A3=10.
There is no function allowing a formula to grab the color so the response is: NO.
I’ve been trying to use Numbers to do barcode serial number invoices, so i’m using a usb scanner to input the information for the cells in the spreadsheet. I’m trying to do something similar, I want the sheet to highlight duplicate serial numbers (all in one column) so that I can remove the duplicate number…how would this be done?
Nathaniel,
Good question. Would it be possible for you to post this question on AppleInquiry.com?
I think you could do something with sorting (if that will work with your project), but I would like to expose this question to a larger group.
Thanks,
- Michael