You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Conditional formatting that changes entire row

Hi all,


I haven't used Numbers in any depth for some years and have always used Excel at work, but the conditional formatting on Numbers seems severely limited.


I'm trying to change an entire row into a different colour based on whether or not the in a cell in that row date is in the past, but it appears you can only apply conditional formatting to individual rows. Is that the case?


Thanks

Posted on Jun 20, 2021 3:53 AM

Reply
Question marked as Top-ranking reply

Posted on Jun 20, 2021 5:05 AM

There is no built-in method to highlight an entire row (or to highlight a cell based solely on the value in another cell, which is how to do it in Excel) but here is a way to do it that is pretty simple:



  1. Add a new column to your table
  2. Create a formula for that column to indicate whether the row should be highlighted or not. If to be highlighted, the formula result will be "" (null string). If not to be highlighted the formula result will be a character no one is likely to use, like CHAR(10000).
  3. Select all the cells in your table that need highlighted.
  4. Create a highlighting rule of "text ends with". Click on the green oval and choose the top cell from the new column as the reference (the one in the same row as the top cell of all the cells you have selected). Add a $ to it (eg., like in $E2) to preserve the column. All the cells will get a highlighting rule based on the cell in that column in their own row.
  5. Hide the extra column
2 replies
Question marked as Top-ranking reply

Jun 20, 2021 5:05 AM in response to Rhys Bethell

There is no built-in method to highlight an entire row (or to highlight a cell based solely on the value in another cell, which is how to do it in Excel) but here is a way to do it that is pretty simple:



  1. Add a new column to your table
  2. Create a formula for that column to indicate whether the row should be highlighted or not. If to be highlighted, the formula result will be "" (null string). If not to be highlighted the formula result will be a character no one is likely to use, like CHAR(10000).
  3. Select all the cells in your table that need highlighted.
  4. Create a highlighting rule of "text ends with". Click on the green oval and choose the top cell from the new column as the reference (the one in the same row as the top cell of all the cells you have selected). Add a $ to it (eg., like in $E2) to preserve the column. All the cells will get a highlighting rule based on the cell in that column in their own row.
  5. Hide the extra column

Jun 20, 2021 4:31 AM in response to Rhys Bethell

Hi Rhys,


Give Numbers something with which to compare.

Insert another table. Formula in "Data before Today" in cell A2:

IF(Data::$A2<TODAY(),Data::A2,"")

Fill down and fill right.



Select all Body Cells in the "Data" table.

Conditional Highlighting:



(Today is 20 June here in Australia).

You can "hide" the second table (cut and paste to another sheet).


Regards,

Ian.

Conditional formatting that changes entire row

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.