I have a sheet with several formulas that need to be adjusted, and I'm sure there's a faster way to do it than by hand! All the formulas are INDEX formulas (not the array option), and each one is unique. For example, the formulas in F11, F12, and F13 are:
=INDEX('App 1T Staff-MVA'!$E$23:$N$23,1,ROW(A1))
=INDEX('App 1T Staff-MVA'!$E$23:$N$23,1,ROW(A2))
=INDEX('App 1T Staff-MVA'!$E$23:$N$23,1,ROW(A3))
And the formulas in I11-13 are:
=INDEX('App 1T Staff-MA'!$E$24:$N$24,1,ROW(A1))
=INDEX('App 1T Staff-MA'!$E$24:$N$24,1,ROW(A2))
=INDEX('App 1T Staff-MA'!$E$24:$N$24,1,ROW(A3))
For each of formula on the sheet, I'd like to make the following modification (noted in bold):
=original index formula + (original index formula * SA_staff_time)
where the "SA_staff_time" is a constant named elsewhere in the Workbook. So for example, the formulas noted above for cells F11-13 should look like this after the change:
=INDEX('App 1T Staff-MVA'!$E$23:$N$23,1,ROW(A1)) + ((INDEX('App 1T Staff-MVA'!$E$23:$N$23,1,ROW(A1))) * SA_staff_time)
=INDEX('App 1T Staff-MVA'!$E$23:$N$23,1,ROW(A2)) + ((INDEX('App 1T Staff-MVA'!$E$23:$N$23,1,ROW(A2))) * SA_staff_time)
=INDEX('App 1T Staff-MVA'!$E$23:$N$23,1,ROW(A3)) + ((INDEX('App 1T Staff-MVA'!$E$23:$N$23,1,ROW(A3))) * SA_staff_time)
Is there an easy way to do this with a macro?
Thanks for any advice.
-Naomi
=INDEX('App 1T Staff-MVA'!$E$23:$N$23,1,ROW(A1))
=INDEX('App 1T Staff-MVA'!$E$23:$N$23,1,ROW(A2))
=INDEX('App 1T Staff-MVA'!$E$23:$N$23,1,ROW(A3))
And the formulas in I11-13 are:
=INDEX('App 1T Staff-MA'!$E$24:$N$24,1,ROW(A1))
=INDEX('App 1T Staff-MA'!$E$24:$N$24,1,ROW(A2))
=INDEX('App 1T Staff-MA'!$E$24:$N$24,1,ROW(A3))
For each of formula on the sheet, I'd like to make the following modification (noted in bold):
=original index formula + (original index formula * SA_staff_time)
where the "SA_staff_time" is a constant named elsewhere in the Workbook. So for example, the formulas noted above for cells F11-13 should look like this after the change:
=INDEX('App 1T Staff-MVA'!$E$23:$N$23,1,ROW(A1)) + ((INDEX('App 1T Staff-MVA'!$E$23:$N$23,1,ROW(A1))) * SA_staff_time)
=INDEX('App 1T Staff-MVA'!$E$23:$N$23,1,ROW(A2)) + ((INDEX('App 1T Staff-MVA'!$E$23:$N$23,1,ROW(A2))) * SA_staff_time)
=INDEX('App 1T Staff-MVA'!$E$23:$N$23,1,ROW(A3)) + ((INDEX('App 1T Staff-MVA'!$E$23:$N$23,1,ROW(A3))) * SA_staff_time)
Is there an easy way to do this with a macro?
Thanks for any advice.
-Naomi