Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
DavidMunday
 
Posts: n/a
Default Trouble with dates......


I do not know any VB but I have experience with C and Java. I have data
sets on a worksheet that are from different days, which are then
orgranized into one worksheet per week. Can anyone explain how I could
make a form inside a work sheet that would allow me to enter in a pair
of dates to display a particualr summation of the data set in a graph
depending on the time frame the user requests.


EX:

Hours worked sheet:
9/22/04 15
9/23/04 4
9/24/04 10


Report Sheet:
Data Range: __________ (user enters: 9/22/04 - 9/24/04)
Hours worked: 29

Thanks,
David


--
DavidMunday
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

On your report sheet you need 2 cells to enter the data range, one for the
start date and one for the end date.

Then, assume on the Hours worked sheet the dates are in column A, A2:A100
and the corresponding hours worked are in column B, B2:B100.

Formula on Report sheet assuming start date is in cell B2 and end date is in
cell C2:

=SUMPRODUCT(--(Hours_worked_sheet!A2:A100=B2),--(Hours_worked_sheet!A2:A100<=C2),Hours_worked_shee t!B2:B100)

Biff

"DavidMunday" wrote in
message ...

I do not know any VB but I have experience with C and Java. I have data
sets on a worksheet that are from different days, which are then
orgranized into one worksheet per week. Can anyone explain how I could
make a form inside a work sheet that would allow me to enter in a pair
of dates to display a particualr summation of the data set in a graph
depending on the time frame the user requests.


EX:

Hours worked sheet:
9/22/04 15
9/23/04 4
9/24/04 10


Report Sheet:
Data Range: __________ (user enters: 9/22/04 - 9/24/04)
Hours worked: 29

Thanks,
David


--
DavidMunday



Reply
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
Using dates for x-axis values as string instead of creating a scale cs_weirdo Charts and Charting in Excel 2 June 17th 05 12:20 AM
Trouble with Dates between 2 seperate worksheets Julie Excel Discussion (Misc queries) 3 March 4th 05 07:57 PM
How sort dates just by day/month and NOT year if all 3 given in ce smags Excel Worksheet Functions 1 January 25th 05 03:45 AM
Formating Dates for production schedule dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 08:43 PM
due dates Niki New Users to Excel 4 January 10th 05 04:11 PM


All times are GMT +1. The time now is 03:45 AM.

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

About Us

"It's about Microsoft Excel"