Forum Discussion
Conditional formatting for entire row based on data in one cell
- Jul 30, 2019
Hello
Assuming that D is the column containing the status cells, and you wish to apply conditional formatting to rows 1:50, here are the steps:
1. Select any cell in row 1
2. Go to 'Conditional Formatting>New Rule>Use a formula to determine which cells to format'
3. In the formula field paste =$D1="Shipped", set the required format and click 'OK'
4. Go to 'Conditional Formatting>Manage Rules' and locate the rule you have just created
5. In the field 'Applies to' paste '=$1:$50', or just select the required rows, starting from row 1, then click 'OK'.
If you type the word 'SHIPPED' in any cell of the column D (rows 1 to 50), the entire row will be conditionally formatted
Hope this helps
Yury
The formula works but when I copy the formatting to another set of data the $D1 reference keeps referring to column D. If I change the formula to D1 in that case the condition formatting works only for 1 column of the row.
Is there a way to copy the condition formatting and ensure it will work for the new cell reference ?
I'm not an expert at all, but you might find this site helpful: https://trumpexcel.com/copy-conditional-formatting-another-cell-excel/