Sorry really hard to explain this one

Jtucker10278

Board Regular
Joined
May 14, 2017
Messages
55
So I have my Input table, Days across the top, names down the side. but now I need to add a new employee to the table in order by first name so as you can see below

C_Hamish will need to go between C_Reynolds and M_Lopez. (I know R is after H but the company report prints alpha by first name which I have shortened)

To do this is no problem I just insert a row and add the name

BCDEFGH
3Week_1
4MonTueWedThuFriSat
5123456
6
7HOURS88888
8ASM_COUNT1111108100
9TOTAL44584337550
10
11OTHER11
12A_Sanchez43116
13A_Holmes115121
14B_Perez21172
15C_Reynolds3147
16C_Hamish
17M_Lopez13683
18M_Reynolds611456
19M_Tran373612
20N_Fonseca129715
21S_Hardegen
22S_Hernandez0661112
23T_Stohler11431
24Name01

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Input Table




the problem is that I have 4 other sheets with tables that have totalled the weeks in different ways and in each of these tables instead of putting the names down the side I referenced the names in the input table. (My thinking was that this way I wouldnt have to update each of my 4 other tables)

The problem is that when i insert a new row 16 in the input table excel auto updated the cells referencing back to the name to skip the newly inserted row my cell references jump from 15 to 17


ABCDE
1Hourly Average By Week
2Week_1Week_2Week_3Week_4
3Days Worked5.005.006.006.00
4Avg Hours Per Day8.008.007.678.25
5Avg Asm Per Dayt10.008.178.839.17
6TOTAL5.937.057.116.22
7
8='Input Table'!B110.130.13
9='Input Table'!B120.380.630.740.47
10='Input Table'!B130.501.060.940.95
11='Input Table'!B140.690.500.980.56
12='Input Table'!B150.470.700.830.79
13='Input Table'!B170.530.600.570.63
14='Input Table'!B180.800.680.780.60
15='Input Table'!B190.780.940.960.44
16='Input Table'!B200.850.700.900.98
17='Input Table'!B220.250.330.430.30
18='Input Table'!B230.881.330.900.95
19='Input Table'!B24

<tbody>
</tbody>
Sheet1
Any thought would be appreciated
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Instead of:

='Input Table'!B11

use:

=index(
'Input Table'!
$B$11:$B$24,row()-row(A$8:A$8)+1)

and copy it down as far as required.
 
Upvote 0
Or you could cater for further additions like this:

Code:
=INDEX('Input Table'!$B:$B,ROWS($A$8:$A8)+10)

And copy it down as far as necessary to deal with as many new employees as you like.

WBD
 
Upvote 0

Forum statistics

Threads
1,215,133
Messages
6,123,233
Members
449,092
Latest member
SCleaveland

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