x
• Status: Solved
• Priority: Medium
• Security: Public
• Views: 243

# Excel formulas

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
Gazza83
• 2
3 Solutions

Commented:
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

Commented:
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

Microsoft MVP ExcelCommented:
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

=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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.