Hi Guys and Girls I have been an avid reader of both the forum and Chandoo's blog for quite a while now, and still continue to learn everyday something new. Now its my chance to ask a question.
I have sample table of data 6 columns by six rows. I have solved the problem of extracting a column of data by matching a criteria using an array formula
|apples |oranges|pears |plums |raisins
-----------------------------------------------
abby |101 |105 |110 |115 |120 |
-----------------------------------------------
beth |102 |106 |111 |116 |121 |
-----------------------------------------------
callie |103 |107 |112 |117 |122 |
-----------------------------------------------
dora |104 |108 |113 |118 |123 |
-----------------------------------------------
elaine |105 |109 |114 |119 |124 |
-----------------------------------------------
The ARRAY formula I used was
=OFFSET(Table,0,MATCH(D10,OFFSET(Table,0,0,1,COLUMNS(Table)),0)-1,ROWS(Table),1)
D10 being Oranges it returns the following
oranges
105
106
107
108
109
However I can not figure out for the life of me how to complete the formula to extract a row of data using a similar formula. So if I was to enter beth it would give me
beth |102 |106 |111 |116 |121 | for example
Any help would be appreciated
Ian M
I have sample table of data 6 columns by six rows. I have solved the problem of extracting a column of data by matching a criteria using an array formula
|apples |oranges|pears |plums |raisins
-----------------------------------------------
abby |101 |105 |110 |115 |120 |
-----------------------------------------------
beth |102 |106 |111 |116 |121 |
-----------------------------------------------
callie |103 |107 |112 |117 |122 |
-----------------------------------------------
dora |104 |108 |113 |118 |123 |
-----------------------------------------------
elaine |105 |109 |114 |119 |124 |
-----------------------------------------------
The ARRAY formula I used was
=OFFSET(Table,0,MATCH(D10,OFFSET(Table,0,0,1,COLUMNS(Table)),0)-1,ROWS(Table),1)
D10 being Oranges it returns the following
oranges
105
106
107
108
109
However I can not figure out for the life of me how to complete the formula to extract a row of data using a similar formula. So if I was to enter beth it would give me
beth |102 |106 |111 |116 |121 | for example
Any help would be appreciated
Ian M