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.
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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

Industry Leaders: 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 will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
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‚Ķ

623 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