Ref the attachment. Using an xml feed button a column of values with a count between 4 and 6 is returned at Col A Range A2:A7. There is a count of the values at cell D4. I need a formula at B2 to look up the three tables for columns with either 4, 5 or 6 values, then H lookup within the appropriate table the parameter column that matches the value of the cell at A2.
From the example: the count is '4' values, so the table we're interested in is A11:D16. The value of A2 is '2.2' so the column with the label '>2 to 3' is the correct column. Therefore the values in the range C13:C16 are returned to B2.
I could solve this problem if I wanted to return a single value as a result of 2 criteria, but not sure how to return a column of values.
Much appreciate your interest.
Bookmarks