Week Number/Month/Year Assignment Questions

AnnRanger

New Member
Joined
Aug 18, 2017
Messages
1
Hi All,

Just started a new job and things have been going well until now. I been given an assignment in excel and cannot figure out how to do it. Up until now, I am a intermediate excel user, know the basic functions including pivot tables.

Here is what I am trying to do:

I have 3,650 records in an excel table. Each of the records represents a task to be completed starting 1/1/2018. 70 tasks will be completed per week.

1) I want to add a column that assigns a week# to each block of 70 records, (e.g., First 70 records all have week#1 associated with them, next 70 records all have week#2 associated, etc.)

2) Then I want to add another column that identifies the month and year for each of the records, based on the week assigned to that record.

3) Finally, how can the month assignment take into account that for a week that straddles two months, some of the 70 records will fall in one month and the remainder of the 70 records will fall in the next month (e.g., of the 70 records assigned to week 5, 40 of those records will be in January and the remaining 30 records will be in Feb.)

Any help will be VERY much appreciated. Thanks in advance.

Ann
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Let's see if we can get some dialog on this.
Sure, this table is NOT as what you see but rather a summation of what I anticipate that you desire:

[TABLE="width: 278"]
<colgroup><col span="2"><col><col></colgroup><tbody>[TR]
[TD]Records
[/TD]
[TD="colspan: 2"]Wk Assign End Wk
[/TD]
[TD]Month
[/TD]
[/TR]
[TR]
[TD]1-70[/TD]
[TD]Wk1[/TD]
[TD="align: right"]8/01/2018[/TD]
[TD="align: right"]Jan-18[/TD]
[/TR]
[TR]
[TD]71-140[/TD]
[TD]Wk2[/TD]
[TD="align: right"]15/01/2018[/TD]
[TD="align: right"]Jan-18[/TD]
[/TR]
[TR]
[TD]141-210[/TD]
[TD]Wk3[/TD]
[TD="align: right"]22/01/2018[/TD]
[TD="align: right"]Jan-18[/TD]
[/TR]
[TR]
[TD]211-280[/TD]
[TD]Wk4[/TD]
[TD="align: right"]29/01/2018[/TD]
[TD="align: right"]Jan-18[/TD]
[/TR]
[TR]
[TD]281-350[/TD]
[TD]Wk5[/TD]
[TD="align: right"]5/02/2018[/TD]
[TD="align: right"]Feb-18[/TD]
[/TR]
[TR]
[TD]351-420[/TD]
[TD]Wk6[/TD]
[TD="align: right"]12/02/2018[/TD]
[TD="align: right"]Feb-18
[/TD]
[/TR]
</tbody>[/TABLE]

I have "batches" of 70 records each assigned with a week number and its ending date. The month has been assigned using the mmmm-yy custom format.
Where do you need to take this from here?
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,320
Members
452,635
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top