?
Solved

Formula to look for reference and return the values to total into an average

Posted on 2016-08-08
3
Medium Priority
?
22 Views
Last Modified: 2016-08-08
HI Guys

Hope you can help

Please see attached sheet on the FULL tab

What I need is to look in column D and for example, look for YAN, grab the value against it in column M and then obtain the average of the respective quantities, displaying these against the label below the main data (in the green highlighted cell)

For example, there are two YAN items with the values 95.46& and 36.25%. Next to the YAN label, the formula would return a value of 65.86% (Sum of 95.46 + 36.25 / 2 = 65.86%)

If you could help as Ive tried lookups and count variations but seem to be a bit stuck - not sure if it needs an array but even this eluded me.

If you could make a suggestion, I would be very grateful

J
EE-Example.xls
0
Comment
Question by:Jase Alexander
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
regmigrant earned 2000 total points
ID: 41747041
I may have misunderstood but wouldn't this work?

=AVERAGEIF(D2:D7,F19,M2:M7)*100

the formula looks at the 'range' (d2:d7) compare it to 'criteria' (F19) and calculates the average of 'average_range' (ms:m7) for all the rows that match
0
 

Author Closing Comment

by:Jase Alexander
ID: 41747044
Amazing

Total mind block today - this helped so much !!

Thank you for the swift response
0
 
LVL 19

Expert Comment

by:regmigrant
ID: 41747049
timing is everything :) good luck
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question