Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default using the functions of the excel to identify if a color in the cellchanged

Hi
i will need to build a sum using the functionalities of excel to
identify if a cell change his color
for example

only green cells should be counted
1(white)
2(white)
3(green)
4(green)
------------
the sum will be 7

it is very easy to do it via vba but i would like to do it via the
functionalities of excel
is it posible?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default using the functions of the excel to identify if a color in the cell changed

Excel formulas cannot see the colors in the cells; so if you are manually
coloring them, then you can't do what you want. However, if the cells get
their color from Conditional Formatting, then you should be able to build
your worksheet formulas using the logical formulas from the Conditional
Format.

--
Rick (MVP - Excel)


"thread" wrote in message
...
Hi
i will need to build a sum using the functionalities of excel to
identify if a cell change his color
for example

only green cells should be counted
1(white)
2(white)
3(green)
4(green)
------------
the sum will be 7

it is very easy to do it via vba but i would like to do it via the
functionalities of excel
is it posible?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default using the functions of the excel to identify if a color in the cell changed

First of all no event is triggered when a user changes a cell format, though
things may update in the next calculate event.

That aside, from what you describe I think you'd be better off with VBA. The
only non-VBA way I know of is with a named XL4macro formula, which will be
restricted to returning the format of a cell that's always in the same
offset to the cell containing the named formula.

Regards,
Peter T


"thread" wrote in message
...
Hi
i will need to build a sum using the functionalities of excel to
identify if a cell change his color
for example

only green cells should be counted
1(white)
2(white)
3(green)
4(green)
------------
the sum will be 7

it is very easy to do it via vba but i would like to do it via the
functionalities of excel
is it posible?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel color functions foxspirit Excel Worksheet Functions 1 February 23rd 06 06:22 PM
Using Excel functions to color a cell Michael Excel Discussion (Misc queries) 2 December 17th 05 12:23 PM
How do I identify cell color for comparison? Jackyl71 Excel Worksheet Functions 3 September 27th 05 08:29 PM
Identify Cell Color Index Voskre Excel Programming 7 July 25th 04 12:10 AM
Identify rows with certain background color? DonLi Excel Programming 4 January 23rd 04 10:38 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"