Solved

Excel formulas

Posted on 2011-03-07
3
227 Views
Last Modified: 2012-06-27
Please can you help, I have annotated Columns G & H next to the formulas I am having problems with.

It is the formulas highlighted in yellow that are the ones returning the wrong result?

The formulas in column D are the same as the ones in F, but without the from and to criteria (F5:F6)

I have attached my worksheet,

Thanks,
Gaz
 sun1-1--1-.xls
0
Comment
Question by:Gazza83
[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
3 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 334 total points
ID: 35062991
Hello Gazza,

In F9 5 is correct because the formula is summing the values in AB for the rows with dates within your range, so it sums AB18 and gets 5, if you just want to count rows where the dates are in the range and there is a number in AB then try

=SUMPRODUCT(('Low Volume'!B14:B20000+0>=F5)*('Low Volume'!B14:B20000+0<=F6)*ISNUMBER('Low Volume'!AB14:AB20000))

For F10 2 is correct, only rows 14 and 15 qualify, why should it be 4?

F12 has a typo, try like this

=SUMPRODUCT(('Low Volume'!B14:B20000+0>=F5)*('Low Volume'!B14:B20000+0<=F6)*('Low Volume'!AC14:AC20000=TRUE))

regards, barry
0
 
LVL 50

Assisted Solution

by:barry houdini
barry houdini earned 334 total points
ID: 35063015
Oh...and for the last formula in F14. It's counting 4 because it also counts "No" in I18 - did you mean to include column I?

barry
0
 
LVL 50

Assisted Solution

by:Ingeborg Hawighorst
Ingeborg Hawighorst earned 166 total points
ID: 35063023
Hello,

in F9  =SUMPRODUCT(('Low Volume'!B14:B20000+0>=F5)*('Low Volume'!B14:B20000+0<=F6))

(you had a third argument that was responsible for the summing). The result is 3, if I read your data correctly

F10 calculates correctly. The result is 2

F12 had a typo in the cell address AC14. It said 1AC4 instead

=SUMPRODUCT(('Low Volume'!B14:B20000+0>=F5)*('Low Volume'!B14:B20000+0<=F6)*('Low Volume'!AC14:AC20000="True"))

F 14 calculates correctly. There are "No" values in I18, T14, T18 and V18. Your formula includes all values from column I to V. Maybe you want T to V only?

=SUMPRODUCT(('Low Volume'!B14:B20000+0>=F5)*('Low Volume'!B14:B20000+0<=F6)*('Low Volume'!T14:V20000="No"))

That will result in 3

cheers, teylyn









0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

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…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
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…
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.

733 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