Excel color fill in the

Excel for Microsoft 365 Excel 2021 Excel 2019 Excel 2016 Excel 2013 Excel 2010 Excel 2007 Excel Starter 2010 More…Less

You can add shading to cells by filling them with solid colors or specific patterns. If you have trouble printing the cell shading that you applied in color, verify that print options are set correctly.

Fill cells with solid colors

  1. Select the cells that you want to apply shading to or remove shading from. For more information on selecting cells in a worksheet, see Select cells, ranges, rows, or columns on a worksheet.

  2. On the Home tab, in the Font group, do one of the following:

    Excel  Ribbon Image

    • To fill cells with a solid color, click the arrow next to Fill Color Button image, and then under Theme Colors or Standard Colors, click the color that you want.

    • To fill cells with a custom color, click the arrow next to Fill Color Button image, click More Colors, and then in the Colors dialog box select the color that you want.

    • To apply the most recently selected color, click Fill Color Button image.

      Note: Microsoft Excel saves your 10 most recently selected custom colors. To quickly apply one of these colors, click the arrow next to Fill Color Button image, and then click the color that you want under Recent Colors.

      recent colors option

Tip: If you want to use a different background color for the whole worksheet, click the Select All button before you click the color that you want to use. This will hide the gridlines, but you can improve worksheet readability by displaying cell borders around all cells.

Select All button

Fill cells with patterns

  1. Select the cells that you want to fill a pattern with. For more information on selecting cells in a worksheet, see Select cells, ranges, rows, or columns on a worksheet.

  2. On the Home tab, in the Font group, click the Format Cells dialog box launcher.

    dialog box launcher in the font group

    Keyboard shortcut  You can also press CTRL+SHIFT+F.

  3. In the Format Cells dialog box, on the Fill tab, under Background Color, click the background color that you want to use.

  4. Do one of the following:

    • To use a pattern with two colors, click another color in the Pattern Color box, and then click a pattern style in the Pattern Style box.

    • To use a pattern with special effects, click Fill Effects, and then click the options that you want on the Gradient tab.

Verify print options to print cell shading in color

If print options are set to Black and white or Draft quality — either on purpose, or because the workbook contains large or complex worksheets and charts that caused draft mode to be turned on automatically — cell shading cannot print in color.

  1. On the Page Layout tab, in the Page Setup group, click the Page Setup dialog box launcher.

    Excel  Ribbon Image

  2. On the Sheet tab, under Print, make sure that the Black and white and Draft quality check boxes are cleared.

Note: If you do not see colors in the worksheet, it may be that you are working in high contrast mode. If you do not see colors when you preview before you print, it may be that you do not have a color printer selected.

Remove cell shading

  1. Select the cells that contain a fill color or fill pattern. For more information on selecting cells in a worksheet, see Select cells, ranges, rows, or columns on a worksheet

  2. On the Home tab, in the Font group, click the arrow next to Fill Color, and then click No Fill.

    Excel  Ribbon Image

Set a default fill color for all cells in a worksheet

In Excel, you cannot change the default fill color for a worksheet. By default, all cells in a workbook contain no fill. However, if you frequently create workbooks that contain worksheets with cells that all have a specific fill color, you can create an Excel template. For example, if you frequently create workbooks where all the cells are green, you can create a template to simplify this task. To do this, follow these steps:

  1. Create a new, blank worksheet.

  2. Click the Select All button, to select the whole worksheet.

    Select All button

  3. On the Home tab, in the Font group, click the arrow next to Fill Color Button image, and then select the color that you want.

    Tip    When you change the fill colors of the cells on a worksheet, the gridlines can become difficult to see. To make the gridlines stand out on the screen, you can experiment with border and line styles. These settings are located on the Home tab, in the Font group. To apply borders to your worksheet, select the entire worksheet, click the arrow next to Borders Button image, and then click All Borders.

  4. On the File tab, click Save As.

  5. In the File name box, type the name that you want to use for the template.

  6. In the Save as type box, click Excel Template, click Save, and then close the worksheet.

    The template is automatically placed in the Templates folder to make sure that it will be available when you want to use it to create a new workbook.

  7. To open a new workbook based on the template, do the following:

    1. On the File tab, click New.

    2. Under Available Templates, click My templates.

    3. In the New dialog box, under Personal Templates, click the template that you just created.

Top of Page

Need more help?

Содержание

  1. Fill Color Shortcut
  2. How to use the fill color shortcut
  3. Apply the Alt, H, H shortcut to open the Fill color menu
  4. Fill Color Shortcuts Add-in in Excel
  5. Add Fill Color Menu to Quick Access Toolbar (QAT)
  6. Repeat the last action using F4 Key or Alt+Enter
  7. Copy and Paste formatting using shortcuts
  8. Final thoughts
  9. Ultimate Dashboard Tools
  10. Apply or remove cell shading
  11. Fill cells with solid colors
  12. Fill cells with patterns
  13. Verify print options to print cell shading in color
  14. Remove cell shading
  15. Set a default fill color for all cells in a worksheet
  16. Best Shortcuts to Fill Color in Excel (Basic & Advanced)
  17. Regular Way to Fill Color in Cells
  18. Shortcuts to Fill Color in Cells in Excel
  19. Keyboard Shortcut to Fill Color in Cells
  20. Adding Fill Color Option to the Quick Access Toolbar (QAT)
  21. Using F4 to Repeat Fill Color Operation
  22. [Advanced] Creating Your Own Shortcut to Fill Color Using VBA
  23. Using Paint Format to Easily Copy and Fill Colors

Fill Color Shortcut

Learn how to apply Excel fill color shortcut to change the background or shading colors of a cell using various methods.

In this guide, all demonstrated fill color shortcuts are for Excel for Windows versions 2010, 2013, 2016, 2019, and Office365.

If you are looking for keyboard shortcuts to fill a cell quickly, you are at the right place. In this article, we’ll show you the best practices and workarounds.

Table of content:

How to use the fill color shortcut

The fact is that there is no built-in keyboard shortcut in Excel that fills color to a cell. Luckily, Excel offers some workarounds to perform this task.

Apply the Alt, H, H shortcut to open the Fill color menu

To open the Fill Color menu, use the Alt, H, H shortcut, and Excel shows the color palette dialog. You can view the color palettes, the theme colors, and the standard colors.

Steps to apply a fill color shortcut:

  1. Select the cells that you want to color
  2. Press Alt, H, H top open the Fill color menu
  3. Use the arrow keys to move on the color grid
  4. Select the color that you want to apply
  5. Press Enter to fill color to the selected cell or range

Shortcut to use no fill: Alt, H, H, N

Shortcut to show more colors on the palette: Alt, H, H, M

This way is a bit faster than the default method (Clicking the Home Tab and using the Colors drop-down menu)

