¡Necesitamos su ayuda!

LET

Assigns names to calculation results. This allows storing intermediate calculations, values, or defining names inside a formula. These names only apply within the scope of the LET function.

Sintaxis

=LET(Name1; Name_value1; Calculation_or_Name2 [; Name_value2; Calculation_or_Name3 [; ...]])

Nombre1: el primer nombre que se asignará. Debe comenzar por una letra. No puede ser la salida de una fórmula ni entrar en conflicto con la sintaxis de los intervalos.

Icono de nota

Name_value1: the value or calculation to assign to Name1.

Name2; Name_value2;...: (optional) same as Name1 and Name_value1, respectively. Name_value2 must follow Name2 and so on.

Calculation: a formula expression that uses all names within the LET function.

Icono de nota

Calculation must be the last argument in the LET function.


Ejemplos

Suppose we have a extensive calculation such as

x = cos ( π × e ( α + 35 ) 180 ) x = func cos left ( {{ %pi times func e^(%alpha + 35) } over 180} right )

=COS(PI()*EXP(A1+35)/180)

and we want to compute

y = x ³ + x ² + x + 1 y=x³ + x² + x + 1

The formula for y would be =COS(PI()*EXP(A1+35)/180)^3 + COS(PI()*EXP(A1+35)/180)^2 + COS(PI()*EXP(A1+35)/180) + 1

Using the LET function, it becomes =LET(x,COS(PI()*EXP(A1+35)/180),x^3+x^2+x+1)

Información técnica

Icono de consejo

Esta función está disponible a partir de la versión 24.8 de LibreOfficeDev.


This function is NOT part of the Open Document Format for Office Applications (OpenDocument) Version 1.4. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.LET