My friend Prathap, Yes, there is. I did it in the Sample I am returning to you, but I would strongly recommend other simpler ways to do it.
The point is that up to Excel-07, microsoft has not implemented any default functions that deals with cells background colors (if I am wrong, somebody tells me), so you would have to use a macro solution. Because I think that macros should be used to make things simpler, and not more complicated, I would suggest you to use an auxiliary row under the "in/out", with the letters "Y/G/V", and them simply use a =countif() function on the row. The result should be the same. However, if this sample is part of a much bigger worksheet, and it's impracticable to do it manually, I think it's OK to use the code I am sending. The instructions are on the sheet, and some explanations on the code. On Sun, Aug 8, 2010 at 3:54 PM, Prathap <prathap....@gmail.com> wrote: > Dear Experts, > > In the attached excel sheet i have employees attendance details for the > entire month (Leaves - Violet, On Duty - Yellow, Present - Green Etc) with > different color fills. I need the count of leaves, On duty, Etc for each > employee. > > Is there is any way to count color wise, for each employee. Thanks in > advance. > > Best Regards, > PRATHAP D > M +91 9899-370-328 > > -- > > ---------------------------------------------------------------------------------- > Some important links for excel users: > 1. Follow us on TWITTER for tips tricks and links : > http://twitter.com/exceldailytip > 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 > 3. Excel tutorials at http://www.excel-macros.blogspot.com > 4. Learn VBA Macros at http://www.quickvba.blogspot.com > 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com > > To post to this group, send email to excel-macros@googlegroups.com > > <><><><><><><><><><><><><><><><><><><><><><> > HELP US GROW !! > > We reach over 7000 subscribers worldwide and receive many nice notes about > the learning and support from the group.Let friends and co-workers know they > can subscribe to group at > http://groups.google.com/group/excel-macros/subscribe > -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 7000 subscribers worldwide and receive many nice notes about the learning and support from the group.Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe
Sample.xlsm
Description: Binary data