Issue 122399 - Can't calculate formula
Summary: Can't calculate formula
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: Calc
Classification: Application
Component: viewing (show other issues)
Version: 4.0.0-dev
Hardware: PC Windows 8, 8.1
: P3 Critical (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needmoreinfo
Depends on:
Blocks:
 
Reported: 2013-05-28 15:49 UTC by Andrzej
Modified: 2017-05-20 09:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Can't calculate formula in column M (7.52 KB, application/octet-stream)
2013-05-28 15:49 UTC, Andrzej
no flags Details
oryginal file (12.17 KB, application/octet-stream)
2013-05-28 18:13 UTC, Andrzej
no flags Details
AOO4.0-bulid_1487177 (157.87 KB, image/png)
2013-05-31 18:56 UTC, Andrzej
no flags Details
EXCEL2010 (160.43 KB, image/png)
2013-05-31 18:56 UTC, Andrzej
no flags Details
LO4.0.3 (144.83 KB, image/png)
2013-05-31 18:56 UTC, Andrzej
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Andrzej 2013-05-28 15:49:17 UTC
Created attachment 80740 [details]
Can't calculate formula in column M

AOO can't calculate this formula:
=L6-(-4~3)
Why?
For example MSO and LO calculate this formula. 
Look on column M in attached file.
Comment 1 Rob Weir 2013-05-28 17:51:18 UTC
Your sheet gives me an error when loaded into Excel 2013.  I'm prompted to repair the sheet and when I do the formulas are lost.

In OpenOffice the tilde is the reference concatenation operator, used to express complex (not contiguous) ranges.  See:

http://wiki.openoffice.org/wiki/Documentation/OOo3_User_Guides/Calc_Guide/Creating_formulas


Something like "=L6-(-4~3)" is treated as a syntax error in OpenOffice.

If I enter the same formula into Excel 2013 it is also treated as an error.

Could this be a localization error, where you are using the ~ on your keyboard to express a basic spreadsheet operator?  What does ~ mean in your spreadsheet?  What operator is it?
Comment 2 Andrzej 2013-05-28 18:13:55 UTC
Created attachment 80741 [details]
oryginal file
Comment 3 Andrzej 2013-05-28 18:16:13 UTC
Hallo  Rob
Thanks for your help.
I get file from my friend, and I cut section from him in LO and save as xlsx. That is why you probably can not unlock him in MSO 2013. So now I attached original file "measure.xlsx". Try open him.

"What does ~ mean in your spreadsheet?  What operator is it?" - I don't know why he use "~" instead of "," but if I open this file "measure.xlsx" on LO all is right.

On the margin: Do you use MSO 2013? Why? You don't like AOO? I am disappointed. ;-(

I greet

PS: Sorry for my English. I don't know him, but try all explain.
Comment 4 Rob Weir 2013-05-28 21:01:47 UTC
Measure.xslx gives me an error in Excel 2013 also.  So something is wrong in the original file.

Also, the same formula, entered into a new Excel spreadsheet also gives an error.

I don't know what LO is doing here, but whatever it is, it is not compatible with Excel or OpenOffice.

It would help if you can find out what "4~3" represents.
Comment 5 Andrzej 2013-05-31 18:56:05 UTC
Created attachment 80753 [details]
AOO4.0-bulid_1487177
Comment 6 Andrzej 2013-05-31 18:56:30 UTC
Created attachment 80754 [details]
EXCEL2010
Comment 7 Andrzej 2013-05-31 18:56:58 UTC
Created attachment 80755 [details]
LO4.0.3
Comment 8 Andrzej 2013-05-31 19:29:16 UTC
Hello Rob
1. I attached screen shot from MSO 2010, LO and AOO.
"It would help if you can find out what "4~3" represents." - I don't know what means, but if MSO 2010 open this file as "repairs mode" maybe AOO should be open this file in "repairs mode"?
What you fink about this? 
2. The question from the different border cell. Rob I new to formating border cell use settings center borders, but in AOO I don't find him. Look et MSO 2003, 2007, 2010 or 2013 then you understand me. In MSO formating cell border he is more intuitive. Please correct this.
3. If I using my file long time in AOO then the AOO slows down then- hi is like the mud -it's very difficult.


I want only help for you to cerate very good office, so don't be angry to me.
Comment 9 Rob Weir 2013-06-03 20:32:39 UTC
So in your Excel 2010 image it shows that Excel stripped the formula.  So I think the formula is not valid.  There could be a bug also in LO that it is not reporting the bad formula.

For other questions on borders, etc., please post to the community support forums here:

http://forum.openoffice.org/

We want to use Bugzilla for bug reports only.