Just i want to count the working days based on names in the listed file through macros. (except Saturday and Sunday)
regards Lokesh.M On Fri, Feb 24, 2012 at 8:13 PM, dguillett1 <dguille...@gmail.com> wrote: > send a file with a complete explanation. > > Don Guillett > SalesAid Software > dguille...@gmail.com > > *From:* lokesh <lokeshsmg2...@gmail.com> > *Sent:* Friday, February 24, 2012 7:20 AM > *To:* excel-macros@googlegroups.com > *Subject:* $$Excel-Macros$$ instead of formula need macros > > > Hi All,**** > > **** > > I am using this formula to extract the working days in a month, but this > formula is very big and while pulling the report it takes too much time to > pull the report.**** > > **** > > So I need a macros instead of this formula. Could you please solve this > query to me.**** > > **** > > Formula is = Selection.FormulaArray = _**** > > > "=SUM(IF((R2C4:R50000C4=RC[-14])*(R2C4:R50000C4>=R[-1]C[-22])*(R2C2:R50000C2<=R[-2]C[-7]), > (1/COUNTIFS(R2C4:R50000C4, R2C4:R50000C4, R2C2:R50000C2, R2C2:R50000C2)), > 0))"**** > > Range("X4").Select**** > > **** > > **** > > Regards**** > > Lokesh.M**** > -- > FORUM RULES (986+ members already BANNED for violation) > > 1) Use concise, accurate thread titles. Poor thread titles, like Please > Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice > will not get quick attention or may not be answered. > > 2) Don't post a question in the thread of another member. > > 3) Don't post questions regarding breaking or bypassing any security > measure. > > 4) Acknowledge the responses you receive, good or bad. > > 5) Cross-promotion of, or links to, forums competitive to this forum in > signatures are prohibited. > > NOTE : Don't ever post personal or confidential data in a workbook. Forum > owners and members are not responsible for any loss. > > > ------------------------------------------------------------------------------------------------------ > To post to this group, send email to excel-macros@googlegroups.com > > -- > FORUM RULES (986+ members already BANNED for violation) > > 1) Use concise, accurate thread titles. Poor thread titles, like Please > Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice > will not get quick attention or may not be answered. > > 2) Don't post a question in the thread of another member. > > 3) Don't post questions regarding breaking or bypassing any security > measure. > > 4) Acknowledge the responses you receive, good or bad. > > 5) Cross-promotion of, or links to, forums competitive to this forum in > signatures are prohibited. > > NOTE : Don't ever post personal or confidential data in a workbook. Forum > owners and members are not responsible for any loss. > > > ------------------------------------------------------------------------------------------------------ > To post to this group, send email to excel-macros@googlegroups.com > -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com