La función DÍAS

Share on facebook
Share on twitter
Share on linkedin
Share on telegram
Share on whatsapp

Contents

<span class ="tr_" id="tr_2" data-source="" data-orig="La función DÍAS">La función DÍAS</span> <Article <Blog | SumProduct are Excel training experts: financial modeling, strategic data modeling, model audit, planning and strategy, training courses, tips and online knowledge base

keep in mind javascript is required for full website functionality.

Welcome back to our regular blog of Excel functions from A to Z. Today we look at the DIAS function.

La función DÍAS

Esta función devuelve el número de días entre dos fechas.

function_112_-_days_part_1-2526078

The DIAS The function uses the following syntax to operate:

DAYS (end_date, start date)

The DIAS The function has the following arguments:

  • final date: esto es obligatorio y debe ser una fecha no anterior a start date
  • start date: this is also necessary. Las fechas start date Y final date son las dos fechas entre las que desea saber el número de días.

It should also be noted that:

  • Excel almacena las fechas como números de serie secuenciales para que se puedan utilizar en los cálculos. By default, the 1 of January of 1900 is the serial number 1 and the 1 of January of 2008 is the serial number 39448 because it is 39447 days after 1 of January of 1900.
  • Si ambos argumentos de fecha son números, DIAS usos final datestart date para calcular el número de días entre ambas fechas. Sea claro start date no se cuenta en el número de días entre las dos fechas
  • Si alguno de los argumentos de fecha es texto, ese argumento se trata como DATEVALUE (texto_fecha) y devuelve una fecha entera en lugar de un componente de tiempo
  • Si los argumentos de fecha son valores numéricos que quedan fuera del rango de fechas válidas, DIAS return the #ON ONE! error value
  • Si los argumentos de fecha son cadenas que no se pueden analizar como fechas válidas, DIAS return the #VALUE! error value
  • Esta función era nueva en Excel 2013.

Please, see my example below:

function_112_-_days_part_2-7691159

Todavía no estoy seguro de por qué no puede restar una fecha de otra

Soon we will continue with our functions from A to Z of Excel. Keep checking: there is a new blog post every business day.

You can find a full page of feature articles here.

Subscribe to our Newsletter

We will not send you SPAM mail. We hate it as much as you.