VBA Code to sum shaded cells
Stacey,
Why don't you do a conditional sum based upon the same criteria that the CF
is using< such as
=SUMPRODUCT(--(A1:A100<TODAY()))
--
HTH
RP
(remove nothere from the email address if mailing direct)
"SMac" wrote in message
...
I have a worksheet that has over 3,000 rows and I have a COST column that
is
shaded when the DATE column is below a certain date (which I used
conditional
formating).
Now what I would like to do is added together all the shaded COST fields -
what do I need to write to accomplish this?
Thanks!
Stacey
|