Forum Discussion
Changing cell reference in a formula using contents of another cell
- Apr 25, 2019
Instead of D1/Calibration!$G$2, use this formula in G1, copied down rows:
=D1/INDEX(Calibration!G:G,
CEILING(ROW(),300)/300+1)
The divisor in the foregoing formula becomes Calibration!G2 for G1:G300, Calibration!G3 for G301:G600, Calibration!G4 for G601:G900, and so forth.
I already have the digits I want on the end of the formula, in the cells in column H, but I don't know how to concatenate those onto the end of the formulas in column G and have it accept it as part of the formula string.
Instead of D1/Calibration!$G$2, use this formula in G1, copied down rows:
=D1/INDEX(Calibration!G:G,
CEILING(ROW(),300)/300+1)
The divisor in the foregoing formula becomes Calibration!G2 for G1:G300, Calibration!G3 for G301:G600, Calibration!G4 for G601:G900, and so forth.
- Craig_GallagherApr 25, 2019Copper ContributorYes, that worked. Thank you!
I had been wondering if there were a way to just have the increment, as you go from one row to the next, be 300 instead of 1, and that's done it.
I will study the INDEX and CEILING functions to follow what you've done here.- TwifooApr 25, 2019Silver ContributorYou’re welcome.
- Craig_GallagherApr 25, 2019Copper ContributorI meant have it only increment once every 300 rows.