Look up row from sheet1 and return average of cells from row.

pgfindlay

New Member
Joined
Nov 14, 2016
Messages
9
Hi,

I'm looking for help on a formula to look up a row based on a cell value and return the average of adjacent cells from that row.

eg: look up Duck and return the average of cells.

Duck214134
Chicken453634
Dog243135

<colgroup><col width="64" span="7" style="width:48pt"> </colgroup><tbody>
</tbody>
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Perhaps:

Excel 2012
ABCDEFG
1Duck214134
2Chicken453634
3Dog243135
4
5
6
7
8WordAverage
9Duck2.5

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet3

Worksheet Formulas
CellFormula
B9=AVERAGE(INDEX(B1:G3,MATCH(A9,A1:A3,0),0))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0
Try this...
A​
B​
C​
D​
E​
F​
G​
H​
I​
1​
Duck
2​
1​
4​
1​
3​
4​
Chicken
4.166667​
2​
Chicken
4​
5​
3​
6​
3​
4​
3​
Dog
2​
4​
3​
1​
3​
5​
I1=AVERAGE(INDEX(A1:G3,MATCH(H1,A1:A3,0),))
 
Upvote 0

Forum statistics

Threads
1,215,523
Messages
6,125,318
Members
449,218
Latest member
Excel Master

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top