A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Including cells that are highlighted in a formula



 
 
Thread Tools Display Modes
  #1  
Old December 30th, 2009, 06:30 PM posted to microsoft.public.excel.misc
Robin
external usenet poster
 
Posts: 481
Default Including cells that are highlighted in a formula

I have a strange requirement maybe, but I do a budget spreadsheet on which I
highlight items that have cleared my checking account. I would like to be
able to write a formula that sums only the cells that are highlighted a
certain color. Is this possible?
  #2  
Old December 30th, 2009, 06:34 PM posted to microsoft.public.excel.misc
Robin
external usenet poster
 
Posts: 481
Default Including cells that are highlighted in a formula

let me clear this up a little. I don't really mean "highlighted" as in I
highlighted them with a mouse. What I mean is formatted with a fill color.
sorry for the confusion.

"Robin" wrote:

I have a strange requirement maybe, but I do a budget spreadsheet on which I
highlight items that have cleared my checking account. I would like to be
able to write a formula that sums only the cells that are highlighted a
certain color. Is this possible?

  #3  
Old December 30th, 2009, 07:17 PM posted to microsoft.public.excel.misc
David Biddulph
external usenet poster
 
Posts: 8,714
Default Including cells that are highlighted in a formula

You can't do it with a formula; it'll need VBA:

Colour functions:
a.. http://www.cpearson.com/excel/colors.aspx
b.. http://xldynamic.com/source/xld.ColourCounter.html
c.. http://www.ozgrid.com/VBA/Sum.htm

--
David Biddulph


Robin wrote:
let me clear this up a little. I don't really mean "highlighted" as
in I highlighted them with a mouse. What I mean is formatted with a
fill color. sorry for the confusion.

"Robin" wrote:

I have a strange requirement maybe, but I do a budget spreadsheet on
which I highlight items that have cleared my checking account. I
would like to be able to write a formula that sums only the cells
that are highlighted a certain color. Is this possible?



  #4  
Old December 30th, 2009, 09:06 PM posted to microsoft.public.excel.misc
Robin
external usenet poster
 
Posts: 481
Default Including cells that are highlighted in a formula

do I have to have an add-in or something to do VBA in Excel?

"David Biddulph" wrote:

You can't do it with a formula; it'll need VBA:

Colour functions:
a.. http://www.cpearson.com/excel/colors.aspx
b.. http://xldynamic.com/source/xld.ColourCounter.html
c.. http://www.ozgrid.com/VBA/Sum.htm

--
David Biddulph


Robin wrote:
let me clear this up a little. I don't really mean "highlighted" as
in I highlighted them with a mouse. What I mean is formatted with a
fill color. sorry for the confusion.

"Robin" wrote:

I have a strange requirement maybe, but I do a budget spreadsheet on
which I highlight items that have cleared my checking account. I
would like to be able to write a formula that sums only the cells
that are highlighted a certain color. Is this possible?



.

  #5  
Old December 30th, 2009, 09:23 PM posted to microsoft.public.excel.misc
David Biddulph
external usenet poster
 
Posts: 8,714
Default Including cells that are highlighted in a formula

No.
--
David Biddulph

Robin wrote:
do I have to have an add-in or something to do VBA in Excel?

"David Biddulph" wrote:

You can't do it with a formula; it'll need VBA:

Colour functions:
a.. http://www.cpearson.com/excel/colors.aspx
b.. http://xldynamic.com/source/xld.ColourCounter.html
c.. http://www.ozgrid.com/VBA/Sum.htm

--
David Biddulph


Robin wrote:
let me clear this up a little. I don't really mean "highlighted" as
in I highlighted them with a mouse. What I mean is formatted with a
fill color. sorry for the confusion.

"Robin" wrote:

I have a strange requirement maybe, but I do a budget spreadsheet
on which I highlight items that have cleared my checking account. I
would like to be able to write a formula that sums only the cells
that are highlighted a certain color. Is this possible?



.



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:12 PM.


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