Solved

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

Posted on 2013-06-06
7
182 Views
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?
0
Comment
Question by:SFrongillo
  • 4
  • 3
7 Comments
 
LVL 35

Expert Comment

by:[ fanpages ]
ID: 39225869
Hi,

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

However,...
...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.

BFN,

fp.
0
 

Author Comment

by:SFrongillo
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.
0
 
LVL 35

Expert Comment

by:[ fanpages ]
ID: 39226021
Hi,

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?

BFN,

fp.
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

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

Expert Comment

by:[ fanpages ]
ID: 39226261
Thanks.

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?
0
 

Accepted Solution

by:
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.
0
 

Author Closing Comment

by:SFrongillo
ID: 39686699
closing
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying 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

Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
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…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

840 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