topher5832
New Member
Hello Everyone.. This is my first post ever on Chandoo.org and from what Im seeing so far this looks like the place to go for excel help. Here goes my question
I have 60-70 very lengthy Hlookup formulas in a spreadsheet in doing for work. I was wondering if there is a way to change the "row index number" on all of my lookups in a single cell at once. Each one of my employees is a different "row index number" and having to change it 6-8 times per employee for 60 employees is very time consuming.
=(HLOOKUP($B$2,'Monthly Units'!$E$1:$P$48,5,FALSE)+HLOOKUP($C$2,'Monthly Units'!$E$1:$P$48,5,FALSE)+HLOOKUP($D$2,'Monthly Units'!$E$1:$P$48,5,FALSE))/(HLOOKUP($B$2,'Monthly Hours'!$E$1:$P$48,5,FALSE)+HLOOKUP('Central East'!$B$2,'Monthly Indirect'!$E$1:$P$48,5,FALSE)+HLOOKUP('Central East'!$C$2,'Monthly Hours'!$E$1:$P$48,5,FALSE)+HLOOKUP('Central East'!$C$2,'Monthly Indirect'!$E$1:$P$48,5,FALSE)+HLOOKUP($D$2,'Monthly Hours'!$E$1:$P$48,5,FALSE)+HLOOKUP($D$2,'Monthly Indirect'!$E$1:$P$48,5,FALSE))
Each employee has 5 cells that contain formulas similar to this. I would really like to be able to change all of the index numbers (the number 5 in this case) at the same time. Does anyone know if this is possible? any help would be greatly appreciated
I have 60-70 very lengthy Hlookup formulas in a spreadsheet in doing for work. I was wondering if there is a way to change the "row index number" on all of my lookups in a single cell at once. Each one of my employees is a different "row index number" and having to change it 6-8 times per employee for 60 employees is very time consuming.
=(HLOOKUP($B$2,'Monthly Units'!$E$1:$P$48,5,FALSE)+HLOOKUP($C$2,'Monthly Units'!$E$1:$P$48,5,FALSE)+HLOOKUP($D$2,'Monthly Units'!$E$1:$P$48,5,FALSE))/(HLOOKUP($B$2,'Monthly Hours'!$E$1:$P$48,5,FALSE)+HLOOKUP('Central East'!$B$2,'Monthly Indirect'!$E$1:$P$48,5,FALSE)+HLOOKUP('Central East'!$C$2,'Monthly Hours'!$E$1:$P$48,5,FALSE)+HLOOKUP('Central East'!$C$2,'Monthly Indirect'!$E$1:$P$48,5,FALSE)+HLOOKUP($D$2,'Monthly Hours'!$E$1:$P$48,5,FALSE)+HLOOKUP($D$2,'Monthly Indirect'!$E$1:$P$48,5,FALSE))
Each employee has 5 cells that contain formulas similar to this. I would really like to be able to change all of the index numbers (the number 5 in this case) at the same time. Does anyone know if this is possible? any help would be greatly appreciated