Link to home
Start Free TrialLog in
Avatar of Mehawitchi
Mehawitchi

asked on

How to use VLookUp or any other function to retrieve average values of cells?

Hello experts,

You can use the VLOOKUP function to search the first column of a range of cells, and then return a value from any cell on the same row of the range.

Is there anyway I can return all cells that meet my search criteria and average them, rather than only getting the first match.
Avatar of Saqib Husain
Saqib Husain
Flag of Pakistan image

You can use MATCH to get the row number.

From that you can use the OFFSET function to get a number of columns in that particular row and then you can average it.
Avatar of Mehawitchi
Mehawitchi

ASKER

Thanks  ssaqibh

I'm not quite sure how to build this into a formula

Can you show me an example please
SOLUTION
Avatar of Rgonzo1971
Rgonzo1971

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Barry's solution is exactly what I need.
Thank you all
I clearly misunderstood your requirements. You should have awarded all points to Barry.
No worries ssaqibh. You made a good attempt after all