Weekly rota - 52 worksheets 1 workbook

GaryHealey

New Member
Joined
Apr 25, 2023
Messages
10
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Good afternoon all

I have been trying to create a planner or rota for several weeks now I have come across a problem I cannot find an answer to.

I have a sheet for each week of the year with each of my staff and also some formulas for the number of days sick and leave for each person using a COUNTIF, I then have a master sheet with a SUM to add up the total for each year, My problem is that if someone leaves or someone joins then all of my formulas are moved and no longer accurate.

I have tried a VLOOKUP with COUNTIF but that doesn't seem to work across all 52 sheets.

Can you please help me with where I'm going wrong?

Many thanks

Gary
 

Attachments

  • Excel Help 2.jpg.png
    Excel Help 2.jpg.png
    43.8 KB · Views: 18
  • Excel Help 1.jpg
    Excel Help 1.jpg
    224.8 KB · Views: 20

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
can you post a portion of the summary worksheet and a few of the component worksheets using the xl2bb add in?

What are the formulas you use?

Going forward, are you open to a different approach to managing your time?
 
Upvote 0
Hi & welcome to MrExcel.
How about
Excel Formula:
=LET(a,CHOOSECOLS(VSTACK('[Rota NMEA.xlsx]Week 13:Week 20'!$B$3:$J$20),1,9),SUM(FILTER(INDEX(a,,2),INDEX(a,,1)=A2,0)))
 
Upvote 0
Solution
can you post a portion of the summary worksheet and a few of the component worksheets using the xl2bb add in?

What are the formulas you use?

Going forward, are you open to a different approach to managing your time?
Hi
I tried to add the xl2bb addon, however, as I'm running this from a work laptop it is all locked down. I'm certainly open to a different approach to time management within reason.
Thank you for taking the time to reply to me.
 
Upvote 0
Hi & welcome to MrExcel.
How about
Excel Formula:
=LET(a,CHOOSECOLS(VSTACK('[Rota NMEA.xlsx]Week 13:Week 20'!$B$3:$J$20),1,9),SUM(FILTER(INDEX(a,,2),INDEX(a,,1)=A2,0)))
Hi, Thank you for such a warm welcome with such a fast reply, That string has worked perfectly, I have never heard of that formula but it is amazing, How do I start to learn the different functions that you have mentioned above as I thought I was very good at excel but now feel like a bit of a newb.
Many thanks
Gary
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,329
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