Fill Color Shortcuts Add-in in Excel

If you are familiar with VBA, we have a piece of good news. VBA makes life easier. I wrote a tiny custom Excel add-in that allows you to assign custom keyboard shortcuts for all purposes.

This guide will demonstrate the fastest way to apply a command using a user-defined shortcut key.

In the example, you want to use the Excel green color palette for your reports. The Application.Onkey method help to assign a fill color shortcut key to color.

Press Alt + F11 to open the VBA editor window and copy the code to ThisWorkBook:

Create a new module and add the following code:

The new shortcut keys are: Shift +1 to Shift +5

You can download the fill color add-in here. Play with it; replace the code if you want. Also, don’t forget to check this guide on how to install an Excel add-in.

If you don’t want to use keyboard shortcuts, there is a way to pin the Fill Color menu on the Quick Access Toolbar.

  1. Click File > Options
  2. Select the Quick Access Toolbar from the list
  3. Select All commands and choose the Fill color
  4. Add the command to the QAT, then click OK

Now the menu appears in the QAT. From now on, you can use the method mentioned above to select the fill color.

Steps to using a fill cell color command:

  1. Add the Fill color menu to the QAT
  2. Press Alt, 5 (or position number in the QAT) to open the Fill Color dialog
  3. Use the arrow keys to navigate between colors and select the color
  4. Press Enter to apply the selected color to the cell or range of cells

This way is an excellent alternative to the Alt, H, H fill color shortcut. We recommend you place the most frequently used commands in the QAT. It is not necessary to switch between Excel tabs to reach the fill color command.

Repeat the last action using F4 Key or Alt+Enter

Sometimes it can be useful if you can repeat the last action. In Excel, the shortcut key for this purpose is F4.

In the example, we have used the Alt, H, H fill color shortcut to apply a green background to cell B3. Next, move the cursor to cell B4, then press F4.

Excel will repeat the last action and will use a green background for cell B3. So easy!

Copy and Paste formatting using shortcuts

Last but not least, you can use the copy formatting command to apply a fill color to a cell.

Steps to apply the Paste Formatting Button on the QAT:

  1. Add the Paste Formatting button to the QAT
  2. Copy the cell (Ctrl + C) that contains the formatting style
  3. Select the destination cell or the range of cells
  4. Press Alt+5 (or the current position number of the QAT button) to apply the formatting

Tip: You can use one of a paste special shortcut keys to speed up the task. After pressing Ctrl + C, select the target cell or range and use the Alt, H, V, R Paste Format keyboard shortcut.

Final thoughts

Today we have introduced some tricks to apply the fill color shortcut in Excel. Pick your favorite way! Also, we recommend using our small, flexible add-in. Stay tuned.

Additional resources:

Istvan is the co-founder of Visual Analytics Ltd. He writes blog posts and helps people to reach the top in Excel.

Ultimate Dashboard Tools

Pro Dashboard Add-in for Excel. Fully automated. Lightweight. No coding skills required.

Источник

Apply or remove cell shading

You can add shading to cells by filling them with solid colors or specific patterns. If you have trouble printing the cell shading that you applied in color, verify that print options are set correctly.

Fill cells with solid colors

Select the cells that you want to apply shading to or remove shading from. For more information on selecting cells in a worksheet, see Select cells, ranges, rows, or columns on a worksheet.

On the Home tab, in the Font group, do one of the following:

To fill cells with a solid color, click the arrow next to Fill Color , and then under Theme Colors or Standard Colors, click the color that you want.

To fill cells with a custom color, click the arrow next to Fill Color , click More Colors, and then in the Colors dialog box select the color that you want.

To apply the most recently selected color, click Fill Color .

Note: Microsoft Excel saves your 10 most recently selected custom colors. To quickly apply one of these colors, click the arrow next to Fill Color , and then click the color that you want under Recent Colors.

Tip: If you want to use a different background color for the whole worksheet, click the Select All button before you click the color that you want to use. This will hide the gridlines, but you can improve worksheet readability by displaying cell borders around all cells.

Fill cells with patterns

Select the cells that you want to fill a pattern with. For more information on selecting cells in a worksheet, see Select cells, ranges, rows, or columns on a worksheet.

On the Home tab, in the Font group, click the Format Cells dialog box launcher.

Keyboard shortcut You can also press CTRL+SHIFT+F.

In the Format Cells dialog box, on the Fill tab, under Background Color, click the background color that you want to use.

Do one of the following:

To use a pattern with two colors, click another color in the Pattern Color box, and then click a pattern style in the Pattern Style box.

To use a pattern with special effects, click Fill Effects, and then click the options that you want on the Gradient tab.

Verify print options to print cell shading in color

If print options are set to Black and white or Draft quality — either on purpose, or because the workbook contains large or complex worksheets and charts that caused draft mode to be turned on automatically — cell shading cannot print in color.

On the Page Layout tab, in the Page Setup group, click the Page Setup dialog box launcher.

On the Sheet tab, under Print, make sure that the Black and white and Draft quality check boxes are cleared.

Note: If you do not see colors in the worksheet, it may be that you are working in high contrast mode. If you do not see colors when you preview before you print, it may be that you do not have a color printer selected.

Remove cell shading

Select the cells that contain a fill color or fill pattern. For more information on selecting cells in a worksheet, see Select cells, ranges, rows, or columns on a worksheet

On the Home tab, in the Font group, click the arrow next to Fill Color, and then click No Fill.

Set a default fill color for all cells in a worksheet

In Excel, you cannot change the default fill color for a worksheet. By default, all cells in a workbook contain no fill. However, if you frequently create workbooks that contain worksheets with cells that all have a specific fill color, you can create an Excel template. For example, if you frequently create workbooks where all the cells are green, you can create a template to simplify this task. To do this, follow these steps:

Create a new, blank worksheet.

Click the Select All button, to select the whole worksheet.

On the Home tab, in the Font group, click the arrow next to Fill Color , and then select the color that you want.

Tip When you change the fill colors of the cells on a worksheet, the gridlines can become difficult to see. To make the gridlines stand out on the screen, you can experiment with border and line styles. These settings are located on the Home tab, in the Font group. To apply borders to your worksheet, select the entire worksheet, click the arrow next to Borders , and then click All Borders.

On the File tab, click Save As.

In the File name box, type the name that you want to use for the template.

In the Save as type box, click Excel Template, click Save, and then close the worksheet.

The template is automatically placed in the Templates folder to make sure that it will be available when you want to use it to create a new workbook.

To open a new workbook based on the template, do the following:

On the File tab, click New.

Under Available Templates, click My templates.

In the New dialog box, under Personal Templates, click the template that you just created.

Источник

Best Shortcuts to Fill Color in Excel (Basic & Advanced)

