Advertisement

09.18.2008 at 12:46PM PDT, ID: 23743748
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.2

Excel 2003 - Summing data from one worksheet to another base on criteria

Asked by holemania in Microsoft Excel Spreadsheet Software

Tags: ,

It's been a while since I work with Excel and in need of tweaking an excel file to do some calculation and moving data from one worksheet to another.

What I have is a worksheet that pull some hours from a database using sql query for each job.  This worksheet would pull the date, hours, and type of work for each job into that worksheet.  What I would like to do is that on a 2nd worksheet, I would like to sum all the hours for each week period and put it under each category for that week.

From what I provided, Sheet1 will pull those information from database.  I would like to create some kind of VBScript or something that would base it off a week period.  So looking at Sheet1, if the date falls within that week period on sheet2, it would keep adding the hours until all t he date from that week period ends.  Sheet2 will have static week period date  in 7 days a week (example 6/28/2008, 7/5/2008, 7/12/2008,etc).

I know that it's possible to sum the hours for each category and can be copied to another worksheet.  However, I do not know how to set it so that it only falls within that week period.  Example looking at the data below, date 6/30/2008 and 7/4/2008 should sum the total hours and put in sheet2 under that period and same category.  Any suggestions or ideas?

See example below:  
Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
SHEET1 - INFORMATION FROM QUERY
DATE	JOB#	CUT	ASSEMBLED	GRIND
		HOURS 	HOURS 	HOURS 
6/30/2008	8898	1.26	0	0
7/4/2008	8983	3.20	13	7.5	
7/10/2008	93123	2	2	0
7/15/2008	99223	0	3.6	0
 
 
SHEET2 - TOTAL SUM FOR THAT PERIOD
WEEK 6/28	                       CUT		ASSEMBELD		GRIND
	HOURS PLANNED	4.46		15.0			7.5
 
 
WEEK 7/5		           CUT		ASSEMBELD		GRIND
	HOURS PLANNED	2		2			0
 
 
WEEK 7/12		           CUT		ASSEMBELD		GRIND
	HOURS PLANNED	0		3.6			7.5
[+][-]09.20.2008 at 03:43AM PDT, ID: 22529105

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.22.2008 at 06:49AM PDT, ID: 22539910

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.22.2008 at 06:59AM PDT, ID: 22540010

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Excel Spreadsheet Software
Tags: Microsoft Office, Excel 2003
Sign Up Now!
Solution Provided By: pkhari
Participating Experts: 1
Solution Grade: A
 
 
[+][-]09.22.2008 at 08:01AM PDT, ID: 22540641

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.22.2008 at 08:56AM PDT, ID: 22541178

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628