Saltar al contenido
View in the app

A better way to browse. Learn more.

Ayuda Excel

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Encontrar fecha cercana

publicado

Hola a tod@s.

Estoy buscando la forma de como encontrar la fecha anterior mas cercana del 2019-01-01 del siguiente listado en la columna A:

FECHA

2017-10-17
2017-10-23
2018-10-31
2019-01-21
2019-01-21
2019-02-28

Resultado:
Seleccionar la fecha 2018-10-31

Saludos

 

Editado el por CarlosKurt

Featured Replies

publicado
  • Autor

Hola @Gerson Pineda, muchas gracias por el aporte. Buscando por otros sitios web agregue algo mas al codigo

Dim c As Date
c = #1/1/2019#
        vf = Application.Match(CLng(c), Range("A:A"), 1)
        Cells(vf, "A").Select

Sin embargo, me pregunto, en caso el listado no estaria en orden como el siguiente:
21/01/2019
17/10/2017
23/10/2017
21/01/2019
31/10/2018
28/02/2019

El resultado seria 23/10/2017 en vez de 31/10/2018

Saludos

Archivado

Este tema está ahora archivado y está cerrado a más respuestas.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.