Not even sure if this is possible?

Zoe B

New Member
Joined
Mar 27, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi,

im trying to create a roster in excel, but wondering if i can get the name of the person on call to auto populate (C7) from a number in the rostered week (G7-M7)
the list is on another tab in the workbook (shown)
Also wondering if it can open on todays date (redline with formula in C2) and show those names only

Apologies if that doesnt make sense. we have 18 teams/roles on call each unfortunately with differing numbers of people in those teams. the roster cycles every 8 weeks, but some teams have more than 8 people, hence not easy to reflect.
 

Attachments

  • Image 1.PNG
    Image 1.PNG
    23.6 KB · Views: 11
  • Image 2.PNG
    Image 2.PNG
    7.4 KB · Views: 10

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
I'm not quite sure what you want, but here is an approach that matches the role against the roster headings to find the relevant column (in the roster) and then matches the number (taking the max number found in the block of 7 cells) against the roster column A number to return the person's name.
Book1
ABCD
1NumberCICC LeaderBackupDuty Manager
21XXCCZZ
32YYGGBB
43ZZFFCC
54AAXXGG
65BBYYXX
Roster

Book1
ABCDEFGHIJKLMNOPQ
1CICC Roster
2Start3/28/2022
3Display Wk1
43/28/20224/4/2022
5
6RoleNameMTWTFSSMTWTFSS
7CICC LeaderYY2
8Duty ManagerCC3
9BackupXX4
10
Sheet2
Cell Formulas
RangeFormula
C7:C9C7=XLOOKUP(MAX(G7:M7),Roster!$A$2:$A$6,INDEX(Roster!$A$2:$D$6,,MATCH(B7,Roster!$A$1:$D$1,0)))
 
Upvote 0

Forum statistics

Threads
1,214,987
Messages
6,122,614
Members
449,091
Latest member
gaurav_7829

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