Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2016-08-08
3
Medium Priority
?
23 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

610 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