Filling a background color in a cell or range of cells is a common task that most of Excel users have to do on a daily basis.

While it’s quite easy to fill color in a cell in Excel (using the inbuilt option in the ribbon), it’s not the fastest way to do it.

And if this is something you have to do multiple times in a day, knowing faster ways to fill color in a cell would make you more efficient and also save time.

And needless to say, you can always use the shortcuts and tricks I cover in this tutorial to impress your boss and colleagues.

This Tutorial Covers:

Regular Way to Fill Color in Cells

Before I show you some shortcut ways to fill color in Excel, let me quickly show you the regular way of doing it:

  1. Select the cell or range of cells in which you want to fill the color
  2. Click the ‘Home’ tab

  1. In the Font group, click on the ‘Fill Color’ icon
  1. Click on the color that you want to fill in the selected cell

If you don’t find the color you want to fill in the options that show up in Step 3, you can click on the ‘More Colors’ options.

This will open the colors dialog box where you get more colors as well as the option to specify the hex color code or the RGB code

Fun Fact: There are approximately 16.6 million different colors you can use in Excel

Shortcuts to Fill Color in Cells in Excel

Let’s look at some shortcut ways you can use to fill color in cells in Excel.

Keyboard Shortcut to Fill Color in Cells

Let’s start with a keyboard shortcut that will quickly allow you to open the options that show all the colors that you can fill in a cell (all the selected range of cells).

To use this keyboard shortcut, you first need to select the cell or the range of cells in which you want to fill the color and then hit these keys in succession (ALT then H, and then H).

The above keyboard shortcut would open the Fill Color panel that shows you all the colors, where you can use the arrow keys to navigate to the color you want to fill and then hit the Enter key.

While this keyboard shortcut may seem faster than using your mouse to click on the Home tab and then click on the color panel and then select the color, one major drawback of this method is that you cannot select the color you need with this keyboard shortcut. You need to use the arrow keys to navigate to the color you want, which makes this keyboard shortcut slow to use

Pros of this shortcut

  • Faster than using the mouse (once you get used to it)
  • Allows you to not switch from keyboard to mouse

Cons of this shortcut

  • Doesn’t allow selecting a color and you need to navigate using the arrow keys
  • Slower than expected
  • Hard to remember

Pro Tip: If you want to quickly remove the color from a cell or range of cells, you can use the keyboard shortcut ALT + H + H + N

Adding Fill Color Option to the Quick Access Toolbar (QAT)

You can also add the Fill Color icon in the Quick Access Toolbar so that you always have access to it with a single click.

So, instead of going to the Home tab and then locating the Fill Color icon, you can get the same option with a single click.

Below are the steps to add the fill color icon in the Quick Access Toolbar:

  1. In the Quick Access Toolbar click on the ‘Customize the Quick Access Toolbar’ icon

  1. In the options that show up, click on ‘More Commands’

  1. In the ‘Excel Options’ dialog box that opens up, select the ‘Fill Color’ icon option

The above steps would add the fill color icon in the QAT.

To use this, just click on the ‘Fill Color’ icon in the QAT and it’ll show you the palette of colors that you can choose from.

One big benefit of adding icons in the Quick Access Toolbar is that you can also use these icons with a simple keyboard shortcut:

In our example, since the Fill Color icon is the second option in the QAT, I can use the keyboard shortcut ALT + 2 (where I need to hold the ALT key and then press the 2 key)

As you can see, this keyboard shortcut is a lot better than the regular keyboard shortcut of the fill color icon ALT + H + H

Pros

  • You always have access to the Fill Color option with a single click
  • The keyboard shortcut for icons in the QAT is usually shorter

Cons

  • You need to add the Fill color icon in the QAT first (one-time effort)
  • If you use the mouse to access it, it only saves you one click (so not significantly better than using the option in the ribbon)

Using F4 to Repeat Fill Color Operation

This is not really a direct keyboard shortcut to fill color in any cell or range of cells, however, if you have already used one of the above options to fill color in a cell or range, you can repeat the same action by using the F4 key.

Here is how you can use the F4 key to fill color in Excel:

  1. Select a cell in which you want to fill the color
  2. Use the keyboard shortcut or the Fill Color icon in the ribbon to fill the color in the selected cell
  3. Now select any other cell or range of cells that you want to fill with the same color
  4. Hit the F4 key

When you use the F4 key in Step 4, it repeats the same action that has been done just before using it.

In our example, since we first filled a cell with a specific color, and then use the F4 key, it repeated the same action.

You can continue to use the F4 key to fill color in multiple cells/ranges as long as you don’t do anything else.

You can even use this across worksheets and other open workbooks

Pros:

  • Huge timesaver as you can do the action once and repeat it as many times as you want
  • Works across other worksheets as well as other open workbooks

Cons:

  • Since it’s dependent on the last action, as soon as you do anything else, you won’t be able to use this keyboard shortcut to fill the color

[Advanced] Creating Your Own Shortcut to Fill Color Using VBA

If there is some specific color that you often need to fill in Excel, you can create your own VBA code and install that as an add-in.

Once you do that, you will be able to use simple keyboard shortcuts (that you yourself assign in the VBA code) to quickly fill color in the selected cells.

Below are the detailed steps to create an add-in using VBA code that will allow you to use shortcuts to fill color in the selected cells:

  1. Open a new Excel workbook
  2. Click the Developer tab and then click on the Visual Basic icon. this will open the VBA editor. If you do not see the Developer tab, you can use the keyboard shortcut ALT + F11 (or read this guide on how to get the developer tab in the ribbon)
  1. In Project Explorer, double-click on the ‘ThisWorkbook’ object. If you don’t see Project Explorer, click on the ‘View’ option in the menu and then click on ‘Project Explorer’
  1. Copy and paste the below code into the ThisWorkbook code window

  1. Click the Insert option in the menu and click on ‘Module’. This will insert a new module for this workbook

  1. Copy and paste the below code in the module code window

  1. Close the VB editor
  2. Click the File tab and then click on Save As

  1. Click on the Browse option and select the location where you want to save the add-in

  1. In the ‘Save as type’ drop-down, select the Excel add-in (.XLAM) option

With the above steps, we have our add-in that we can install in any Excel workbook so that the VBA code would be available in all the workbooks on our system.

Below are the steps to add this add-in into an excel workbook:

  1. Open a new Excel workbook (you can also use any existing workbook that is already open)
  2. Click the Developer tab
  3. In the Add-ins group, click on Excel Add-ins

  1. In the Add-ins dialog box, click the ‘Browse’ button

  1. Locate and select the add-in that we have already created and saved

  1. Click Ok
  2. Click OK in the Add-ins dialog box (make sure the add-in you added is checked)

