What the video covers
Apply a Conditional Formatting rule to a selected range so an outline border is added to an entire row when a cell in a chosen trigger column becomes non-empty.
Watch the video on YouTubeStep-by-step instructions
- Select the target range
Click and drag to highlight the cells where you expect to enter data (for example A2:E100). Include every column you want bordered for each row. - Create a new conditional formatting rule
Open Conditional Formatting and choose to create a New Rule that 'uses a formula to determine which cells to format.' - Enter the trigger formula
In the formula box enter a test that checks the trigger column for non-empty values. Example if your data starts in row 2 and column A is the trigger: =$A2"". The dollar sign fixes the column so the whole row responds when that column cell is filled. - Set the border style
Click Format…, go to the Border options, and choose Outline (and any line color or thickness). Confirm the choice to return to the rule editor. - Save the rule
Click OK to save the rule. The sheet will look unchanged until you type into the trigger column of any row inside the selected range—then that row will show the outline border. - Adjust the range later if needed
If your data grows, open Conditional Formatting → Manage Rules, edit the rule’s Applies to range (for example extend E100 to E1000), and save so the automation applies to new rows.
Watch the video
Play tutorial
Why it matters
Manually reapplying borders as you add rows is tedious and error-prone. A rule triggered by a non-empty cell keeps table formatting consistent and automatic for current and future entries.
Check your result
After saving the rule, type a value into the trigger column of any row inside your selected range. The entire row should receive the outline border immediately.
Troubleshooting
If borders don’t appear: confirm the rule’s Applies to range includes the row you edited; make sure the formula uses an absolute column reference (e.g., $A2) and that the row number in the formula matches the top row of your selection; verify the formatting in the rule is a border (Outline) and not just fill or font; check for conflicting conditional rules higher in priority.