Solved

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

Posted on 2016-08-08
3
21 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 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: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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

707 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