Hi,
I have an index match formula which works well in returning values from the first Column from a range (Columns G:K) if Column K contains and X The formula once copied down return all instances (2 instances below) and shows a blank for error handling when it reaches the last data to return.
ColumnG ColumnK
9130 X
2135
6859 X
=IF(ISERROR(INDEX(G:K,SMALL(IF(Sheet1!K:K="X",ROW(Sheet1!K:K)),ROW(1:1)),1)),"",INDEX(G:K,SMALL(IF(Sheet1!K:K="X",ROW(Sheet1!K:K)),ROW(1:1)),1))
I'm trying to modify the formula to move to a new range (Columns N:R) when it finishes finding data from the first range. The formula I thought would work is below, excel isn't accepting it and I can't work out what's wrong.
=IF((ISERROR(INDEX(G:K,SMALL(IF(Sheet1!K:K="X",ROW(Sheet1!K:K)),ROW(1:1)),1)),INDEX(N:R,SMALL(IF(Sheet1!R:R="X",ROW(Sheet1!R:R)),ROW(1:1)),1)),"")
My aim to to have it run through upwards of 5 ranges of data, but I obviously can't proceed until I can get it working with two.
Any help on this would be appreciated!
Thanks
Bookmarks