I had some great help last week relating to this post; Index, Match,or List??
For the most part everything is working except that the formula I am trying to use to pull out the actual distances in the cell is not working?
The spreadsheet is huge bu I can show you the formulas that are working
This formula works and provides the value for H3
{=COUNTIFS(INDEX('Site Info'!$V$2:$BV$1445,0,MATCH($B$3,'Site Info'!$V$1:$BV$1,0)),">="&E3,INDEX('Site Info'!$V$2:$BV$1445,0,MATCH($B$3,'Site Info'!$V$1:$BV$1,0)),"<="&F3)}
This formula works and pulls the text values from column "c" that match the range selected with cells E3 and F3
{=IF(ROWS(B$8:B8)>$H$3,"",INDEX('Site Info'!$C$2:$C$1445,SMALL(IF(INDEX('Site Info'!$V$1:$BQ$1445,0,MATCH($B$3,'Site Info'!$V$1:$BQ$1,0))>=$E$3,IF(INDEX('Site Info'!$V$1:$BQ$1445,0,MATCH($B$3,'Site Info'!$V$1:$BQ$1,0))<=$F$3,ROW('Site Info'!$C$2:$C$1446)-ROW('Site Info'!$C$2)+1)),ROWS(B$8:B8))))}
This formula works and pulls the text values from column "g" that match the range selected with cells E3 and F3
{=IF(ROWS(C$8:C8)>$H$3,"",INDEX('Site Info'!$g$2:$g$1445,SMALL(IF(INDEX('Site Info'!$V$1:$BQ$1445,0,MATCH($B$3,'Site Info'!$V$1:$BQ$1,0))>=$E$3,IF(INDEX('Site Info'!$V$1:$BQ$1445,0,MATCH($B$3,'Site Info'!$V$1:$BQ$1,0))<=$F$3,ROW('Site Info'!$g$2:$g$1446)-ROW('Site Info'!$g$2)+1)),ROWS(C$8:C8))))}
This formula is inputting values that would be correct if matching the values pulled from column(s) in the previous examples, but the values are not in line with the range works defined and pulls the text values from the correct column,
{=IF(ROWS(H$8:H8)>$H$3,"",INDEX('Site Info'!$B$2:$B$1445,SMALL(IF(INDEX('Site Info'!$V$1:$BQ$1445,0,MATCH($B$3,'Site Info'!$V$1:$BQ$1,0))>=$E$3,IF(INDEX('Site Info'!$V$1:$BQ$1445,0,MATCH($B$3,'Site Info'!$V$1:$BQ$1,0))<=$F$3,ROW('Site Info'!$B$2:$B$1446)-ROW('Site Info'!$B$2)+1)),ROWS(H$8:H8))))}
The range defined is 0 - 30 Mi and I am getting values outside of the range?
For the most part everything is working except that the formula I am trying to use to pull out the actual distances in the cell is not working?
The spreadsheet is huge bu I can show you the formulas that are working
This formula works and provides the value for H3
{=COUNTIFS(INDEX('Site Info'!$V$2:$BV$1445,0,MATCH($B$3,'Site Info'!$V$1:$BV$1,0)),">="&E3,INDEX('Site Info'!$V$2:$BV$1445,0,MATCH($B$3,'Site Info'!$V$1:$BV$1,0)),"<="&F3)}
This formula works and pulls the text values from column "c" that match the range selected with cells E3 and F3
{=IF(ROWS(B$8:B8)>$H$3,"",INDEX('Site Info'!$C$2:$C$1445,SMALL(IF(INDEX('Site Info'!$V$1:$BQ$1445,0,MATCH($B$3,'Site Info'!$V$1:$BQ$1,0))>=$E$3,IF(INDEX('Site Info'!$V$1:$BQ$1445,0,MATCH($B$3,'Site Info'!$V$1:$BQ$1,0))<=$F$3,ROW('Site Info'!$C$2:$C$1446)-ROW('Site Info'!$C$2)+1)),ROWS(B$8:B8))))}
This formula works and pulls the text values from column "g" that match the range selected with cells E3 and F3
{=IF(ROWS(C$8:C8)>$H$3,"",INDEX('Site Info'!$g$2:$g$1445,SMALL(IF(INDEX('Site Info'!$V$1:$BQ$1445,0,MATCH($B$3,'Site Info'!$V$1:$BQ$1,0))>=$E$3,IF(INDEX('Site Info'!$V$1:$BQ$1445,0,MATCH($B$3,'Site Info'!$V$1:$BQ$1,0))<=$F$3,ROW('Site Info'!$g$2:$g$1446)-ROW('Site Info'!$g$2)+1)),ROWS(C$8:C8))))}
This formula is inputting values that would be correct if matching the values pulled from column(s) in the previous examples, but the values are not in line with the range works defined and pulls the text values from the correct column,
{=IF(ROWS(H$8:H8)>$H$3,"",INDEX('Site Info'!$B$2:$B$1445,SMALL(IF(INDEX('Site Info'!$V$1:$BQ$1445,0,MATCH($B$3,'Site Info'!$V$1:$BQ$1,0))>=$E$3,IF(INDEX('Site Info'!$V$1:$BQ$1445,0,MATCH($B$3,'Site Info'!$V$1:$BQ$1,0))<=$F$3,ROW('Site Info'!$B$2:$B$1446)-ROW('Site Info'!$B$2)+1)),ROWS(H$8:H8))))}
The range defined is 0 - 30 Mi and I am getting values outside of the range?