Hello Everyone,
I created a simple for Next loop that could be done with an if formula on excel. however, the result from the for Next loop is different than the excel formula for some reason.
in column J if the Interest amount is >=2 then rating = Good Return otherwise should be Low return. In Cells K5, K7,K10and K17 for next loop (in column K) showing good return and in excel formula (Column L) showing low return. Excel formula is obviously correct but why did the for Next loop is getting it wrong?
below is the code I used.
Your help is much appreciated
I created a simple for Next loop that could be done with an if formula on excel. however, the result from the for Next loop is different than the excel formula for some reason.
in column J if the Interest amount is >=2 then rating = Good Return otherwise should be Low return. In Cells K5, K7,K10and K17 for next loop (in column K) showing good return and in excel formula (Column L) showing low return. Excel formula is obviously correct but why did the for Next loop is getting it wrong?
below is the code I used.
Your help is much appreciated