Ranges of numbers from source sheet to individual sheets

troych

New Member
Joined
Jan 3, 2021
Messages
1
Hi there, first post, rather complicated (at least for me) problem. Is this possible the way I want?

I've got a sheet with ranges of numbers for each calendar week, I then have seperate sheets for every calendar week (week1, 2, 3 and so fort). Is it possible to automate filling in these numbers from my source sheet to the individual weekly sheets? At the moment this would be a rather tedious copy and paste marathon.

Mappe2
ABCDEFGHIJKLMN
1MondayTuesdayWednesdayThursdayFridaySaturdaySundayMondayTuesdayWednesdayThursdayFridaySaturdaySunday
204.01.202005.01.202006.01.202007.01.202008.01.202009.01.202010.01.202011.01.202012.01.202013.01.202014.01.202015.01.202016.01.202017.01.2020
33'1553'5631'4432'4462'2852'8453'8684'1854'5062'3162'2042'8582'8594'431
4Week 1Week 2
Sheet1


I've copy pasted the numbers for the example now.

Mappe2
ABCDEFGHIJK
1WEEK1YEAR2021
2DATE04.01.202105.01.202106.01.202107.01.202108.01.202109.01.202110.01.2021Total
3DAYMondayTuesdayWednesdayThursdayFridaySaturdaySunday
43'1553'5631'4432'4462'2852'8453'868
Week 1
Cell Formulas
RangeFormula
D2D2=DATE(J1, 1, -2) - WEEKDAY(DATE(J1, 1, 3)) + F1 * 7
E2E2=D2+1
F2F2=D2+2
G2G2=D2+3
H2H2=D2+4
I2I2=D2+5
J2J2=D2+6
Cells with Data Validation
CellAllowCriteria
D4:K4Whole numberbetween 0 and 10000000


I'll be happy to provide additional information if needed.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Your example data is using two different years.

You could use the HLOOKUP function

Week1 D4
Excel Formula:
=HLOOKUP(D2,Sheet1!2:3, 2, 0)
 
Upvote 0

Forum statistics

Threads
1,214,560
Messages
6,120,217
Members
448,951
Latest member
jennlynn

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