Al escribir fórmulas debemos evitar siempre que podamos anidar funciones SI (sobre todo cuando tenemos información que se repite).
Por favor, prueba la siguiente fórmula:
=SI.ERROR(
LET(
id, B3,
fecha_ref, F3,
rango_ids, '[Base Snte 05 Coah 2.xlsx]Pagos'!$F$2:$F$10000,
rango_fechas, '[Base Snte 05 Coah 2.xlsx]Pagos'!$K$2:$K$10000,
rango_resultado, '[Base Snte 05 Coah 2.xlsx]Pagos'!$D$2:$D$10000,
diferencia, ABS(rango_fechas - fecha_ref),
filtro, (rango_ids = id) * diferencia,
min_dif, MIN.SI.CONJUNTO(diferencia, rango_ids, id),
fila, COINCIDIR(min_dif, filtro, 0),
INDICE(rango_resultado, fila)
),
"No encontrado")Coméntanos si funciona.
Por
Sergio, · publicado
FEDERACION DE ENFERMERAS .....
ESTIMADOS COLEGAS:
NECESITO AYUDA EN UN FORMULARIO DE FILTRO DE DATOS.
1. QUISIERA PODER LLENAR EL ListBox SELECCIONANDO MI ComboBox1 que se encuentran todas las hojas
2. NO PUEDO FILTAR LA INFORMACION QUE HE SELECCIONADO MEDIANTE El comboBox TIPO DE DOCUMENTO NI POR ASUSNTO.
ADJUNTO ARCHIVO. SE ENCUENTRA EL EN FORMULARIO 2
Reg_de_Doc_Despacho_Viceministerial.zip