Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index

At 21:58 14/06/2013 -0700, Csányi Pál wrote:
I found a solution!

You found it? Good! Did you find it in my message some twelve hours before? ;^)

The function is:
=SUMIF('Num 1'.A1;">20";'Num 1'.A1)-SUMIF('Num 1'.A1;">60";'Num 1'.A1)+SUMIF('Num 2'.A1;">20";'Num 2'.A1)-SUMIF('Num 2'.A1;">60";'Num 2'.A1)+SUMIF('Num 3'.A1;">20";'Num 3'.A1)-SUMIF('Num 3'.A1;">60";'Num 3'.A1)

You seemed to want to exclude 60 (as well as 20) from your range to be summed. If so, you need ">=60" (three times), not ">60".

Is there a simpler way to do it?

Yes, there is. If the third parameter of SUMIF() - "SumRange" - is missing, the values found in the first parameter - "Range" - are summed instead. Since your third parameters are all the same as your first parameters, you can omit them. Oh, look: that's what I did in my earlier suggestion!

Brian Barker

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.