If the year is less than current year and month is lesser than current month, value return should be "N/A" along with the below mentioned combinations.
However, i have formula for below mentioned combination; i just need to add the above scenario for the formula.
=IFERROR(IF(VALUE(MID(SUBSTITUTE(RI@row, " ", ""), 3, 2)) > VALUE(RIGHT(YEAR(TODAY()), 2)), "NA", IF(AND(VALUE(MID(SUBSTITUTE(RI@row, " ", ""), 3, 2)) = VALUE(RIGHT(YEAR(TODAY()), 2)), VALUE(MID(SUBSTITUTE(RI@row, " ", ""), 5, 2)) > VALUE(MONTH(TODAY()))), "NA", RI@row)), RI@row)
If year is greater than the current year and equal to current year but month is greater then current month value return is "N/A".
If the year is equal to current year but less than or equal to current month, exact value from RI column should be returned.
If the year is less than current year and month is equal to or greater than current month, exact value from RI column should be returned.