dynamic chain between files

KlausW

Active Member
Joined
Sep 9, 2020
Messages
458
Office Version
  1. 2016
Platform
  1. Windows
Hi
I have a file where I collect the employees' service and there is a chain that updates between files that the employees enter their service in and a collection file so that I can see the employees' service throughout the year. From April to March.
But since new employees arrive once in a while and I make new files they have to enter their service in, so the chain has to be dynamic. I can create a general chain between Excel files.
But when I change the employee's name in the Name sheet from cell D3 down to D21, here are all the employees' names, the chain should also be changed.

Some who can help.

Any help will be appreciated

Best regards

Klaus W
 

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.
Hi Klaus. what do you mean by "chain"? It would be helpful if you provided some sample data to work with. Mr. Excel has a tool called xl2bb add in that allows users to post mini worksheets into a post. The link is below. If you can't do that, then please post a table ... and please label the column and rows and post in the text any necessary formulas you have.

Thanks in advance.
 
Upvote 0
Hi awoohaw

I've never used this tool, so I hope that's what you mean.


Tjenesteliste Donald Duck.xlsm
D
April


Tjenesteliste opsamling.xlsm
F
22
April to March
 
Upvote 0
You need to first select the whole range you want to copy to the board.
 
Upvote 0
Like this

Tjenesteliste opsamling.xlsm
ABCEFGHI
4
5April 2024
6
72. Påskedag    
801-04-202402-04-202403-04-202404-04-202405-04-2024
9MandagTirsdagOnsdagTorsdagFredag
11Donald DuckPlanlagt TJ. sTT  
12Faktisk Tjeneste
13Fra
14Til
15Planlagt TJ.
16Faktisk Tjeneste
17Fra
18Til
19Planlagt TJ.
20Faktisk Tjeneste
21Fra
22Til
23Planlagt TJ.
24Faktisk Tjeneste
25Fra
26Til
April to March
Cell Formulas
RangeFormula
C5C5=PROPER(TEXT(C2,"mmmm")) & " " & YEAR(C2)
E7:I7E7=HelligdagsNavn(E8,0,0)
E8E8=C2
F8:I8F8=E8+1
E9:I9E9=PROPER(TEXT(E8,"dddd"))
E11:I11E11='D:\[Tjenesteliste Donald Duck.xlsm]April'!E$11
B11B11=Name!D3
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E12:AI14Cell Value="SY"textNO
E12:AI14Cell Valuecontains "H"textNO
E12:AI14Cell Valuecontains "F"textNO
E11:AI14Cell Value="pd"textNO
E12:AI14Cell Valuecontains "T"textNO
E12:AI14Cell Valuecontains "S"textNO
E12:AI14Cell Valuecontains "V"textNO
E9:AU10,AK10:NE10Expression=OG(UGEDAG(E$8;2)>5;MÅNED(E$8)=MÅNED($C$2))textNO
A9:XED10Expression=C$3textYES


Tjenesteliste Donald Duck.xlsm
ABCDEFGHI
4TJENESTELISTE FOR
5April 2024
6
9MandagTirsdagOnsdagTorsdagFredag
1012345
11Donald DuckPlanlagt TJ. 1sTT  
12Faktisk Tjeneste 
13Fra 
14Til 
15
April
Cell Formulas
RangeFormula
C5C5=PROPER(TEXT(C2,"mmmm")) & " " & YEAR(C2)
E9:I9F9=PROPER(TEXT(F8,"dddd"))
E10:I10F10=DAY(F8)
F11:I11F11='D:\[Tjenesteliste For Christian Bøving.xlsm]April'!D$35
B11B11=Navn!D3
D11:D12D11=COUNTIF($E11:$AH11,"s")
D13:D14D13=COUNTIF($E11:$AH11,"f")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E12:AH14Cell Value="SY"textNO
E12:AH14Cell Valuecontains "H"textNO
E12:AH14Cell Valuecontains "F"textNO
E11:AH14Cell Value="pd"textNO
E12:AH14Cell Valuecontains "T"textNO
E12:AH14Cell Valuecontains "S"textNO
E12:AH14Cell Valuecontains "V"textNO
E9:AH10Expression=OG(UGEDAG(E$8;2)>5;MÅNED(E$8)=MÅNED($C$2))textNO
A9:AF10,AI9:WRF10Expression=C$3textYES
 
Upvote 0

Forum statistics

Threads
1,224,814
Messages
6,181,120
Members
453,021
Latest member
Justyna P

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