Меню

Опен офис ошибка 504

##### — эти символы сообщают, что столбец, содержащий числа, недостаточно широк, или же дата и время, введенные в ячейки данного столбца, содержат отрицательные числа. В первом случае достаточно просто увеличить ширину столбца или изменить числовой формат данных (например, уменьшить число знаков после запятой). Во втором же случае надо:

• проверить формулу, если вычисляется число дней между двумя датами;

• если формула не содержит ошибок, необходимо изменить формат ячейки и перейти, например, с формата Дата и время на Общий или Числовой формат.

Ошибка: 501 — недопустимый символ. Формула содержит недопустимый символ, например =1Eр вместо =1E2.

Ошибка: 502 — недопустимый аргумент. Функция имеет недопустимый аргумент, например отрицательное число для функции извлечения корня.

Ошибка: 503 (#NUM! ) — недопустимая операция с плавающей запятой. Вычисление приводит к переполнению диапазона значений.

Ошибка: 504 — ошибка в списке параметров. Используется недопустимый параметр функции, например текст вместо числа или гиперссылка вместо ссылки на ячейку.

Ошибка: 508 — нет пары.

Отсутствует скобка (закрывающая или открывающая).

Ошибка: 509 — отсутствует оператор. В формуле отсутствует оператор (+, – и т. д.).

Ошибка: 510 — отсутствует переменная.

Отсутствует переменная (два оператора стоят рядом).

Ошибка: 511 — отсутствует переменная. В функции не хватает переменной.

Ошибка: 512 — слишком длинная формула.

Общее число внутренних маркеров (операторов, переменных, скобок) в формуле превышает 512 или общее число матриц, которые создает формула, превышает 150.

Ошибка: 513 — слишком длинная строка. Идентификатор в формуле превышает 64 Kб.

Ошибка: 514 — внутреннее переполнение.

Переполнен стек вычислений (например, операция сортировки предпринята на слишком большом количестве числовых данных — более 100 000).

Ошибка: 516 — внутренняя синтаксическая ошибка. В стеке вычислений недоступна необходимая матрица.

Ошибка: 517 — внутренняя синтаксическая ошибка. Документ с новой функцией открыт в старой версии программы.

Ошибка: 518 — внутренняя синтаксическая ошибка. Переменная недоступна.

Ошибка: 519 (#VALUE) — нет результата. Ячейка, на которую ссылается формула, содержит текст вместо числа. -В ячейке отображается #ЗНАЧЕН! , а не Ошибка: 519.

Ошибка: 520 — внутренняя синтаксическая ошибка. Компилятор создал неизвестный код компиляции.

Ошибка: 521 — внутренняя синтаксическая ошибка. Нет результата.

Ошибка: 522 — циклическая ссылка. Формула ссылается прямо или косвенно на саму себя, а параметр Итерации не настроен.

Ошибка: 523 — процедура вычисления не сходится. Функция потеряла подбираемое значение или циклические ссылки не доходят до минимальных изменений для заданного максимального числа шагов.

Ошибка: 524 (#REF) — недопустимые ссылки. В формуле отсутствует столбец, строка или лист с заданной ячейкой.

-В ячейке отображается #ССЫЛ!2, а не Ошибка: 524.

Ошибка: 525 (#NAME) — недопустимые имена. Нет допустимой ссылки, доменного имени, подписи столбца/строки, макроса, присутствует неправильный десятичный разделитель или не найдена надстройка.

-В ячейке отображается #ИМЯ, а не Ошибка: 525.

Ошибка: 526 — внутренняя синтаксическая ошибка. Ссылка устарела.

Ошибка: 527 — внутреннее переполнение. Слишком сложное вложение ссылок.

Ошибка: 532 (#DIV/0!) — деление на ноль. В формуле используется деление на ноль.

Amylase

Posts: 32
Joined: Mon Jul 09, 2018 8:02 pm


[Solved] 504 & 522 Errors… sometimes

I recently just turned off the option Iterative References due to having variable answers. Now I am having variable errors such as err:504 & err:522. I look in these error cells and usually can’t find anything wrong with them. This eventually clears up by reopening the document or using the undo/redo arrows. Is there something that would be causing this? Or maybe I am just not that good at doing this stuff? Help appreciated.

Most Recent 504 error:
=IF(AND(OR(INDEX(A4:AMJ4;COUNTA(A4:AMJ4)- 0 )>0.7*Data.D20;AND(AND(INDEX(A4:AMJ4;COUNTA(A4:AMJ4)-0)+INDEX(A4:AMJ4;COUNTA(A4:AMJ4)-2)>0.7*Data.D20);LEFT(INDEX(A3:AMJ3;COUNTA(A3:AMJ3)-1);8)=»Late Fee»;INDEX(A2:AMJ2;COUNTA(A2:AMJ2)-0)<INDEX(A2:AMJ2;COUNTA(A2:AMJ2)-2)+ IF(B11=0;44;14) ;AND(INDEX(A3:AMJ3;COUNTA(A3:AMJ3)-0)=»Payment»;INDEX(A3:AMJ3;COUNTA(A3:AMJ3)-2)=»Payment»)));OR(AND(INDEX(A3:AMJ3;COUNTA(A3:AMJ3)-0)=»Payment»; IF(L12>=L13;AND(INDEX(A2:AMJ2;COUNTA(A2:AMJ2)-0)<=L13;INDEX(A2:AMJ2;COUNTA(A2:AMJ2)-0)>DATE(YEAR(L13);MONTH(L13)-1;DAY(L13)));AND(INDEX(A2:AMJ2;COUNTA(A2:AMJ2)-0)<=DATE(YEAR(L13);MONTH(L13)-1;DAY(L13));INDEX(A2:AMJ2;COUNTA(A2:AMJ2)-0)>DATE(YEAR(L13);MONTH(L13)-2;DAY(L13)))) ;LEFT(INDEX(A3:AMJ3;COUNTA(A3:AMJ3)-1);8)<>»Late Fee»);AND(INDEX(A3:AMJ3;COUNTA(A3:AMJ3)-0)=»Payment»;IF(L12>=L13;INDEX(A2:AMJ2;COUNTA(A2:AMJ2)-0)>L13;INDEX(A2:AMJ2;COUNTA(A2:AMJ2)-0)>DATE(YEAR(L13);MONTH(L13)-1;DAY(L13)));LEFT(INDEX(A3:AMJ3;COUNTA(A3:AMJ3)-1);8)=»Late Fee»)));1;M11)

Saved Document and reopened it and behold it’s okay… for now

Most Recent 522 error:
=IF(AND(Data.D23>Data.D21;B11=0);1;IF(AND(Data.D23>DATE(YEAR(Data.D21);MONTH(Data.D21)-1;DAY(Data.D21)+Data.H13);B11=0);1;0))

but it is currently FALSE not err:522

????? How do I get a stable spreadsheet out of this mess :( ?????

Last edited by Amylase on Thu Jan 10, 2019 4:28 pm, edited 1 time in total.

OpenOffice 4.1.7, Windows 10

User avatar

Zizi64

Volunteer
Posts: 10919
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: 504 & 522 Errors… sometimes

Post

by Zizi64 » Thu Jan 10, 2019 12:13 pm

From the HELP:

504
Parameter list error
Function parameter is not valid, for example, text instead of a number, or a domain reference instead of cell reference.

Tip: Check your formula.

522
Circular reference
Formula refers directly or indirectly to itself and the Iterations option is not set under Tools — Options — LibreOffice Calc — Calculate.

Tip: Do not use circular reference. Or if it is necessary, set the iteration options.

Please upload your .ods type sample file here.

Last edited by Zizi64 on Thu Jan 10, 2019 2:06 pm, edited 1 time in total.

Tibor Kovacs, Hungary; 6.4.7 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.4.4;AOO4.1.13
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.

Amylase

Posts: 32
Joined: Mon Jul 09, 2018 8:02 pm

Re: 504 & 522 Errors… sometimes

Post

by Amylase » Thu Jan 10, 2019 12:26 pm

Oh thank you so much for your time Zizi… you seem to know all the answers :D :bravo: :D

Typical places where errors show up 522 & 504 (both only sometimes depending on the date in data.D23):
Data Sheet:
E28:E30
I28:I31

Formula Sheet
B12
L11

Attachments
tenant30e.ods
(84.91 KiB) Downloaded 72 times

OpenOffice 4.1.7, Windows 10

User avatar

RoryOF

Moderator
Posts: 33962
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: 504 & 522 Errors… sometimes

Post

by RoryOF » Thu Jan 10, 2019 2:20 pm

Amylase wrote:I can copy and paste an error cell contents into another cell and it displays correctly :knock:

That, surely, is an indication that the formula is a circular reference when in its original cell.

In which cells were your original 504 and 522 errors?

Apache OpenOffice 4.1.13 on Xubuntu 22.04.1 LTS

Amylase

Posts: 32
Joined: Mon Jul 09, 2018 8:02 pm

Re: 504 & 522 Errors… sometimes

Post

by Amylase » Thu Jan 10, 2019 2:25 pm

RoryOF wrote:an indication that the formula is a circular reference

I am sorry maybe I am not explaining it correctly. That was an err:504 and I copied and pasted it and then back into its original position and it cleared up. Nothing else changed. These errors come and go by simply by saving and reopening the sheet as well. What the hell?

OpenOffice 4.1.7, Windows 10

Amylase

Posts: 32
Joined: Mon Jul 09, 2018 8:02 pm

Re: 504 & 522 Errors… sometimes

Post

by Amylase » Thu Jan 10, 2019 2:28 pm

Amylase wrote:In which cells were your original 504 and 522 errors?

504 in formula.B11
522 in data.I28:I31

The errors come and go and also change locations. It seems like the largest contributor is in formula.b11 that has also come up as 522 circular but not the last time… is was 504.

OpenOffice 4.1.7, Windows 10

User avatar

RoryOF

Moderator
Posts: 33962
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: 504 & 522 Errors… sometimes

Post

by RoryOF » Thu Jan 10, 2019 2:37 pm

There is probably what is known in computing as «a race condition», where one set of calculations finishes at a different speed before another (caused, perhaps, by short circuit evaluation for particular values), and the resulting conditionals differ as a result. Unless there is some error obvious to someone else, you might need to restructure your spreadsheet. I see a number of repeated evaluations — I would extract these to their own column and replace them in your complex formula by a reference to their result (probably a true/false value). I would also move your result cells to the right and down, so that the calculations of the entire sheet were complete before the results were tested in your result formulae.

BUT: I’m not a Calc expert, so take my advice in that light.

Apache OpenOffice 4.1.13 on Xubuntu 22.04.1 LTS

Amylase

Posts: 32
Joined: Mon Jul 09, 2018 8:02 pm

[Solved] Re: 504 & 522 Errors… sometimes

Post

by Amylase » Thu Jan 10, 2019 4:27 pm

RoryOF wrote:There is probably what is known in computing as «a race condition»

Well that is the only thing that seems to make sense. I am going to precede as if this is what is wrong. After your reply, I came across this article…http://www.decisionmodels.com/calcsecretsc.htm. I know it is not OOo but likely to be similar enough to show further clarity of the difficulties my sheet is going through. Now just to figure out how to clean this up :|

OpenOffice 4.1.7, Windows 10

Basically this is a continuation of my previous post. I thought I should ask this separately as this issue is external references related. I have the following formula that works in OpenOffice 4.1.2:

{=MAX(IF($Data.$A$1:$A$1048576=A3;IF($Data.$F$1:$F$1048576>=W3*VALUE(SUBSTITUTE($W$1;"LOOKUP FACTOR x";""));ROW($Data.$F$1:$F$1048576))))}

According to @JimK who helped me develop and simplify this formula in the first place, this returns the last row in Column F ($Data. being an individual sheet) that is greater than or equal to the value in W3 multiplied by the LOOKUP FACTOR x, only IF the values in Column A equal to A3.

The issue I’m having is that now instead of referencing to the sheet $Data., I want to replace each $Data. instance with an external workbook reference [data.xlsx]DATA!. Example:

{=MAX(IF('file:///Applications/.../data.ods'#$DATA.$A$1:$A$1048576=A3;'file:///Applications/.../data.ods'#$DATA.$D$1:$D$1048576))}

This array formula works and returns the MAX price in data.ods'#$DATA.$F$1:$F$1048576 only IF the range data.ods'#$DATA.$A$1:$A$1048576 corresponds to the value in cell A3 which is for instance Apples (see Note). The value in cell A4 in this case would be Bananas, and so on.

The following array formula works in Excel Mac 15.12.3:

{=MAX(IF('/Applications/.../[data.xlsx]DATA'!$A:$A=A3,IF('/Applications/.../[data.xlsx]DATA'!$F:$F>=W3*VALUE(SUBSTITUTE($W$1,"LOOKUP FACTOR x","")),ROW('/Applications/.../[data.xlsx]DATA'!$F:$F))))}

The following array formula, however, doesn’t work in OpenOffice 4.1.2:

{=MAX(IF('file:///Applications/.../data.ods'#$DATA.$A$1:$A$1048576=A3;IF('file:///Applications/.../data.ods'#$DATA.$F$1:$F$1048576>=W3*VALUE(SUBSTITUTE($W$1;"LOOKUP FACTOR x";""));ROW('file:///Applications/.../data.ods'#$DATA.$F$1:$F$1048576))))}

Neither does a different scenario:

{=MAX(IF('file:///Applications/.../data.ods'#$DATA.$A$1:$A$1048576=A3;ROW('file:///Applications/.../data.ods'#$DATA.$A$1:$A$1048576)-ROW(INDEX('file:///Applications/.../data.ods'#$DATA.$A$1:$A$1048576;1;1))+1))}

For the above array formula obviously {=MIN(IF(...))} does not work either.

They both return the same error:

Err:504 - Error in parameter list

It seems to be that somehow OpenOffice Calc does not read the domain reference to the external workbook properly, but for other formulas it works (like the one mentioned above). Given my research, here is where I originally got my syntax for referencing by file-URL. I also came across this post which states that Err:504 may be due to that literal strings are «double quoted».

So I went ahead and replaced:

'file:///Applications/.../data.ods'#$DATA.

with

"file:///Applications/.../data.ods"#$DATA.

which evidently returned

Err:509 - Missing Operator


Does anyone know how I can reference the external (and closed) workbook inside an array formula with nested IFs like in the examples above?


Note: It’s worth mentioning:

  • The table within sheet $Data. is grouped by Column A which contains the name of the products e.g. grouped by Apples then Bananas, etc.
  • Column B in $Data. contains dates which are sorted into descending order.
  • Column F in $Data. contains prices for each product on different dates.
  • The rest of the columns simply contain product metadata and descriptions which may also vary depending on the date.

All of the above also apply for '/.../data.ods'#$DATA..

Basically this is a continuation of my previous post. I thought I should ask this separately as this issue is external references related. I have the following formula that works in OpenOffice 4.1.2:

{=MAX(IF($Data.$A$1:$A$1048576=A3;IF($Data.$F$1:$F$1048576>=W3*VALUE(SUBSTITUTE($W$1;"LOOKUP FACTOR x";""));ROW($Data.$F$1:$F$1048576))))}

According to @JimK who helped me develop and simplify this formula in the first place, this returns the last row in Column F ($Data. being an individual sheet) that is greater than or equal to the value in W3 multiplied by the LOOKUP FACTOR x, only IF the values in Column A equal to A3.

The issue I’m having is that now instead of referencing to the sheet $Data., I want to replace each $Data. instance with an external workbook reference [data.xlsx]DATA!. Example:

{=MAX(IF('file:///Applications/.../data.ods'#$DATA.$A$1:$A$1048576=A3;'file:///Applications/.../data.ods'#$DATA.$D$1:$D$1048576))}

This array formula works and returns the MAX price in data.ods'#$DATA.$F$1:$F$1048576 only IF the range data.ods'#$DATA.$A$1:$A$1048576 corresponds to the value in cell A3 which is for instance Apples (see Note). The value in cell A4 in this case would be Bananas, and so on.

The following array formula works in Excel Mac 15.12.3:

{=MAX(IF('/Applications/.../[data.xlsx]DATA'!$A:$A=A3,IF('/Applications/.../[data.xlsx]DATA'!$F:$F>=W3*VALUE(SUBSTITUTE($W$1,"LOOKUP FACTOR x","")),ROW('/Applications/.../[data.xlsx]DATA'!$F:$F))))}

The following array formula, however, doesn’t work in OpenOffice 4.1.2:

{=MAX(IF('file:///Applications/.../data.ods'#$DATA.$A$1:$A$1048576=A3;IF('file:///Applications/.../data.ods'#$DATA.$F$1:$F$1048576>=W3*VALUE(SUBSTITUTE($W$1;"LOOKUP FACTOR x";""));ROW('file:///Applications/.../data.ods'#$DATA.$F$1:$F$1048576))))}

Neither does a different scenario:

{=MAX(IF('file:///Applications/.../data.ods'#$DATA.$A$1:$A$1048576=A3;ROW('file:///Applications/.../data.ods'#$DATA.$A$1:$A$1048576)-ROW(INDEX('file:///Applications/.../data.ods'#$DATA.$A$1:$A$1048576;1;1))+1))}

For the above array formula obviously {=MIN(IF(...))} does not work either.

They both return the same error:

Err:504 - Error in parameter list

It seems to be that somehow OpenOffice Calc does not read the domain reference to the external workbook properly, but for other formulas it works (like the one mentioned above). Given my research, here is where I originally got my syntax for referencing by file-URL. I also came across this post which states that Err:504 may be due to that literal strings are «double quoted».

So I went ahead and replaced:

'file:///Applications/.../data.ods'#$DATA.

with

"file:///Applications/.../data.ods"#$DATA.

which evidently returned

Err:509 - Missing Operator


Does anyone know how I can reference the external (and closed) workbook inside an array formula with nested IFs like in the examples above?


Note: It’s worth mentioning:

  • The table within sheet $Data. is grouped by Column A which contains the name of the products e.g. grouped by Apples then Bananas, etc.
  • Column B in $Data. contains dates which are sorted into descending order.
  • Column F in $Data. contains prices for each product on different dates.
  • The rest of the columns simply contain product metadata and descriptions which may also vary depending on the date.

All of the above also apply for '/.../data.ods'#$DATA..

  • Главная
  • Разработка
  • Дизайн
  • QA
  • События
  • Документация
  • Сайт
  • Локализация
  • Маркетинг
  • Расширения
  • Macros
  • Wiki справка
  • Документация
  • Публикации
  • Сторонняя документация
  • Документация для разработчиков
  • ЧаВо
  • Главная
  • Общие
  • Writer
  • Calc
  • Impress
  • Draw
  • Math
  • Base

Что означают коды ошибок (Err: NNN ) в электронных таблицах LibreOffice?

Коды ошибок

Код ошибки Текст Описание
#### any Ячейка недостаточно большая для отображения всего содержимого. См. Как просмотреть содержимое ячейки, в которой отображается ###.
501 Invalid character Не верный символ для этого контекста. Например:=1¤2 вместо =1E2.
502 Invalid argument Аргумент функции имеет неправильное (недопустимое) значение. Например: отрицательное значение для функции извлечения корня.
503
#NUM !
Incorrect floating point operation Результат вычисления находится вне определенного диапазона значений.
504 Error in parameter list Параметр функции имеет неверный тип. Например: текст вместо числа или ссылка на диапазон ячеек вместо ссылки на одну ячейку
505 Internal syntax error Не используется
506 Incorrect decimal point Не используется
507 Error : missing pair Не используется
508 Error : missing pair Закрывающая скобка без открывающей скобки или пропавшая закрывающая скобка в середине формулы (отсутствующая скобка в конце формулы добавляется автоматически).
509 Missing operator Отсутствует оператор. Например: в формуле =2(3+4) отсутствует математический оператор (*, /, + или -) между цифрой «2» и открывающей скобкой «(«.
510 Missing variable Недостающая переменная. Два оператора, где второй не является унарным оператором, следуют друг за другом. Например: =1+*2.
511 Missing variable Недостающая переменная. Функция требует большего количества переменных, чем указано. Например: для операторов AND() и OR() не указаны параметры.
512 Formula too long В компиляторе: это относится к внутреннему числу битов (512 максимум), которое не имеет ничего общего с длиной символьной строки в формуле, но зависит от количества операторов, переменных, скобок и т.д. в формуле. В интерпретаторе: формулы, которые генерируют слишком много матриц сразу (150 максимум) и основные функции, которые получают в качестве параметров массив, который слишком велик (OxFFE максимум в 65534 октета).
513 Character string too long В компиляторе: идентификатор в формуле содержит более 255 символов. В интерпретаторе: результат операции над строкой символов содержит более 255 знаков.
514 Internal capacity exceeded Операции сортировки со слишком большим количеством данных (максимум доступно 100 000) или данные, которые превышают стек вычислений
515 Internal syntax error Не используется
516 Internal syntax error Стек расчета должен содержать матрицу, но её не существует.
517 Internal syntax error Неизвестный код операции. Например: документ, содержащий новую функцию, открыт в старой версии программного обеспечения, которая не содержит эту её.
518 Internal syntax error Переменная должна появиться из стека вычислений, но её там нет.
519 #VALUE ! No result Функция не может поставить значение, соответствующее определению, или одна из ячеек, на которую ссылается формула, содержит текст вместо числа
520 Internal syntax error Компилятор сгенерировал код, который не может быть интерпретирован.
521 Internal syntax error Нет результата в стеке вычисления.
522 Circular reference Формула делает прямую или косвенную ссылку на саму себя и в меню Сервис ▸ Параметры ▸ LibreOffice Calc ▸ Вычисления не были активированы итерации.
523 The calculation does not converge Статистические (финансовые) функции стремятся к заданному значению, но не достигают его, или итерация ссылок в цикле не достигает минимального изменения в рамках определенных шагом максимальных
524
#REF !
Incorrect reference В компиляторе: заголовки строк или столбцов не обнаружены. В интерпретаторе: формула ссылается на ячейку, столбец, строка или таблица которой были удалены или не входили в таблицу.
525
#NAME ?
Incorrect name В компиляторе: система не может активировать идентификатор (нет ссылки, имени секции, заголовка строки или столбца, макроса, и так далее). В интерпретаторе: то же самое в течение всего периода выполнения. Например: функция Basic или надстройка недоступны.
526 Internal syntax error Это уже не используется, но может произойти в старых документах, если результатом формулы был диапазон.
527 Internal capacity exceeded В интерпретаторе: Чрезмерная вложенность ссылок (ячейка ссылается на ячейку, которая ссылается на ячейку, которая ссылается на ячейку и т.д.).
532
#DIV/0 !
Division by zero Оператор делений «/», где знаменатель равен «0»
Другие функции могут возвращать эту ошибку. Например:
VAR.P с менее чем 1 аргументом
ECARTYPEP менее чем 1 аргументом
VAR менее чем 2 аргументами
ECARTYPE менее чем 2 аргументами
CENTREE.REDUITE с ECARTYPE=0
LOI.NORMALE с ECARTYPE=0

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Опен офис выдает ошибку
  • Описка или ошибка разница