The above steps have added the add-in we created to the Excel workbook. And going forward, this add-in would be available in all the Excel workbooks that you use on your system (new as well as existing)

Now you can use the below keyboard shortcuts to fill color in selected cells in Excel.

To fill Red color:

To fill Blue color:

To fill Green color:

In this example, I have shown you how to create a couple of keyboard shortcuts that you can use to fill red, blue, or green colors in the selected cells.

You can modify the VBA code to specify your own color and even create more keyboard shortcuts.

Note: You need to keep the add-in file that we created in the same location for the add-in to continue to work. If you delete this file, you won’t be able to use this add-in in any of the Excel files. In case you change the location of the add-in file, you need to install it again.

Pros:

  • Easy to use once set-up
  • You can create your own shortcuts and use these in any workbook once the add-in is installed

Cons

  • The initial setup is long and a bit advanced for beginner Excel users
  • Add-ins can sometimes create issues and conflict with existing Excel features or other add-ins

Using Paint Format to Easily Copy and Fill Colors

Excel also allows you to quickly copy the formatting from one cell (or a range of cells) and paste this formatting to other cells.

This can easily be done using the Format Painter tool.

And since the color of the cell is part of the formatting, you can also use this to quickly copy the color of any cell end applied to other cells

Below I have a data set where I have cell color in some of the headers that contain the month name, I need to fill the same color in the other headers that do not have any color in the cell.

Since I want the same color to be filled to the headers in cells D1, E1, and F1, instead of doing it manually, I can copy the color from the existing colored cell, and then apply it to these non-filled cells.

Below are the steps to fill color using Format Painter:

  1. Select the cell that already has the color that you want to copy
  2. Click the Home tab
  3. In the Clipboard group, click on the Format Painter icon
  1. Select the cell (or range of cells) on which you want to fill the same color

Pro Tip: If you want to continue to use the format painter to fill color in multiple cells, double-click on the format painter icon in Step 3. When you click on the format painter icon once, you can only use it once, but when you double click on it, it remains active unless you hit the Escape key or use some other option

Remember that the format printer option would copy all the formatting of the source cell and apply it to the destination cell. This could include cell color, border, font color font size, as well as conditional formatting.

One way many advanced Excel users use the Format Painter tool is to copy the conditional formatting rules from one area and apply it to some other area in the worksheet.

In this tutorial, I showed you some shortcut methods you can use to fill color in the cells in Excel. You can use a keyboard shortcut or add the Fill color icon in the Quick Access Toolbar to use it.

And if you need some specific colors to be quickly applied to the selected cells, you can also consider using the VBA method that allows you to create your own keyboard shortcuts. You can create an add-in using the VBA code so that these shortcuts are available in all the Excel files on your system.

I hope you found this excel tutorial useful.

Other Excel articles you may also find helpful:

Источник

Learn how to apply Excel fill color shortcut to change the background or shading colors of a cell using various methods.

In this guide, all demonstrated fill color shortcuts are for Excel for Windows versions 2010, 2013, 2016, 2019, and Office365.

If you are looking for keyboard shortcuts to fill a cell quickly, you are at the right place. In this article, we’ll show you the best practices and workarounds.

Table of content:

  1. How to use the fill color shortcut in Excel
  2. Apply the Alt, H, H shortcut
  3. The fastest way: Fill Color Shortcuts Add-in in Excel
  4. Add Fill Color Menu to Quick Access Toolbar

The fact is that there is no built-in keyboard shortcut in Excel that fills color to a cell. Luckily, Excel offers some workarounds to perform this task.

Apply the Alt, H, H shortcut to open the Fill color menu

To open the Fill Color menu, use the Alt, H, H shortcut, and Excel shows the color palette dialog. You can view the color palettes, the theme colors, and the standard colors.

fill color shortcut key to open the fill color menu in excel

Steps to apply a fill color shortcut:

  1. Select the cells that you want to color
  2. Press Alt, H, H top open the Fill color menu
  3. Use the arrow keys to move on the color grid
  4. Select the color that you want to apply
  5. Press Enter to fill color to the selected cell or range

Shortcut to use no fill: Alt, H, H, N

Shortcut to show more colors on the palette: Alt, H, H, M

This way is a bit faster than the default method (Clicking the Home Tab and using the Colors drop-down menu)

Fill Color Shortcuts Add-in in Excel

If you are familiar with VBA, we have a piece of good news. VBA makes life easier. I wrote a tiny custom Excel add-in that allows you to assign custom keyboard shortcuts for all purposes.

This guide will demonstrate the fastest way to apply a command using a user-defined shortcut key.

In the example, you want to use the Excel green color palette for your reports. The Application.Onkey method help to assign a fill color shortcut key to color.

fill color shortcut to excel palette add-in

Press Alt + F11 to open the VBA editor window and copy the code to ThisWorkBook:

Option Explicit
Private WithEvents appEvents As Application
Private Sub Workbook_Open()
Set appEvents = Application
Application.OnKey "+1", "Fill_Green1"
Application.OnKey "+2", "Fill_Green2"
Application.OnKey "+3", "Fill_Green3"
Application.OnKey "+4", "Fill_Green4"
Application.OnKey "+5", "Fill_Green5"
End Sub

Create a new module and add the following code:

Sub Fill_Green1()
Selection.Interior.Color = RGB(51, 196, 129)
End Sub
Sub Fill_Green2()
Selection.Interior.Color = RGB(33, 163, 102)
End Sub
Sub Fill_Green3()
Selection.Interior.Color = RGB(16, 124, 65)
End Sub
Sub Fill_Green4()
Selection.Interior.Color = RGB(24, 92, 55)
End Sub
Sub Fill_Green5()
Selection.Interior.Color = RGB(13, 114, 57)
End Sub

The new shortcut keys are: Shift +1 to Shift +5

You can download the fill color add-in here. Play with it; replace the code if you want. Also, don’t forget to check this guide on how to install an Excel add-in.

If you don’t want to use keyboard shortcuts, there is a way to pin the Fill Color menu on the Quick Access Toolbar.

  1. Click File > Options
  2. Select the Quick Access Toolbar from the list
  3. Select All commands and choose the Fill color
  4. Add the command to the QAT, then click OK
Add Fill Color Menu to Quick Access Toolbar

Now the menu appears in the QAT. From now on, you can use the method mentioned above to select the fill color.

QAT color dialog

Steps to using a fill cell color command:

  1. Add the Fill color menu to the QAT
  2. Press Alt, 5 (or position number in the QAT) to open the Fill Color dialog
  3. Use the arrow keys to navigate between colors and select the color
  4. Press Enter to apply the selected color to the cell or range of cells

This way is an excellent alternative to the Alt, H, H fill color shortcut. We recommend you place the most frequently used commands in the QAT. It is not necessary to switch between Excel tabs to reach the fill color command.

Repeat the last action using F4 Key or Alt+Enter

Sometimes it can be useful if you can repeat the last action. In Excel, the shortcut key for this purpose is F4.

In the example, we have used the Alt, H, H fill color shortcut to apply a green background to cell B3. Next, move the cursor to cell B4, then press F4.

press f4 to repeat the last action

Excel will repeat the last action and will use a green background for cell B3. So easy!

Copy and Paste formatting using shortcuts

Last but not least, you can use the copy formatting command to apply a fill color to a cell.

Steps to apply the Paste Formatting Button on the QAT:

  1. Add the Paste Formatting button to the QAT
  2. Copy the cell (Ctrl + C) that contains the formatting style
  3. Select the destination cell or the range of cells
  4. Press Alt+5 (or the current position number of the QAT button) to apply the formatting
paste formatting qat

Tip: You can use one of a paste special shortcut keys to speed up the task. After pressing Ctrl + C, select the target cell or range and use the Alt, H, V, R Paste Format keyboard shortcut.

alt-h-v-r-paste-special-format

Final thoughts

Today we have introduced some tricks to apply the fill color shortcut in Excel. Pick your favorite way! Also, we recommend using our small, flexible add-in. Stay tuned.

Additional resources:

  • Excel Shortcuts – The Ultimate Guide

Filling a background color in a cell or range of cells is a common task that most of Excel users have to do on a daily basis.

While it’s quite easy to fill color in a cell in Excel (using the inbuilt option in the ribbon), it’s not the fastest way to do it.

And if this is something you have to do multiple times in a day, knowing faster ways to fill color in a cell would make you more efficient and also save time.

And needless to say, you can always use the shortcuts and tricks I cover in this tutorial to impress your boss and colleagues.

Regular Way to Fill Color in Cells

Before I show you some shortcut ways to fill color in Excel, let me quickly show you the regular way of doing it:

  1. Select the cell or range of cells in which you want to fill the color
  2. Click the ‘Home’ tab
Click the home tab
  1. In the Font group, click on the ‘Fill Color’ icon
Click the fill color icon
  1. Click on the color that you want to fill in the selected cell
Select the color you want to fill

If you don’t find the color you want to fill in the options that show up in Step 3, you can click on the ‘More Colors’ options.

This will open the colors dialog box where you get more colors as well as the option to specify the hex color code or the RGB code

More color dialog box

Fun Fact: There are approximately 16.6 million different colors you can use in Excel

Shortcuts to Fill Color in Cells in Excel

Let’s look at some shortcut ways you can use to fill color in cells in Excel.

Keyboard Shortcut to Fill Color in Cells

Let’s start with a keyboard shortcut that will quickly allow you to open the options that show all the colors that you can fill in a cell (all the selected range of cells).

ALT + H + H

To use this keyboard shortcut, you first need to select the cell or the range of cells in which you want to fill the color and then hit these keys in succession (ALT then H, and then H).

The above keyboard shortcut would open the Fill Color panel that shows you all the colors, where you can use the arrow keys to navigate to the color you want to fill and then hit the Enter key.

While this keyboard shortcut may seem faster than using your mouse to click on the Home tab and then click on the color panel and then select the color, one major drawback of this method is that you cannot select the color you need with this keyboard shortcut. You need to use the arrow keys to navigate to the color you want, which makes this keyboard shortcut slow to use

Pros of this shortcut

  • Faster than using the mouse (once you get used to it)
  • Allows you to not switch from keyboard to mouse

Cons of this shortcut

  • Doesn’t allow selecting a color and you need to navigate using the arrow keys
  • Slower than expected
  • Hard to remember

Pro Tip: If you want to quickly remove the color from a cell or range of cells, you can use the keyboard shortcut ALT + H + H + N

Adding Fill Color Option to the Quick Access Toolbar (QAT)

You can also add the Fill Color icon in the Quick Access Toolbar so that you always have access to it with a single click.

So, instead of going to the Home tab and then locating the Fill Color icon, you can get the same option with a single click.

Below are the steps to add the fill color icon in the Quick Access Toolbar:

  1. In the Quick Access Toolbar click on the ‘Customize the Quick Access Toolbar’ icon
Click on the customize the quick access toolbar option
  1. In the options that show up, click on ‘More Commands’
Click on More Commands
  1. In the ‘Excel Options’ dialog box that opens up, select the ‘Fill Color’ icon option
Choose the fill color option in the Excel Options dialog box
  1. Click on the Add button
Click the Add button
  1. Click OK

The above steps would add the fill color icon in the QAT.

Fill color icon added to qat

To use this, just click on the ‘Fill Color’ icon in the QAT and it’ll show you the palette of colors that you can choose from.

One big benefit of adding icons in the Quick Access Toolbar is that you can also use these icons with a simple keyboard shortcut:

ALT + Number (which is the position of the icon in the QAT)

In our example, since the Fill Color icon is the second option in the QAT, I can use the keyboard shortcut ALT + 2 (where I need to hold the ALT key and then press the 2 key)

As you can see, this keyboard shortcut is a lot better than the regular keyboard shortcut of the fill color icon ALT + H + H

Pros

  • You always have access to the Fill Color option with a single click
  • The keyboard shortcut for icons in the QAT is usually shorter

Cons

  • You need to add the Fill color icon in the QAT first (one-time effort)
  • If you use the mouse to access it, it only saves you one click (so not significantly better than using the option in the ribbon)

Using F4 to Repeat Fill Color Operation

This is not really a direct keyboard shortcut to fill color in any cell or range of cells, however, if you have already used one of the above options to fill color in a cell or range, you can repeat the same action by using the F4 key.

Here is how you can use the F4 key to fill color in Excel:

  1. Select a cell in which you want to fill the color
  2. Use the keyboard shortcut or the Fill Color icon in the ribbon to fill the color in the selected cell
  3. Now select any other cell or range of cells that you want to fill with the same color
  4. Hit the F4 key

When you use the F4 key in Step 4, it repeats the same action that has been done just before using it.

In our example, since we first filled a cell with a specific color, and then use the F4 key, it repeated the same action.

You can continue to use the F4 key to fill color in multiple cells/ranges as long as you don’t do anything else.

You can even use this across worksheets and other open workbooks

Pros:

  • Huge timesaver as you can do the action once and repeat it as many times as you want
  • Works across other worksheets as well as other open workbooks

Cons:

  • Since it’s dependent on the last action, as soon as you do anything else, you won’t be able to use this keyboard shortcut to fill the color

[Advanced] Creating Your Own Shortcut to Fill Color Using VBA

If there is some specific color that you often need to fill in Excel, you can create your own VBA code and install that as an add-in.

Once you do that, you will be able to use simple keyboard shortcuts (that you yourself assign in the VBA code) to quickly fill color in the selected cells.

Below are the detailed steps to create an add-in using VBA code that will allow you to use shortcuts to fill color in the selected cells:

  1. Open a new Excel workbook
  2. Click the Developer tab and then click on the Visual Basic icon. this will open the VBA editor. If you do not see the Developer tab, you can use the keyboard shortcut ALT + F11 (or read this guide on how to get the developer tab in the ribbon)
Click on Visual basic icon
  1. In Project Explorer, double-click on the ‘ThisWorkbook’ object. If you don’t see Project Explorer, click on the ‘View’ option in the menu and then click on ‘Project Explorer’
Double click on This workbook icon
  1. Copy and paste the below code into the ThisWorkbook code window
Private Sub Workbook_Open()
Set AppEvents = Application
Application.OnKey "+1", "Fill_Red"
Application.OnKey "+2", "Fill_Blue"
Application.OnKey "+3", "Fill_Green"
End Sub
Copy paste the code in the thisworkbook code window
  1. Click the Insert option in the menu and click on ‘Module’. This will insert a new module for this workbook
Insert a module
  1. Copy and paste the below code in the module code window
Sub Fill_Red()
Selection.Interior.Color = RGB(255, 0, 0)
End Sub

Sub Fill_Blue()
Selection.Interior.Color = RGB(0, 0, 255)
End Sub

Sub Fill_Green()
Selection.Interior.Color = RGB(0, 255, 0)
End Sub
Code copied in the module
  1. Close the VB editor
  2. Click the File tab and then click on Save As
Click on Save as
  1. Click on the Browse option and select the location where you want to save the add-in
Click on Browse
  1. Give the Add-in a name
Give a name to the add-in
  1. In the ‘Save as type’ drop-down, select the Excel add-in (.XLAM) option
Save type as Excel addin
  1. Click on Save

With the above steps, we have our add-in that we can install in any Excel workbook so that the VBA code would be available in all the workbooks on our system.

Below are the steps to add this add-in into an excel workbook:

  1. Open a new Excel workbook (you can also use any existing workbook that is already open)
  2. Click the Developer tab
  3. In the Add-ins group, click on Excel Add-ins
Click on Excel add-in
  1. In the Add-ins dialog box, click the ‘Browse’ button
Click the Browse option
  1. Locate and select the add-in that we have already created and saved
Locate and select the addon
  1. Click Ok
  2. Click OK in the Add-ins dialog box (make sure the add-in you added is checked)
Click ok to activate the addin

The above steps have added the add-in we created to the Excel workbook. And going forward, this add-in would be available in all the Excel workbooks that you use on your system (new as well as existing)

Now you can use the below keyboard shortcuts to fill color in selected cells in Excel.

To fill Red color:

Shift + 1

To fill Blue color:

Shift + 2

To fill Green color:

Shift + 3

In this example, I have shown you how to create a couple of keyboard shortcuts that you can use to fill red, blue, or green colors in the selected cells.

You can modify the VBA code to specify your own color and even create more keyboard shortcuts.

Note: You need to keep the add-in file that we created in the same location for the add-in to continue to work. If you delete this file, you won’t be able to use this add-in in any of the Excel files. In case you change the location of the add-in file, you need to install it again.

Pros:

  • Easy to use once set-up
  • You can create your own shortcuts and use these in any workbook once the add-in is installed

Cons

  • The initial setup is long and a bit advanced for beginner Excel users
  • Add-ins can sometimes create issues and conflict with existing Excel features or other add-ins

Using Paint Format to Easily Copy and Fill Colors

Excel also allows you to quickly copy the formatting from one cell (or a range of cells) and paste this formatting to other cells.

This can easily be done using the Format Painter tool.

And since the color of the cell is part of the formatting, you can also use this to quickly copy the color of any cell end applied to other cells

Below I have a data set where I have cell color in some of the headers that contain the month name, I need to fill the same color in the other headers that do not have any color in the cell.

Dataset to copy formatting and fill other colors

Since I want the same color to be filled to the headers in cells D1, E1, and F1, instead of doing it manually, I can copy the color from the existing colored cell, and then apply it to these non-filled cells.

Below are the steps to fill color using Format Painter:

  1. Select the cell that already has the color that you want to copy
  2. Click the Home tab
  3. In the Clipboard group, click on the Format Painter icon
Format Painter icon
  1. Select the cell (or range of cells) on which you want to fill the same color
Other header cells have been filled

Pro Tip: If you want to continue to use the format painter to fill color in multiple cells, double-click on the format painter icon in Step 3. When you click on the format painter icon once, you can only use it once, but when you double click on it, it remains active unless you hit the Escape key or use some other option

Remember that the format printer option would copy all the formatting of the source cell and apply it to the destination cell. This could include cell color, border, font color font size, as well as conditional formatting.

One way many advanced Excel users use the Format Painter tool is to copy the conditional formatting rules from one area and apply it to some other area in the worksheet.

In this tutorial, I showed you some shortcut methods you can use to fill color in the cells in Excel. You can use a keyboard shortcut or add the Fill color icon in the Quick Access Toolbar to use it.

And if you need some specific colors to be quickly applied to the selected cells, you can also consider using the VBA method that allows you to create your own keyboard shortcuts. You can create an add-in using the VBA code so that these shortcuts are available in all the Excel files on your system.

I hope you found this excel tutorial useful.

Other Excel articles you may also find helpful:

  • Excel Paste Special Shortcuts That Will Save You Tons of Time
  • How to Select Entire Column (or Row) in Excel – Shortcut
  • How to Indent in Excel (3 Easy Ways + Keyboard Shortcut)
  • Copy and Paste Multiple Cells in Excel (Adjacent & Non-Adjacent)
  • 200+ Excel Keyboard Shortcuts – 10x Your Productivity
  • How to Sum by Color in Excel (Formula & VBA)
  • How to Sort By Color in Excel (in less than 10 seconds)
  • How to Count Colored Cells in Excel – A Step by Step Tutorial + Video
  • How to Edit Cells in Excel? (Shortcuts)

If you’re wondering how to fill a cell with color in Excel, then it’s probably because you are trying to make your data easier to understand visually. Use these steps to fill a cell with color in Excel.

How Do You Fill a Cell with Color in Excel?

  1. Open your spreadsheet in Excel.
  2. Select the cell or cells to color.
  3. Click the Home tab at the top of the window.
  4. Click the down arrow to the right of the Fill Color button.
  5. Choose the color to use to fill the cell(s.)

Our article continues below with more information on how to color cells in Excel, as well as pictures of the steps outlined above.

Using formulas like concatenate can greatly improve your working experience with Microsoft Excel, but the formatting of your data can be equally important as the formulas that you use within it.

Learning how to fill a cell with color in Excel is beneficial when you need to visually separate certain types of data in a spreadsheet that you might not otherwise be able to distinguish from one another. The cell fill color makes it easy to identify like types of data that might not be physically located near one another in your worksheet.

Excel spreadsheets can become very difficult to read as they expand to include more rows and columns. This is especially true of spreadsheets that are larger than your screen and require you to scroll in a direction that removes the column or row headings from view.

Last update on 2023-04-13 / Affiliate links / Images from Amazon Product Advertising API
| As an Amazon Associate, I earn from qualifying purchases.

One way to combat this problem with reading Excel data on your screen is to fill a cell with color. If you want to learn how to fill a cell with color in Excel, then maybe you have seen other people create multi-colored spreadsheets that consist of a number of different filled cells that run for the entire length of a row or column.

While initially this might seem like an exercise that is simply meant to make a spreadsheet appear more attractive, it actually serves an important function by letting the document viewer know what row a particular piece of data is contained within.

Our guide on how to expand all rows in Excel can provide you with a simple way to increase the height of your rows in order to show all of the data contained within your cells.

Microsoft Excel 2010 includes a specific tool that you can use to fill a selected cell with a certain color. You can even choose the color that you want to use to fill that cell. That tool is accessed by clicking the Home tab at the top of the Excel window, and is circled in the image below.

use the Excel fill color icon to fill a cell, row or column with color

For example, when I am creating a large spreadsheet, I like to use colors that are distinctly different but are not so distracting that the document becomes hard to read.

If the text in your cells is black, then you will want to avoid using darker fill colors. Sticking to colors like yellow, light green, light blue, and orange will make it very easy for someone to recognize the different cells, but they will not have any difficulty reading the data within them.

This is the most important part because the data is still the reason that the spreadsheet exists in the first place.

To add color to the background of your cell, you must first click the cell to select it. Click the drop-down arrow to the right of the Fill color icon, then click the color that you want to apply to the selected cell.

The background color will change to the color that you selected. If you want to know how to change fill color in Excel 2010, simply click the cell with the fill color that you want to change, then click the Fill color drop-down arrow and choose a different color.

how to color cells in Excel

Now that you know how to color cells in Excel you can use this method to sort and organize your data by simply changing the color of the background in your spreadsheet cells.

If you are not able to change the fill color using this method, then there is some other formatting rule applied to your cell that you need to adjust. Read this article to learn about removing conditional formatting from Excel.

How to Fill a Row With Color in Excel or How to Fill a Column With Color in Excel

The process for applying color to a row or column in Excel is nearly the same as how to apply fill color in Excel to a single cell.

Start by clicking the row or column label (either a letter or number) that you want to apply the fill color to. Once clicked, the entire row should be selected. Click the Fill color icon in the ribbon, then click the color that you want to apply to that row or column. Additionally, if you want to learn how to change the fill color in a row or column in Excel, simply select the filled column or row and use the Fill color icon to select a different color.

how to fill a row with color in Excel

By using these methods to apply fill colors to your Excel spreadsheet, you can make it much easier to see which row or column a particular cell is included within. The image below is an example of a spreadsheet that has been completely colored in, which should give you an idea of what you can do with this tool.

how you fill a cell with color in Excel

Organizing data in this fashion is not particularly necessary when you are dealing with such a small amount of data but, for larger spreadsheets, it can make locating specific types of information much simpler.

Note that using fill colors in this manner is best accomplished when you are done editing your data. The cell fill color won’t stick with the data if you start rearranging rows and columns, so you could wind up with a colorful mess.

Fixing it is as easy as simply re-defining your fill colors, but that can be a pretty big waste of time if you have applied fill color to a lot of your data.

One additional benefit to using fill colors in Excel is the ability to then sort based on those colors. Learn how to sort by fill color in Excel 2010 and take advantage of the formatting that you have applied to your cells.

The next section provides additional information on how to color cells in Excel, such as how to use conditional formatting, and how to apply cell color to multiple cells at the same time.

More Information on How to Format Cells with Cell Color in Microsoft Excel Spreadsheets

Note that you can apply cell colors to one cell, multiple cells, or you could even select the entire sheet by clicking on a single cell then pressing the Ctrl + A keyboard shortcut.

There are some other ways that you can create colored cells in Excel.

For example, if you select all the cells that you want to color, even if there are multiple cells, then you can right-click on those cells and choose the Format Cells option. This opens the Format Cells dialog box.

right click and choose Format Cells

Here you will find a Fill tab at the top of the window that you can use to change the cell background color. You can even click the More Colors button here if you would like to use a color code to modify the color of the cell.

how to color cells in Excel from the Format Cells menu

One other option that you can consider to highlight data with cell colors is to apply conditional formatting. This lets you choose a conditional format based on the cell value so that Excel will format only cells that fit those criteria.

For example, you could choose to format cell values over zero with a green color and make a red cell if it contains a value below zero, or you could apply background colors based on the selected cells containing certain words.

You can find the Conditional Formatting option on the Home tab in the Styles section of the ribbon. Simply click the Conditional Formatting button, choose the parameters, and select format options based on how you want excel to color in your cells.

how to color cells in Excel with conditional formatting

The rules applied during the process of setting up the conditional formatting parameters will apply the cell color based on the options you select.

If none of the color code based options that you see on this dropdown menu offer the solution that you are looking for, then you could click the New rule button and choose your own format.

If you are using Google Sheets and want to be able to color cells, then you are also able to do that. Simply open the spreadsheet in Google Sheets, select the cells that you wish to color, then click the Fill Color button in the toolbar above the spreadsheet. You could also click the Format button at the top of the window and use Conditional formatting or alternating colors there for some more advanced methods of coloring spreadsheet cells.

Additional Sources

Matthew Burleigh has been writing tech tutorials since 2008. His writing has appeared on dozens of different websites and been read over 50 million times.

After receiving his Bachelor’s and Master’s degrees in Computer Science he spent several years working in IT management for small businesses. However, he now works full time writing content online and creating websites.

His main writing topics include iPhones, Microsoft Office, Google Apps, Android, and Photoshop, but he has also written about many other tech topics as well.

Read his full bio here.

There are several ways to color format cells in Excel, but not all of them accomplish the same thing. If you want to fill a cell with color based on a condition, you will need to use the Conditional Formatting feature.

Fill a cell with color based on a condition

Before learning to conditionally format cells with color, here is how you can add color to any cell in Excel. 

Cell static format for colors

You can change the color of cells by going into the formatting of the cell and then go into the Fill section and then select the intended color to fill the cell.

In the above example, the color of cell E3 has been changed from No Fill to Blue color, and notice that the value in cell E3 is 6 and if we change the value in this cell from 6 to any other value the cell color will not change and it will always remain blue. What does this mean?

