Issue with table referencing for named ranges across multiple sheets

JW2989

New Member
Joined
Jan 18, 2022
Messages
18
Office Version
  1. 365
Platform
  1. Windows
Hi - I am trying to build a resource capacity tool but having problems with referencing and updating tables when new records are added.

1) Named Resources are added to the resource tab
2) Resources are loaded as a drop down in the Allocations tab, where they are matched with Initaitives, which includes their utilisation, Start & End dates

What I would like to show, is:

- list of all resources across a weekly timeline with how many days they have been allocated to that initiative

So far, I am trying to load all the resources into a daily timeline that plots out their allocation (IF (start and end date are between this week then give 1*utilisation). So if I am 50%, it would show 0.5 every day between start and end dates. I have then named each week as a named range (Week1, Week2) and then trying to look up SUM(FILTER(Week1, List of resources=name in this row).

My issue - when new names are added (or deleted) the referencing gets screwed up and all my named ranges change. I have tried a macro to clear the fields and reapply the formula but this does not seem to work.

How can I make the tables expand with the correct formulas - I have spent a week trying and cannot find any solution.

Any help would be greatly appreciated

Allocations:
ResourceManagement vXBKK.xlsx
CDEFGHIJ
4Full NameLine ManagerInitiativeDomainsUtilisationStart DateEnd DateWork Days
5Jack WatsonChristine AgartWireless SurveyInfrastructure50%01/01/202210/03/202249
6John JonesChristine AgartWireless SurveyInfrastructure100%01/02/202230/04/202264
7Katie MarshChristine AgartEBS WorkdayProcurement50%01/03/202201/04/202224
8Katie MarshChristine AgartNew Salesforce AppSales100%15/01/202215/02/202222
9Sarah BeecherJohn DaviesEBS WorkdayProcurement100%01/01/202231/12/2022260
10Jack WatsonChristine AgartEBS WorkdayProcurement100%01/02/202201/04/202244
11Bill JeanAsh BarrettISIM 2.3Procurement100%01/04/202201/06/202244
12John JonesChristine AgartDigital trendsDigital100%01/01/202201/06/2022108
13Florence HBJack WatsonLAN Modernisation Infrastructure100%01/01/202222/04/202280
14Florence HBJack WatsonLAN Modernisation Infrastructure100%10/01/202210/02/202224
Allocations
Cell Formulas
RangeFormula
D5:D14D5=VLOOKUP([@[Full Name]],Table9,2,FALSE)
F5:F14F5=VLOOKUP([@Initiative],Initiatives,2,FALSE)
J5:J14J5=NETWORKDAYS(Allocations!$H5,Allocations!$I5)
Named Ranges
NameRefers ToCells
Initiatives=Initiatives!$D$4:$E$12F5:F14
List000=Table9[Full Name]D5:D14
ListInitiatives=Tbl_Initiaitives[Initiative]F5:F14
Cells with Data Validation
CellAllowCriteria
E4:E14List=ListInitiatives
C4:C14List=List000


Daily View:
ResourceManagement vXBKK.xlsx
CDEFGHIJKLMNOPQRSTUVWXYZAAABACAD
2MonTueWedThuFriMonTueWedThuFriMonTueWedThuFriMonTueWedThuFriMon
303/01/202204/01/202205/01/202206/01/202207/01/202210/01/202211/01/202212/01/202213/01/202214/01/202217/01/202218/01/202219/01/202220/01/202221/01/202224/01/202225/01/202226/01/202227/01/202228/01/202231/01/2022
4Full NameLine ManagerInitiativeDomainsUtilisationStart DateEnd Date03/01/202204/01/202205/01/202206/01/202207/01/202210/01/202211/01/202212/01/202213/01/202214/01/202217/01/202218/01/202219/01/202220/01/202221/01/202224/01/202225/01/202226/01/202227/01/202228/01/202231/01/2022
5Bill JeanAsh BarrettISIM 2.3Procurement100%01/04/202201/06/2022000000000000000000000
6Florence HBJack WatsonLAN Modernisation Infrastructure100%01/01/202222/04/2022111111111111111111111
7Florence HBJack WatsonLAN Modernisation Infrastructure100%10/01/202210/02/2022000001111111111111111
8Jack WatsonChristine AgartWireless SurveyInfrastructure50%01/01/202210/03/20220.50.50.50.50.50.50.50.50.50.50.50.50.50.50.50.50.50.50.50.50.5
9Jack WatsonChristine AgartEBS WorkdayProcurement100%01/02/202201/04/2022000000000000000000000
10John JonesChristine AgartWireless SurveyInfrastructure100%01/02/202230/04/2022000000000000000000000
11John JonesChristine AgartDigital trendsDigital100%01/01/202201/06/2022111111111111111111111
12Katie MarshChristine AgartEBS WorkdayProcurement50%01/03/202201/04/2022000000000000000000000
13Katie MarshChristine AgartNew Salesforce AppSales100%15/01/202215/02/2022000000000011111111111
14Sarah BeecherJohn DaviesEBS WorkdayProcurement100%01/01/202231/12/2022111111111111111111111
ResourcebyDay
Cell Formulas
RangeFormula
J2:AD2J2=TEXT(J4,"ddd")
J5:AD14J5=$G5*IF(AND($H5<=J$3,$I5>=J$3),1,0)


Weekly View:

ResourceManagement vXBKK.xlsx
CDEFGHI
4January
5Full NameLine Manager03/01/202210/01/202217/01/202224/01/202231/01/2022
6Jack WatsonChristine Agart#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
7John JonesChristine Agart#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
8Katie MarshChristine Agart#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
9Katie MarshChristine Agart#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
10Sarah BeecherJohn Davies#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
11Jack WatsonChristine Agart#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
12Bill JeanAsh Barrett#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
13John JonesChristine Agart#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
14Florence HBJack Watson#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
15Florence HBJack Watson#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
ResourcebyWeek
Cell Formulas
RangeFormula
E6:I15E6=SUM(FILTER(Week1,ResourceNameDay=$C6))
Named Ranges
NameRefers ToCells
ResourceNameDay=Table_Query_from_Excel_Files_12[Full Name]E6:I15
Week1=ResourcebyDay!$J$5:$N$11E6:I15
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
SOLVED- I had changed the structure of the original query so it was not refreshing!
 
Upvote 0
Solution

Forum statistics

Threads
1,223,243
Messages
6,170,964
Members
452,371
Latest member
Frana

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