View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default Some wierd and wonderful macro required

=SUMIF(C:C,"="&TODAY(),D:D)

to turn it red , select all the rows (assuming starting at 2) and use
conditional formatting with a condition of Is Formula, and a formula of

=D2<TODAY()



--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"malycom" wrote in message
...
Hi all, sorry about the subject line but I don't know how to define the
problem in a short way.

Basically, a work buddy has a spreadsheet with the following criteria

Column C contains a manually input date which displays a maturity date of
a
service in the following format dd/mm/yyyy

Column D COntains a value for the service in a two decimal currency

Assume there are 10 rows of each

When I run the macro, I would like to have a cell display the sum of the
total values.

Now the interesting bit. If I run the macro and the date value of colum C
is less than TODAY's date, I would like to miss leave out the value field
for
that particular row. Ideally, turning that row RED also would be
fantastic
as it would immediately show matured services without having to look to
closely.

Thanks in advance

Mal