[libreoffice-users] #NAME? error in valid formula in xlsx format spreadsheet

2013-01-21 Thread Eric J Owens
TIA!

I have an xlsx format spreadsheet with several formulas:

=PRODUCT(SUM(months(10/21/2012,NOW(),1),months(11/6/2012,NOW(),1)) ,50)

When I close and re-open the spreadsheet, the cell with the formula gives
me the #NAME? error.  The first time I saw this and after quite a while
trying to determine what was wrong, I figured out that nothing at all was
wrong with the formula.  All it takes for the spreadsheet to do the
calculation is to modify the cell.  For example, changing just one of the
months() functions to MONTHS() and then pressing enter will allow the
cell to calculate the value, even though only one of the months() functions
has been capitalized.  In fact, thinking that there might be some option
making the function be case specific, when I first noticed the problem, I
had tried to capitalize the months() function, but when I hit enter, the
upper case was subsequently changed to lower case and the calculation was
performed anyway.  When the spreadsheet is saved in ods or xls format, the
formula is calculated as would be expected after a close/re-open and the
months() is upper cased to MONTHS().

Since I know how to fix the error after re-opening, it isn't a big deal,
but it sure would be nice not having to edit all the formulas just to get
my calculations performed.  Any idea why closing and re-opening the xlsx
spreadsheet causes the formula to error when there really is no error?
 Other than saving in ods or xls format, any idea how to fix the issue?

Thanks!

-- 
For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



Re: [libreoffice-users] #NAME? error in valid formula in xlsx format spreadsheet

2013-01-21 Thread Tom Davies
Hi :)
Are you saying that the problem doesn't happen if you save in Xls or Ods 
formats?  If the problem only happens with XlsX format then can you
1.  avoid using that format and try to keep an original in either Ods or Xls? 
 Obviously Ods is the prefered one but if you need to share with MS Office 
users then Xls might be needed.  
2.  File a bug-report about the XlsX problem
https://wiki.documentfoundation.org/BugReport
Regards from
Tom :)  






 From: Eric J Owens myd...@yahoo.com
To: users@global.libreoffice.org 
Sent: Monday, 21 January 2013, 19:59
Subject: [libreoffice-users] #NAME? error in valid formula in xlsx format 
spreadsheet
 
TIA!

I have an xlsx format spreadsheet with several formulas:

=PRODUCT(SUM(months(10/21/2012,NOW(),1),months(11/6/2012,NOW(),1)) ,50)

When I close and re-open the spreadsheet, the cell with the formula gives
me the #NAME? error.  The first time I saw this and after quite a while
trying to determine what was wrong, I figured out that nothing at all was
wrong with the formula.  All it takes for the spreadsheet to do the
calculation is to modify the cell.  For example, changing just one of the
months() functions to MONTHS() and then pressing enter will allow the
cell to calculate the value, even though only one of the months() functions
has been capitalized.  In fact, thinking that there might be some option
making the function be case specific, when I first noticed the problem, I
had tried to capitalize the months() function, but when I hit enter, the
upper case was subsequently changed to lower case and the calculation was
performed anyway.  When the spreadsheet is saved in ods or xls format, the
formula is calculated as would be expected after a close/re-open and the
months() is upper cased to MONTHS().

Since I know how to fix the error after re-opening, it isn't a big deal,
but it sure would be nice not having to edit all the formulas just to get
my calculations performed.  Any idea why closing and re-opening the xlsx
spreadsheet causes the formula to error when there really is no error?
Other than saving in ods or xls format, any idea how to fix the issue?

Thanks!

-- 
For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted




-- 
For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted