Solved

Sum of Weekending

Posted on 2014-02-13
2
231 Views
Last Modified: 2014-02-13
Is there a way to give total for the week ending for each week in the Year
Grand total for each week would be put into field [SumOftotalWorkWeek]

I included a Test Database for this scenario.
Table: Copy Of Date_Sales
Query: Query1
WeekEndingTotals.mdb
0
Comment
Question by:ca1358
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
Gozreh earned 500 total points
ID: 39856849
Change your Query1 to this
SELECT Max([Copy Of Date_Sales].SalesDate) AS LastDateOfWeek, (DatePart("ww",[SalesDate])) AS WorkWeek, Sum([Copy Of Date_Sales].LoanAmt) AS SumOfLoanAmt
FROM [Copy Of Date_Sales]
GROUP BY (DatePart("ww",[SalesDate]))
ORDER BY Max([Copy Of Date_Sales].SalesDate);

Open in new window

0
 

Author Closing Comment

by:ca1358
ID: 39856892
Thank you very much!!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question