Hi all,
I just registered to this forum, sorry to start with a question.
I have written two formulas in excel and want to extend to many cells in a certain interval and generalize to other similar worksheets. So, I need to write them as vba code. The formulas:
=INDEX('sheet1' !$A2:$BI$7000,M ATCH(MAX('sheet 1'!I2:I7),'shee t1'!I2:I7,0),CO LUMN('sheet1'!A 1))
=IF(C3=W$3,100, IF(C3<W$4,TREND ($V$3:$V$4,W$3: W$4,C3),IF(C3=W $4,85,IF(C3<W$5 ,TREND(V$4:V$5, W$4:W$5,C3),IF( C3=W$5,5,IF(C3< W$6,TREND($V$5: $V$6,W$5:W$6,C3 ),0))))))
I appreciate if any1 can help me to come up with vba codes.
thanks in advance
I just registered to this forum, sorry to start with a question.
I have written two formulas in excel and want to extend to many cells in a certain interval and generalize to other similar worksheets. So, I need to write them as vba code. The formulas:
=INDEX('sheet1' !$A2:$BI$7000,M ATCH(MAX('sheet 1'!I2:I7),'shee t1'!I2:I7,0),CO LUMN('sheet1'!A 1))
=IF(C3=W$3,100, IF(C3<W$4,TREND ($V$3:$V$4,W$3: W$4,C3),IF(C3=W $4,85,IF(C3<W$5 ,TREND(V$4:V$5, W$4:W$5,C3),IF( C3=W$5,5,IF(C3< W$6,TREND($V$5: $V$6,W$5:W$6,C3 ),0))))))
I appreciate if any1 can help me to come up with vba codes.
thanks in advance
Comment