LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Date Question

If dates in K and failures in L then enter 12/1/2007 date in cell o1. The
next formula in o2
$O$1-WEEKDAY($O$1,3)+ROW(A1)*7
and copy down as desired. Then in p2
=SUM(IF(($K$2:$K$22=O2)*($K$2:$K$22<=O2+6),$L$2:$ L$22))
adjust number of rows to suitARRAY enter using ctrl+shift+enter. Then copy
down to match col o

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Ben" wrote in message
...
I have two worksheets: Report and Weekly Report. On the report I have the
data listed by days. Some days are five day work weeks and some can be up
to
seven day work weeks.

Simple example below
Report
Date Failures
12/3 5
12/4 6
12/5 3
12/6 9
12/7 10
12/10 3
12/12 2
12/15 1

I want the weekly report to look like this:
Week Of Failures
12/3 33
12/10 6

I want to use macros for these examples.

Thanks


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date question Ziggy Excel Worksheet Functions 3 April 18th 10 03:22 PM
DATE question WLMPilot Excel Worksheet Functions 2 January 20th 09 09:42 PM
Date Question [email protected].(donotspam) Excel Discussion (Misc queries) 2 May 23rd 08 03:30 PM
Date Question Bob Myers Excel Worksheet Functions 4 January 15th 08 06:28 PM
Date question Greg B[_4_] Excel Programming 9 March 25th 05 02:28 AM


All times are GMT +1. The time now is 05:53 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"