I am using the DAYSINMONTH() function in my spreadsheet. When I open the file, the function name is changed to "org.openoffice.daysinmonth()" which returns "#NAME?". Why is it doing this. This is on a Windows 10 Home OS.
The answer was that the file was originally an Excel spreadsheet (or somewhere along the way it was converted from one). I created the file from scratch and the problem no longer occurs. Thanks MrProgrammer.
[Solved] Function name changed after opening with Excel
[Solved] Function name changed after opening with Excel
Last edited by MrProgrammer on Sat Nov 21, 2020 2:46 am, edited 3 times in total.
Reason: Tagged ✓ [Solved]
Reason: Tagged ✓ [Solved]
Open Office 4.1.3, Windows 10 Home
- MrProgrammer
- Moderator
- Posts: 4908
- Joined: Fri Jun 04, 2010 7:57 pm
- Location: Wisconsin, USA
Re: function name is changed
Did you break the spreadsheet by opening/saving it with Excel? You must use Open Office if you want to use that function in your spreadsheet.dwellman wrote:I am using the DAYSINMONTH() function in my spreadsheet. When I open the file, the function name is changed to "org.openoffice.daysinmonth()" which returns "#NAME?".
If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
Re: function name is changed
A compatible replacement for DAYSINMONTH(A1)
subtracts one day from the first of next month and extracts the day portion.
Code: Select all
=DAY(DATE(YEAR(A1);MONTH(A1)+1;1)-1)
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: function name is changed
https://wiki.openoffice.org/wiki/Docume ... H_functionThis function is only available if the Analysis AddIn is installed.
...
Issues:
DAYSINMONTH is not part of the forthcoming ODFF international standard, and should not be regarded as portable. An alternative would be DAY(DATE(YEAR(date);MONTH(date)+1;0)).
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.