Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Change cell color based on either being empty or change from existing

Posted on 2013-06-06
Medium Priority
Last Modified: 2013-11-30
I have a large spreadsheet with various cells containing data or they are blank.  I have used the excel's conditional formatting to highlight the cells that are blank, but is there a way to 1) highlight all the blank cells one color, and 2) change the cell color of any existing cell (including the blank ones) to another color when the cell contents change or if the blank cell becomes filled?
Question by:SFrongillo
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 35

Expert Comment

by:[ fanpages ]
ID: 39225869

I am not sure if you were looking for manual, semi-automatic, or fully automatic approaches.

...is there a way to 1) highlight all the blank cells one color

Quickly in the active (selected) worksheet...

Use the [CTRL]+[G] key combination, & click the [Special...] button.

Select "Blanks", & click [OK].

If you wish to change the colo(u)r of the (now) selected cells, use [CTRL]+[F1] & set the formatting as required.



Author Comment

ID: 39225898
Thanks - that was easy to get to the blank cells, but I also need part 2 - to change cell color when value of cell changes from blank to not blank or if contents of cell changes.  This way I can quickly find what cells have been updated on the spreadsheet.
LVL 35

Expert Comment

by:[ fanpages ]
ID: 39226021

Yes, sorry, I saw the full question, but if the first proposal was not suitable alternate options may have impacted proposals for the second part.

Can we confirm the specifications for the second part of your question to a greater depth, please?

Do you wish to "baseline" all the cells on a worksheet at a fixed point in time; those that are presently empty, for instance?

Then, if any of these change, then the cell colo(u)r will change too?

Or, do you just wish to "mark" any cell in a different colo(u)r regardless of a previous value (empty, or otherwise), whenever it changes?


Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 39226163
I'm attaching a sample of what I'm looking for so this will help you understand what I'm after.
LVL 35

Expert Comment

by:[ fanpages ]
ID: 39226261

So, you just want a change in Interior (Background) colo(u)r & the typeface to change to Bold whenever a cell changes (regardless of the original value)?

Do you wish to have a distinct start point & a distinct stop point (or method of confirming when to start &/or when to stop doing this), or should the Visual Basic for Applications code just continue changing cell formatting in this manner forever more?

Accepted Solution

SFrongillo earned 0 total points
ID: 39229266
Visual Basic for Applications code just continue changing cell formatting in this manner forever more....

I generate a new spreadsheet each day so that would be a new starting point.

Author Closing Comment

ID: 39686699

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question