Solved

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

Posted on 2016-08-08
3
15 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
Comment Utility
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
Comment Utility
Amazing

Total mind block today - this helped so much !!

Thank you for the swift response
0
 
LVL 19

Expert Comment

by:regmigrant
Comment Utility
timing is everything :) good luck
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
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 will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

744 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

18 Experts available now in Live!

Get 1:1 Help Now