Solved

Excel formulas

Posted on 2011-03-07
3
222 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
  • 2
3 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 334 total points
Comment Utility
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
Comment Utility
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:teylyn
teylyn earned 166 total points
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
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 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.
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now