How to Change Background Color in Excel (6 Easy Methods)

Method 1 – Using Fill Color to Change the Background Color in Excel

Steps:

  • Select the cell in which you want to change the background color.
  • Go to the Home tab, click on the Fill Color icon, and choose the color you want from the dropdown list.

Use the Fill Color Icon to Change Background Color in Excel

  • Alternatively, select the cell, go to the Home tab and choose the Font Settings icon from the Font group.

Use the Font Settings Icon to Change Background Color in Excel

  • The Format Cells window will appear. Go to the Fill tab. Choose the color that you want as the background from the color palette.
  • If you want more colors or customized colors, click on the More Colors… button and choose from there.

Choose More Colors

  • The Colors window will appear. Choose the standard or Custom color from here and click on the OK button.

  • Click on the OK button.

You can also right-click on your desired cell and choose Format Cells… from the context menu. Then, choose the fill color.

Use the Format Cells Option to Change Background Color in Excel

Thus, you can change any cell’s background following this method.

Changed Background Using Fill Color


Method 2 – Applying Patterns or Fill Effects to Change the Background Color

Steps:

  • Choose the cell in which you want to change the background.
  • Right-click in the cell and choose the Format Cells… option from the context menu.

Go to Format Cells for Fill Effect or Pattern

  • The Format Cells window will appear. Go to the Fill tab.
  • For the pattern background, choose your desired pattern color from the Pattern Color dropdown list. Choose the pattern style from the Pattern Style dropdown list.

Choose the Pattern Color & Style

  • You will see a sample preview in the Sample box.
  • Click on the OK button.

View the Sample Preview of the Chosen Pattern

  • For the fill effect background, choose the Fill Effects… option from the Fill tab.

Apply Fill Effect to Change Background Color in Excel

  • The Fill Effects window will appear. Choose the Two colors option from the Colors list.
  • Choose your shading style from the Shading styles options and choose a variant from the Variants samples.
  • Click on OK.

Choose the Fill Effect

  • Here is a quick look at our result worksheet.

Changed Background Using Fill Effect & Pattern in Excel

Read More: How to Change Background from Black to White in Excel


Method 3 – Changing the Background Color with Excel Conditional Formatting

Steps:

  • Select the cells where you want your conditional formatting applied.
  • Go to the Home tab, choose Conditional Formatting, and pick New Rule…

Use Conditional Formatting to Change Background Color in Excel

  • The New Formatting Rule window will open.
  • Choose the rule type Use a formula to determine which cells to format from the listed rules.
  • In the rule description text box, write the formula: =B4=“light green color”. This formula means the condition will be applied to the cells where the light green color is written.
  • Click on the Format button.

Choose the Condition for Formatting

  • The Format Cells window will appear afterward. Choose the color from here. You can also apply the fill effect or pattern format.
  • Click on the OK button.

Choose the Format for the Formatting

  • You can see the preview in the Preview box. Click on the OK button.

Watch the SAmple Preview of the Conditional Formatting

  • You can change the background color of specific cells using conditional formatting.

Changed Background Color in Excel with Conditional Formatting


Method 4 – Using the Excel Paint Bucket to Color the Background

Steps: 

  • Click on the shaded right-angle triangle at the intersection of row and column headings. This will select all the cells of the sheet.

Select all the Cells

  • Go to the Home tab and click on the Fill Color icon, then select the color you want for the background.

Choose Background Color

  • This changes the whole worksheet’s background color.

Changed Background of the Whole Worksheet in Excel


Method 6 – Using the Excel Find Tool for Changing the Background Color

Steps:

  • Select the cells where you want your background changed to specific conditions.
  • Go to the Home tab, then go to the Editing group, click on Find & Select tool, and click on the Find… option from the dropdown list.

Access the Find tool to Change Background Color in Excel

  • The Find and Replace window will appear. On the Find tab, write what you want to find in the Find what text box. We want to find the blank cells, so we left it empty.
  • Click on the Find All button.

Use Find All Button to Find the Specific Cells

  • The cell references will be shown in an added portion of the Find and Replace window. Drag and select all the cell references.

Select All the Required Cells

  • Go to the Home tab and click on the Fill Color icon, then select the color you want.

Choose the Background Color

  • Here’s how we filled in blank cells.

Changed Background Color Using the Find tool in Excel

Read More: How to Change Background in Excel Sheet


Method 6 – Changing the Background Color Using Excel VBA

Steps:

  • Go to the Developer tab and click on the Visual Basic tool.

Go to the Visual Basic Tool

  • The Microsoft Visual Basic for Applications window will appear.
  • Celect Sheet 4 and copy the following code in the code window.

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim XRange As Range
Set XRange = Range("B4:D8")
If Not Intersect(Target, XRange) Is Nothing Then
Target.Interior.Color = rgbLightGreen
Else
End If
End Sub
  • Exit the Microsoft Visual Basic for Applications window and go to the File tab.

  • Choose the Save As option from the expanded File tab.

  • Choose the Save as type as .xlsm file to enable the macro.
  • Click on the Save button.

Save the Excel as .xlsm File to Enable Macro

  • Whenever you click on a cell between the declared range, the cell background will turn into a light green color.
  • Our result worksheet will look like this if we click on the C5 and C8 cells.

Double-Click & Change the Background Color Using VBA in Excel


Things to Remember

  • To remove a fill color, you can go to the Home tab, click on the Fill Color icon, then click on the No Fill option from the dropdown list.

Remove any Background Color

  • When using conditional formatting to a range of data, use relative references for checking the condition dynamically.

Download the Practice Workbook


Related Articles


<< Go Back to Excel Background | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Tanjim Reza
Tanjim Reza

Md. Tanjim Reza Tanim, a BUET graduate in Naval Architecture & Marine Engineering, contributed over one and a half years to the ExcelDemy project. As an Excel & VBA Content Developer, he authored 100+ articles and, as Team Leader, reviewed 150+ articles. Tanim, leading research, ensures top-notch content on MS Excel features, formulas, solutions, tips, and tricks. His expertise spans Microsoft Office Suites, Automating Finance Templates, VBA, Python, and Developing Excel Applications, showcasing a multifaceted commitment to the... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo