How to shade or color blank or nonblank cells in Excel?
Supposing you want to shade/color all blank cells (or nonblank cells) in a specified range in Excel. How could you fill or shade all blank cells at a time in Excel?
Color nonblank cells with Kutools for Excel (only 2 steps)
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
With this method you can quickly color the empty cells in the worksheet.
1. Select the specified range where you will shade all blank cells (or nonblank cells).
2. Click Home > Find & Select > Go To Special…to open the Go To Special dialog box. And then check the Blanks option in this dialog box, see screenshot:
Note: For selecting all nonblank cells, please check the Constants option.
3. Click OK. And all of the blank cells (or nonblank cells) have been selected in the specified range.
4. And then click Home > Fill Color and choose the color you'd like to fill. See screenshot:
And all of the empty cells (or nonblank cells) have been shaded.
You can also apply Conditional Formatting to shade blank (or nonblank) cells. With this method, when you enter data into a blank cell (or remove data from a nonblank cell), the shading color in this cell will be restored to the default color. You can do as follows:
1. Select the range where you will shade all blank (or nonblank) cells. See screenshot:
2. Then click Home > Conditional Formatting > New Rule to open the New Formatting Rule dialog box.
3. In the opening dialog box, please click Use a formula to determine which cells to format in the Select a Rule Type box, and enter the formula =A1= "" (A1 is the first cell in the specified range) into the Format values where this formula is true box, and click the Format button.
Note: For shading all nonblank cells in the specified range, please enter this formula =A1<>"" into the Format values where this formula is true box.
3. Then in the Format Cell dialog box, select a fill color on the Fill tab, and click the OK button.
4. And it will return to the New Formatting Rule dialog box, you can preview the color in the Preview box, and please click the OK button to apply this conditional formatting.
All of the blank cells (or nonblank cells) in the specified range have been shaded. When you type some data into the colored blank cells (or remove data from nonblank cells), the cell will return to the default background color.
This method will guide you apply Kutools for Excel’s Select Nonblank Cells utility to select all nonblank cells in a specified range, and then color them easily in Excel.
1. Select the range where you will color all nonblank cells together, and click Kutools > Select > Select Nonblank Cells. See screenshot:
Then a dialog box will come out and tell you how many nonblank cells have been selected. Click the OK button to close it. See screenshot above.
2. Add fill color for these selected cell by clicking Home > Fill Color and selecting a fill color from drop down list. See screenshot:
So far we have colored all nonblank cells together in the specified range as below screenshot shown:
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 3 years agoHey, thanks for the help. Just one question, is there a way to fill in nonblank cells and leave cells with a formula but no value blank?
- To post as a guest, your comment is unpublished.· 3 years agoI actually had to reverse the formula to say =A1"" and Format the conditional format the normal format (no fill and black text) and then format the range the way I wanted the blanks to look (light red fill) to get it to work. I am not sure why it would not detect the empty cells but it could detect the not empty cells. maybe it was because it was a table built linked to a query.
But either way i can use it, so thanks so much.
- To post as a guest, your comment is unpublished.· 3 years agoExcellent, clear and concise instructions. Great when you can google a question, find the answer and the instructions are simple and clear.
- To post as a guest, your comment is unpublished.· 4 years agoI wanted to JUST shade cells in excel that are blank using a formula but your formula shades all cells with any content blank or otherwise. Is there a formula other than "" for blank cells?
- To post as a guest, your comment is unpublished.· 4 years agoVendor1 Vendor2 Vendor3 Vendor4 Vendor5 Low Bid Vendor For Low Bid
Product1 8 6 3 8 3
Product2 6 4 4 3 5
Product3 8 6 6 8 3
Product4 6 7 7 8 4
Product5 8 8 3 3 5
Product6 8 4 7 3 7
Product7 5 8 7 4 5
Product8 4 6 6 7 4
Product9 4 8 6 7 3
Product10 6 6 5 7 5
Product11 4 5 6 4 3
How we can do this can any one help me
- To post as a guest, your comment is unpublished.· 5 years agoThanks a lot for both the method,it worked perfectly well.
- To post as a guest, your comment is unpublished.· 5 years agoWorked perfectly ^^ Thanks a lot!
- To post as a guest, your comment is unpublished.· 6 years agoThanks for both methods.
- To post as a guest, your comment is unpublished.· 6 years agoHi I have a data sheet where different contact are saved. Phone Nr.1, Phone2, Phone3, Phone4. I need to delete all rows where all 4 selected cells(e.g. A2, B2, C2, D2) are blank. Its about 7000 rows I have to clean up. Can you help? thx L.
- To post as a guest, your comment is unpublished.· 5 years agoI would just filter those columns so that only blanks are showing in all four fields. Then just delete those rows. Not sure if there is a more slick way, but that seems easy.
- To post as a guest, your comment is unpublished.· 6 years agoColoring every other field can be achieved by using a theme on your spreadsheet
- To post as a guest, your comment is unpublished.· 6 years agoI just want to shade every other cell? How can I do this
- To post as a guest, your comment is unpublished.· 6 years agoI tried both ways and they both worked perfectly. Now, is there any way that I could write a formula that highlighted the blanks via the rows only? :cry:
- To post as a guest, your comment is unpublished.· 6 years agoThank you! It did just what I wanted.
- To post as a guest, your comment is unpublished.· 6 years agoNicely done. tried check for "" a bunch of different ways, never tried it that way. selecting blanks is elegant as well, but I have to check for other dynamic values.
- To post as a guest, your comment is unpublished.· 6 years agoAwesome. good to learn both methods. Awesome
- To post as a guest, your comment is unpublished.· 6 years agoA better way is to set up a Conditional Rule from the New Formatting Rule dialog, under Rule Type, select "Format only cells that contain" and select "Blanks," then click Format>Fill, etc.
- To post as a guest, your comment is unpublished.· 6 years agoThe =A1= “” formula worked perfectly - Thanks