Highlight an Entire Excel Row From One Status Cell
Select the complete data range and build a formula rule that fixes the status column while leaving the row number relative. For rows A2:E30 with status in E, use =$E2="Blocked". The first row in the rule must match the first row of the selected range.
1. Start with the cells you intend to color
Select A2:E30 in a worksheet where row 1 contains headings. Open Home → Conditional Formatting → New Rule and select the formula option. Enter the test for the top data row, then choose a fill and save the rule. The selection defines where the color can appear, while the reference in the formula defines what each row is tested against.
2. Fix the column and let the rows advance
The dollar sign in $E2 keeps each cell in this formatting range looking at column E. The row stays relative so the second data row tests E3. An absolute reference such as $E$2 would make the entire block follow the first row’s status. With a synthetic pair of rows, set E2 to Blocked and E3 to Ready. Only row 2’s selected cells should be colored.
3. Check Applies to after editing or copying a rule
Open Manage Rules for the sheet and read the formula and Applies to together. If the rule is applied to A3:E30 while the formula still tests E2 at the first position, it can appear one row out of step. Extend the target range when new records fall below it, and confirm that overlapping rules aren’t masking the selected fill. Toggle one test status and check whether the same row changes immediately.
댓글
댓글 쓰기
안녕하세요 :)