Hello,
I am trying to add an iferror to my index function to give me an error message.
I have 4 columns A) Years, B) Interceptions, C) Yards, D) Wins. There are a list of years from 1991 to 2010 in column A. I have two input cells one for years and desired stats. The output cell gives me the required stat with the formula =INDEX($B$6:$D$25,MATCH(G6,A6:A25,0),MATCH(G7,$B$5:$D$5,0))
I want to be able to give an error message when there is a year that is outside of my 1991-2010 range.
I have been trying to add an iferror function but every time I do it gives me an error message.
Thanks so much.
I am trying to add an iferror to my index function to give me an error message.
I have 4 columns A) Years, B) Interceptions, C) Yards, D) Wins. There are a list of years from 1991 to 2010 in column A. I have two input cells one for years and desired stats. The output cell gives me the required stat with the formula =INDEX($B$6:$D$25,MATCH(G6,A6:A25,0),MATCH(G7,$B$5:$D$5,0))
I want to be able to give an error message when there is a year that is outside of my 1991-2010 range.
I have been trying to add an iferror function but every time I do it gives me an error message.
Thanks so much.