## How to format entire row based on one cell in Excel?

Supposing you have multiple rows and columns data in Excel, and you want to format entire row based on the cell value in column, for instance, you want to highlight entire row with green color based on the cell value greater than 20 in column Unit as below screenshot shown, how could you quickly get it done? This article introduces some quick tricks to quickly format entire row based on one cell in Excel.

Format entire row based on one cell with Conditional Formatting

Format entire row based on one cell with Kutools for Excel

#### Format entire row based on one cell with Conditional Formatting

In Excel, you can apply Conditional Formatting utility to format row based on cell value.

1. Select the data range excludes column headers, and click Home > Conditional Formatting > New Rule. See screenshot:

2. In the New Formatting Rule dialog, click Use a formula to determine which cells to format option under Select a Rule Type section, and type this formula =\$B2>20 into the Format values where this formula is true textbox. See screenshot:

3. Then click Format to go to format cells as you need. In our case, we select a green fill color on the Fill tab in the Format Cells dialog box. See screenshot:

4. Click OK > OK to close dialogs, and now the rows are formatted as green background based on the cell value.

Tips:

1. You can change the formula in New Formatting Rule dialog as you need.

 Smaller than X =\$B2X Smaller than X but larger than Y =AND(\$B2>Y, \$B2Y, \$B2

2. In above formulas, B2 is the first cell of column you based on in your selected range.

#### Format entire row based on one cell with Kutools for Excel

Actually, with the Select Specific Cells utility of Kutools for Excel – a handy add in tool, also can help you select the entire rows based on cell value first, and then format them as you need.

 with more than 300 handy functions, makes your jobs more easier. Free Downloadfree full-featured in 30 days

After Kutools for Excel, please do as below:

1. Select the column range excluding column header that you will format rows based on, and click Kutools > Select > Select Specific Cells. See screenshot:

2. In the Select Specific Cells dialog, check Entire row option under Selection type section, and then specify the criterion you want to base on under Specific type section. See screenshot:

3. Click Ok, and a dialog pops out to remind you how many cells are selected. See screenshot:

4. Click OK to close the dialogs, and keep the rows are selected, and then go to format the rows under Home tab as you need. See screenshot:

### Best Office Productivity Tools

 🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions… Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ... Super Lookup: Multiple Criteria VLookup  |   Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup .... Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List .... Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ... Featured Features: Grid Focus   |  Design View   |   Big Formula Bar   |  Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells   |  Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ... Top 15 Toolsets:  12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

#### Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

• Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
• Open and create multiple documents in new tabs of the same window, rather than in new windows.
• Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!