Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Numbers spreadsheet, with "quantity required" and "quantity in stock" columns, then each part is on a row. I'm trying to use conditional formatting to turn a cell yellow when # required = # in stock, i.e. you can only build one widget with the parts you have, and red when # required > # in stock, i.e. you can't build any widgets without first ordering parts. The problem is, Numbers seems to only want to take in individual cells in the conditional formatting box. Is there any formula to tell it, say, when in row 10, turn D10 red if B10 > D10, and the same, B12 and D12 for row 12, and so on, without having to go thru and program each row individually? Thanks for the help!

share|improve this question
add comment

1 Answer

Created on a Windows machine but I'm hoping not an issue (though your Excel version might be), the image should indicate one way to achieve what I think you are asking for:

SU528427 example

You mention "to turn a cell" so Applies to here is to ColumnD only - A:D might be more useful, as may be adding green highlighting for parts where current stock is sufficient to service quantity required up to its ROP.

The formulae in conditional formatting rules use arrays, so no need for the tedious repetition your feared!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.