This means that cell color is independent of cell value, so no matter what value will be in E3 the cell color will always be blue. We can refer to this as static formatting of the cell E3.

Conditional formatting cell color based on cell value

Now, what if we want to change the cell color based on cell value? Suppose we want the color of cell E3 to change with the change of the value in it. Say, we want to color code the cell E3 as follows:

  • 0-10 : We want the cell color to be Blue
  • 11-20 : We want the cell color to be Red
  • 21-30 : We want the cell color to be Yellow
  • Any other value or Blank : No color or No Fill.

We can achieve this with the help of Conditional Formatting. On the Home tab, in the Style subgroup, click on Conditional FormattingNew Rule.

Note: Make sure the cell on which you want to apply conditional formatting is selected

Then select “Format only cells that contain,” then in the first drop down select “Cell Value” and in the second drop-down select “between” :

Then, on the first box, enter 0 and in the second box, enter 10, then click on the Format button and go to Fill Tab, select the blue color, click Ok and again click Ok. Now enter a value between 0 and 10 in cell E3 and you will see that cell color changes to blue and if there is any other value or no value then cell color revert to transparent.

Repeat the same process for 11-20 and 21-30 and you’ll see that number changes as per the value of the cell.

Conditional formatting with text

Similarly, we can do the same process for text values as well instead of numerical values by using the “Specific Text” in the first drop down and in the second drop-down select either of 4 values containing, not containing, beginning with, ending with and then enter the specific text in the text box.

For Example:

First, select the cell on which you want to apply conditional format, here we need to select cell B1. On the home tab, in the Styles subgroup, click on Conditional Formatting→New Rule.

Now select Format only cells that contain the option, then in the first drop down select “Specific Text” and in the second drop-down select either of the 4 options: containing, not containing, beginning with, ending with. In the example below, we use beginning with “J” and then select Format button to select Blue as the fill color.

Conditional format based on another cell value

In the example above, we are changing the cell color based on that cell value only, we can also change the cell color based on other cells value as well. Suppose we want to change the color of cell E3 based on the value in D3, to do that we have to use a formula in conditional formatting.

Now suppose if we want to change cell E3 color to blue if the D3 value is greater than 3 and to green if the D3 value is greater than 5 and to red, if D3’s value is greater than 10, we can do that with the conditional format using a formula.

Again follow the same procedure.

First, select the cell on which you want to apply conditional format, here we need to select cell E3. On the home tab, in the Styles subgroup, click on Conditional Formatting→New Rule.

Now select Use a formula to determine which cells to format option, and in the box type the formula: D3>5; then select Format button to select green as the fill color.

Keep in mind that we are changing the format of cell E3 based on cell D3 value, note that the cursor now is pointing at E3, which is the cell we use to set conditional format. The formula “=D3>5” means if D3 is greater than 5 then the value of E3 will change to green. Click ok and see the color of cell E3 changes to green as D3 right now contains 6.

Now let’s apply the conditional formatting to E3 if D3 is greater than 3. This means if D3>3 then cell color should become “Blue” and if D3>5 then cell color should remain green as we did it in the previous step.

Now, if you follow the above steps as we did for Green color, you will see that even if the cell value is 6, it is showing blue color and not green, because it takes the latest conditional formatting we set for that cell, and as 6 is also greater than 3 hence it is showing blue color but it should show green color.

So, we have to arrange the rules we have applied for any particular cells, we can do that by going into Manage Rules option of conditional formatting.

You can see all the rules applied to that cell and then we can arrange the rules or set their priority by using the arrow buttons. A number greater than 5 will also be greater than 3, hence greater than 5 rule will take higher priority and we can move it upward using the arrow buttons.

Now when you enter 6 in D3, the cell color of E3 will become green and when you enter 4, the cell color will become blue.

If you are tired of reading too many articles without finding your answer or need a real Expert to help you save hours of struggle, click on this link to enter your problem and get connected to a qualified Excel expert in a few seconds. You can share your file and an expert will create a solution for you on the spot during a 1:1 live chat session. Each session last less than 1 hour and the first session is free.

Are you still looking for help with Conditional Formatting? View our comprehensive round-up of Conditional Formatting tutorials here.

How to fill color in excel cell using formula? You can do this by conditional formatting option. When you use colors in your excel worksheets you can instantly visualize the difference or comparison in value. Additionally, specification of important information gets easy. In order to specify the condition, you can use IF statement and then use conditional formatting to highlight the conditions.

If you are wondering how to fill color in excel cell using formula, here is your guide to it. So, read entire article.

Note: There is only one way to access conditional formatting as below

Use colors under certain conditions

1. Open the document having some data. Here is an example of test grades of students in terms of percentage. In this data many students passed while few failed. If we need to find fail students without wasting time, use conditional formatting.

2. Use the IF statement before applying colors. To do this, click on C3.

3. Now type equals sign and if in this cell. Then press Enter, the IF statement is activated

4. Now go to cell B3, click it and type st part of condition telling if the cell value is less than 40.

5. Now type comma, and then write Fail in inverted commas like this  “Fail”

6. Again type comma, and then write Pass in inverted commas. This is the full condition which means that if the value is less than 40, type fail, otherwise pass.

7. When you press Enter key. The Pass word is shown because the student scored more than 40% grades.

8.In order to apply this function to all cells till end, click on the cell C3 again then click the right corner of the cell, drag vertically till B28.

9. Now to apply conditional formatting, click again on cell C3 and go to Conditional Formatting under Home tab. A drop down box appears.

10. Put your mouse at Highlight Cell Rules, a drop down box appears.

11. Click “Text That Contains” option in drop down menu.

12. A dialogue box opens. Now click the arrow at the right of blank field.

13. Now click C3 and press Enter. Notice the value is specified.

14. Now click on the down arrow. A drop box appears to select colors.

15. Click Light Red Fill for this example.

16. Click Ok. The text in cell C3 is filled with light red color.

17. Click on C3 cell, hover mouse at bottom right corner, click and drag. All the text containing word Pass get highlighted.

18. Now to find which student failed, repeat the whole procedure but type Fail in “Text That Contains” dialogue box and select “Green Fill With Dark Green Text” as the color.

19. Press Enter. Nothing happens to C3 as the cell has word Pass.

20. when you click and drag cursor from C3 to C28. All the cells having Fail written get highlighted in different color.

So this is whole process of how to fill color in excel cell using formula. Need to edit Word/Excel/PPT file free of charge? download WPS Office edit files like without any cost. Download now! to get enjoyable working experience.

Like this post? Please share to your friends:
  • Excel color cell from value
  • Excel college of education
  • Excel collapse all rows
  • Excel code for dates
  • Excel closing all documents