PC Review


Reply
Thread Tools Rate Thread

Is conditional formatting or formula possible by cell color?

 
 
=?Utf-8?B?SiBCaWxseQ==?=
Guest
Posts: n/a
 
      29th Jun 2007
I was working on a formula in my budget.

Right now, all deductions and deposits are entered in the same column
(column B). With the current balance in the account in column c.

I differentiate between what I spend the money on by highlighting the cell
in column b a specific color or shade.

What I want to do in column E is keep track of money spent per color. Just
one color specifically (gray-25% - index 15).

Is it possible to have a conditional format in an IF formula?

I was thinking something like:

IF(B721=(interior.colorindex=15),SUM(E720+B721),E720)

I tried it but no cigar... am I close at all?

Is it even possible?

Thanks

James
--
J B
IT Professional
DC/VA
 
Reply With Quote
 
 
 
 
Rick Rothstein \(MVP - VB\)
Guest
Posts: n/a
 
      30th Jun 2007
>I was working on a formula in my budget.
>
> Right now, all deductions and deposits are entered in the same column
> (column B). With the current balance in the account in column c.
>
> I differentiate between what I spend the money on by highlighting the cell
> in column b a specific color or shade.
>
> What I want to do in column E is keep track of money spent per color. Just
> one color specifically (gray-25% - index 15).
>
> Is it possible to have a conditional format in an IF formula?
>
> I was thinking something like:
>
> IF(B721=(interior.colorindex=15),SUM(E720+B721),E720)
>
> I tried it but no cigar... am I close at all?


Why can't you use the same condition you used for the conditional format in
your IF statement? If it was sufficient to get the color right, it should be
sufficient to decide if the cell is colored or not.

Rick

 
Reply With Quote
 
MartinW
Guest
Posts: n/a
 
      30th Jun 2007
Hi James,

Take a look at Bob Phillips' site
http://xldynamic.com/source/xld.Colo...r.html#sorting

HTH
Martin



"J Billy" <(E-Mail Removed)> wrote in message
news:E183960D-D5DA-4287-88F1-(E-Mail Removed)...
>I was working on a formula in my budget.
>
> Right now, all deductions and deposits are entered in the same column
> (column B). With the current balance in the account in column c.
>
> I differentiate between what I spend the money on by highlighting the cell
> in column b a specific color or shade.
>
> What I want to do in column E is keep track of money spent per color. Just
> one color specifically (gray-25% - index 15).
>
> Is it possible to have a conditional format in an IF formula?
>
> I was thinking something like:
>
> IF(B721=(interior.colorindex=15),SUM(E720+B721),E720)
>
> I tried it but no cigar... am I close at all?
>
> Is it even possible?
>
> Thanks
>
> James
> --
> J B
> IT Professional
> DC/VA



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting - only 1 word in the cell changes color? Roady Microsoft Excel Misc 6 11th Feb 2010 06:24 PM
How to change the color of a cell using conditional formatting? LeBeauf8331 Microsoft Excel New Users 1 7th Jan 2010 11:14 PM
Conditional Formatting using color based on another cell Michael Gwin Microsoft Excel Misc 2 19th Oct 2009 10:01 PM
Cell color and conditional formatting Skeetra27 Microsoft Excel Misc 2 24th Jul 2009 03:43 PM
Conditional Formatting and Cell Color nemadrias Microsoft Excel Worksheet Functions 7 28th Jul 2006 05:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:37 AM.