Solved

I need a formula corrected

Posted on 2011-03-08
5
273 Views
Last Modified: 2012-05-11
See the attached file

The formulas I am using seem to return data that is incorrect (highlighted in yellow) for previous years. For example, there is little information available for the years 2000-2007 but its returning a large number of tracts and footage that are very similar.

I want to think that the formula I am using is pulling data correctly for the more recent years, but now I am unsure.
3-8-11.xlsx
0
Comment
Question by:wrt1mea
[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
  • 2
5 Comments
 
LVL 59

Expert Comment

by:Saurabh Singh Teotia
ID: 35070727

Use this formula in Column-F..

=SUMPRODUCT((((DATA!$B$2:$B$10000>$D2)+(DATA!$C$2:$C$10000>=$D2)))*(((DATA!$B$2:$B$10000<=$E2)+(DATA!$C$2:$C$10000<=$E2)))*(DATA!$E$2:$E$10000="N"))

Saurabh...
0
 
LVL 1

Author Comment

by:wrt1mea
ID: 35070772
Saurabh...

That didnt seem to work right. There are no acquired tracts for the year 2000 and its returning 268.
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 35070873
The blanks in some of the date fields are affecting results, try this version in G2 copied down to avoid counting blank dates

=SUMPRODUCT(((DATA!$B$2:$B$10000>$D2)+(DATA!$C$2:$C$10000>=$D2)>0)*((DATA!$B$2:$B$10000<=$E2)*(DATA!$B$2:$B$10000<>"")+(DATA!$C$2:$C$10000<=$E2)*(DATA!$C$2:$C$10000<>"")>0)*(DATA!$E$2:$E$10000="N"),DATA!$D$2:$D$10000)

regards, barry
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 35070892
...F2 of course, will be the same without the sum range, i.e. in F2 copied down

=SUMPRODUCT(((DATA!$B$2:$B$10000>$D2)+(DATA!$C$2:$C$10000>=$D2)>0)*((DATA!$B$2:$B$10000<=$E2)*(DATA!$B$2:$B$10000<>"")+(DATA!$C$2:$C$10000<=$E2)*(DATA!$C$2:$C$10000<>"")>0)*(DATA!$E$2:$E$10000="N"))

barry
0
 
LVL 1

Author Closing Comment

by:wrt1mea
ID: 35071147
Thanks again!
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
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…
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…

756 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