[Issue] SUMIF with multiple conditions

Discuss the spreadsheet application
Post Reply
wojmo
Posts: 6
Joined: Wed Oct 05, 2022 9:02 pm

[Issue] SUMIF with multiple conditions

Post by wojmo »

 Edit: Split from [Solved] SUMIF with multiple conditions because that topic is solved so you need your own. If you had the same problem you could use the same solution. Please do not post in another's topic unless you are helping to solve their problem for them. 

I need to sum up all numbers in one column higher then -100 and less then 0.
I tried this: =SUMIFS( I2:I118 ; I2:I118, ">" -100 ; I2:I118, "<" 0)
Where's the error?
Last edited by Hagar Delest on Tue Oct 11, 2022 7:58 am, edited 1 time in total.
Reason: tagged issue.
OpenOffice 4.1.6 on Windows10
User avatar
RusselB
Moderator
Posts: 6646
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: [Solved] SUMIF with multiple conditions

Post by RusselB »

Change the last parameter separator from a comma to a semicolon
OpenOffice 4.1.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
wojmo
Posts: 6
Joined: Wed Oct 05, 2022 9:02 pm

Re: [Solved] SUMIF with multiple conditions

Post by wojmo »

Thank you Sir,
It did work when I changed both commas after range1 and range2 to semicolon. Does that mean an error in OO prompts?
screenshot 2022-10-10 112040.jpg
screenshot 2022-10-10 112040.jpg (13.83 KiB) Viewed 1788 times
OpenOffice 4.1.6 on Windows10
User avatar
RoryOF
Moderator
Posts: 35083
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] SUMIF with multiple conditions

Post by RoryOF »

OpenOffice uses ; (semicolon) as the delimiter. Some other spreadsheets use , (comma). Simply a difference in design.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.5 LTS
wojmo
Posts: 6
Joined: Wed Oct 05, 2022 9:02 pm

Re: [Solved] SUMIF with multiple conditions

Post by wojmo »

The above screenshot shows OpenOffice prompt...
OpenOffice 4.1.6 on Windows10
User avatar
RusselB
Moderator
Posts: 6646
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: [Solved] SUMIF with multiple conditions

Post by RusselB »

That is an error in the prompt balloon.
OpenOffice 4.1.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
User avatar
robleyd
Moderator
Posts: 5394
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: SUMIF with multiple conditions

Post by robleyd »

It has been reported as a bug.
Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 25.2.5.2; SlackBuild for 25.2.5 by Eric Hameleers
---------------------
Roses are Red, Violets are Blue]
Unexpected '{' on line 32
.
Post Reply