Adding totals by the week

avixion
StarLounger
Posts: 85
Joined: 15 Apr 2017, 17:59

Adding totals by the week

Post by avixion »

Hello,

I am trying to find a way to do a couple of things. 1st (in worksheet 1) in column K, L M and N, it is calculating the numbers of YES and NO. What I am looking for is to move the totals based on the weeks in dates in column B and move the totals to (worksheet 2, tab WA) and put the totals by the week. for example is the date is between Monday January 29, 2024 to February 4, 2024, it will put that total in that week and so on.

Please see the attached worksheets 1 and 2. I hope this makes sense.

thanks,
Avixion
You do not have the required permissions to view the files attached to this post.

User avatar
HansV
Administrator
Posts: 78523
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Adding totals by the week

Post by HansV »

It's unfortunate that 1.xlsx is organized by month and 2.xlsm by week. For example, the week of 29th January, 2024 can have data in the January sheet and in the February sheet.
Can't you move all data in 1.xlsx to a single sheet for the entire year?
Best wishes,
Hans

avixion
StarLounger
Posts: 85
Joined: 15 Apr 2017, 17:59

Re: Adding totals by the week

Post by avixion »

That is true that end of January data may fall in a little bit in February and same with other months as well. As far as merging two sheets together is unfortunately difficult because sheet 1 will be updated by each individual departments and sheet 2 will be housed in a separate folder pulling data from all those sheets in one place for auditing.

avixion
StarLounger
Posts: 85
Joined: 15 Apr 2017, 17:59

Re: Adding totals by the week

Post by avixion »

If we can use column A (Date Funded) in sheet 1 instead of column B, which means it will not fall into next month, is there a way to make it work?

avixion
StarLounger
Posts: 85
Joined: 15 Apr 2017, 17:59

Re: Adding totals by the week

Post by avixion »

Also, we can only collect totals from columns K and L in sheet 1 and not use columns M and N and move those totals in sheet 2 by weeks.

User avatar
HansV
Administrator
Posts: 78523
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Adding totals by the week

Post by HansV »

I'll have a look.
Best wishes,
Hans

User avatar
HansV
Administrator
Posts: 78523
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Adding totals by the week

Post by HansV »

I'm sorry, i have looked at it, but it's too complicated with this layout.
Best wishes,
Hans

avixion
StarLounger
Posts: 85
Joined: 15 Apr 2017, 17:59

Re: Adding totals by the week

Post by avixion »

Thank you for checking Hans. I appreciate it.

User avatar
p45cal
2StarLounger
Posts: 150
Joined: 11 Jun 2012, 20:37

Re: Adding totals by the week

Post by p45cal »

Are the columns K:N in the January sheet of workbook1.xlsx derived from the table immediately to the left?
If so it's actually easier to query 1.xlsx from 2.xlsx than it is to query 1.xlsx from itself.
If not, could those columns be included in that table?

From a little exploration, I was quite easily able to get this into 2.xlsm by querying 1.xlsx:
2024-01-31_020410.jpg
(I've hidden weeks with no data)

or like this:
2024-01-31_021713.jpg
You do not have the required permissions to view the files attached to this post.