I need an excel formula

Posted on 2011-09-28
Last Modified: 2012-05-12
I need an excel formula to calculate the average number of days for a specific Project ID, and display the results only once. I cant tell you how bad a screwed up the syntax on this one!

See the attached for an example.
Question by:wrt1mea
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
LVL 19

Expert Comment

by:Arno Koster
ID: 36717309
Easiest is to use a pivot table, like this :  9-28-11.xlsx
LVL 85

Accepted Solution

Rory Archibald earned 500 total points
ID: 36717318
In F2:
then copy down.
LVL 24

Expert Comment

ID: 36717322
If I were you I'd do a pivot table. Project ID in the row field and (Average of) Days in the data field.
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!

LVL 42

Expert Comment

ID: 36717340
Here's an example:


Where J2 is the project Id, which is matched with A2:A25, and the average based on that comes from the data in D2:D25

See example attached,

LVL 42

Expert Comment

ID: 36717344
Missed the refresh!

Author Closing Comment

ID: 36717423
Perfect! thanks to tall for the help, but this is the better solution for this particular situtation

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
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 Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

729 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