get one week at a time

mduntley

Board Regular
Joined
May 23, 2015
Messages
101
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hello. At work we are using a schedule on a excel. We have one sheet that has the year. But I want to create another sheet that only has one week listed when I put in the first day of the week. This is what I mean:
Note, this is exactly what is on the sheet, beside the name and the time. I am more focusing on getting the data from a11-a40. column A will be copy and paste in, so i only need the formula for coulmn B to F

Here is the master sheet
staff nameSunMon
6/7/156/8/15
a3
a4
a5
a6
a7
a8
a9
a10
Group 1
a129a-9p9a-9p
a138p-4a8p-4a
a148a-4p8a-4p
a155p-9p5p-9p
a165p-5a5p-5a
Group 2
a199a-9p9a-9p
a208p-4a8p-4a
a218a-4p8a-4p
a225p-5aPTO
Group 3
a256a-6p6p-6a
a266p-6a6a-6p
a276p-6a6p-6a
Group 4
a306p-6a6a-6p
a316a-6p6p-6a
a326p-6a6p-6a
a334a-4p4a-4p
a344p-4a4p-4a
Group 5
a376p-6a6a-6p
a388a-4p8a-4p
a396p-6a
a406A-6P6a-6p

<colgroup><col><col span="2"></colgroup><tbody>
</tbody>
So on a different sheet, if I put in 6/7/15 in b2, i want the sheet to give me the whole column 6/7/15 from the master sheet. So I can then put 6/8/15 in c2 and get the whole column in C. I will then apply this to d2 to h2. If I change b2 to 9/9/15, i want to get the column of 9/9/15.

If you dont understand, then I can explain more
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

onlyadrafter

Well-known Member
Joined
Aug 19, 2003
Messages
5,703
Platform
  1. Windows
Hello,

in B3 on your destination sheet, enter this formula

=INDEX(Sheet1!3:3,0,MATCH(B$2,Sheet1!$2:$2,0))

and copy down and across as far as required.

Is this of any use?
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,707
Messages
5,833,241
Members
430,199
Latest member
Petty queen

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
Top