View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
David Biddulph[_2_] David Biddulph[_2_] is offline
external usenet poster
 
Posts: 8,651
Default convert higlighted days inexcel calendar to value, then sum

Can't do it by a formula. Needs VBA.

http://www.cpearson.com/excel/colors.aspx gives some examples of how to use
VBA for cell colours.
--
David Biddulph

"Twishlist" wrote in message
...
I have an excel calendar on which I have highlighted particular dates. I
would like a formula that looks at the range and counts the cells that are
highlighted yellow, then multiplies that number by a x hours.
Is that easy to achieve?