Solved

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

Posted on 2016-08-08
3
17 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:spicecave
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
regmigrant earned 500 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:spicecave
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
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.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now