Is it possible to create a formula for something like this:
- Say in cell A1 the formula is =B10
- In A2, I need a formula =B(10+5), or basically the row reference from cell A1 plus 5
So if A1=C23 then A2=C28 or if A1=D30 then A2=D35 and so on.
Is it possible to create a formula for something like this:
So if A1=C23 then A2=C28 or if A1=D30 then A2=D35 and so on.
here is one way to do it:
=INDIRECT((MID(FORMULATEXT(A1),FIND("=",FORMULATEXT(A1))+1,1)&(MID(FORMULATEXT(A1),FIND("=",FORMULATEXT(A1))+2,1000))+5))
UPDATE
here is the demo worksheet downloadable
SECOND UPDATE
here is the formula to replace the column reference:
=INDIRECT((REPLACE(MID(FORMULATEXT(A1),FIND("=",FORMULATEXT(A1))+1,1),1,1,"D"))&(MID(FORMULATEXT(A1),FIND("=",FORMULATEXT(A1))+2,1000))+5)