Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Business Applications Business Applications
Search Search
Search for:
Tech Support Guy > > >

Excel Linking an IF statement with a Fill Color


(!)

Officedude's Avatar
Officedude Officedude is offline
Junior Member with 3 posts.
THREAD STARTER
 
Join Date: Sep 2005
Experience: Intermediate
13-Sep-2005, 10:53 AM #1
Excel Linking an IF statement with a Fill Color
HI, I am really trying to link an IF statetment if a cell is shadded. Once cell (E44) is shadded, i need Cell (T33) to be linked to cell (B3). If the cell has not been shaded then cell (T33) is to be left blank or with a - in it. I just need to know how to link a cell using a fill color (dont care if its all of them) if its even posable. I tryed using cell color but hasnt worked yet.

Thanks in advance.

Officedude
Anne Troy's Avatar
Computer Specs
Member with 11,731 posts.
 
Join Date: Feb 1999
Location: Allentown, PA
Experience: Intermediate
13-Sep-2005, 12:44 PM #2
Formulas and colors don't mix. Instead, use a conditional format with a formula, like this:

http://www.officearticles.com/excel/...soft_excel.htm
Officedude's Avatar
Officedude Officedude is offline
Junior Member with 3 posts.
THREAD STARTER
 
Join Date: Sep 2005
Experience: Intermediate
14-Sep-2005, 09:05 AM #3
I've tryed this, however, I can't figure out how to nest this conditional format within an IF Statement. What i need is if cell "A" is filled, then cell "B" will display the contents of cell "C" so to speak. Any sugestions?
Officedude's Avatar
Officedude Officedude is offline
Junior Member with 3 posts.
THREAD STARTER
 
Join Date: Sep 2005
Experience: Intermediate
20-Sep-2005, 11:47 AM #4
Fill Colour linked in an IF Statement
Quote:
Originally Posted by Officedude
I've tryed this, however, I can't figure out how to nest this conditional format within an IF Statement. What i need is if cell "A" is filled, then cell "B" will display the contents of cell "C" so to speak. Any sugestions?
Anne Troy's Avatar
Computer Specs
Member with 11,731 posts.
 
Join Date: Feb 1999
Location: Allentown, PA
Experience: Intermediate
20-Sep-2005, 12:12 PM #5
Sorry. I've already said: Formulas and colors don't mix.

You could potentially use VBA, but you will not find a formula that will accomplish this task. They don't exist. The only other thing I can imagine is that cell B ALWAYS contains the contents of cell C, but is conditionally formatted as white font if cell A is empty.
Anne Troy's Avatar
Computer Specs
Member with 11,731 posts.
 
Join Date: Feb 1999
Location: Allentown, PA
Experience: Intermediate
20-Sep-2005, 12:17 PM #6
Looks like you could possibly use this UDF:
http://vbaexpress.com/kb/getarticle.php?kb_id=190

And then combine that formula with yours. Something like this in column b:
=if(ConditionalColor(A1,"interior")="color",C1,"")

(where color is the color to match)
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑

Content Relevant URLs by vBSEO 3.3.2