Solved

I need an excel formula

Posted on 2011-03-24
2
260 Views
Last Modified: 2012-05-11
I need an excel formula to correctly count a total number and a total length amount (please see the attached file).

What I am trying to do is:

1. Count a total number that has dates in either Column H (Signed), Column I (Closed Date) or Column M (Approval) for a specific date range (See the Info tab Columns A and B). I need to make certain that it only counts it as one if there is a date in 3 of 3 places or 2 of 3 places.

2. I am also trying to sum up the amount that is in Column J (Actual Length) on the info tab, if there is a date in either Column H (Signed), Column I (Closed Date) or Column M (Approval). I need to make certain that it only adds the length one time, not 3 times.

I am trying to use a formula that I got here, only messaged to this particular issue, only its counting something way wrong. The Info Tab has the formulas. The data tab has the, well , data.
3-24-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 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 35209783
Try this for C2 copied down

=SUMPRODUCT(((Data!$H$2:$H$10000>=$A2)*(Data!$H$2:$H$10000<=$B2)+(Data!$I$2:$I$10000>=$A2)*(Data!$I$2:$I$10000<=$B2)+(Data!$M$2:$M$10000>=$A2)*(Data!$M$2:$M$10000<=$B2)>0)*(Data!$K$2:$K$10000="N"))

and exactly the same for D2 except with added sum range

=SUMPRODUCT(((Data!$H$2:$H$10000>=$A2)*(Data!$H$2:$H$10000<=$B2)+(Data!$I$2:$I$10000>=$A2)*(Data!$I$2:$I$10000<=$B2)+(Data!$M$2:$M$10000>=$A2)*(Data!$M$2:$M$10000<=$B2)>0)*(Data!$K$2:$K$10000="N"),Data!$J$2:$J$10000)

see attached

regards, barry
26909642.xlsx
0
 
LVL 1

Author Closing Comment

by:wrt1mea
ID: 35209900
Works perfectly! I am trying to learn and undertand these as I go along, you seem to be one of the best in the busines!

Thanks again!
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
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…

710 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