Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

354
Vistas
Excel : Look up concatenate with aggregation (sum)

I have an excel issue which I try to solve with "classic" excel formulas. I know my problem can be solved using Dax in Power Pivot but I don't want to use it in this case.

enter image description here

So as you can in the screenshot above, for each Key I'm trying to extract lot numbers and sum the units for the given lot matching that Key. Bear in mind that for each key, a lot can appear multiple times and in this case I would like to show the lot once with the sum of quantity.

I have been able to extract the lot numbers for a given Key, nevertheless as the lot number can appear in multiple records for a given key, I have multiple times the lot with different quantities. Ex : in the cell N4 => LOT1(15), LOT1(15) whereas I would like LOT1(30).

Do you have an idea to solve this in excel formulas without using Macro & Dax ?

about 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Use FILTER to get the list of Unique lots and then use that in a SUMIFS inside the TEXTJOIN:

=LET(k,[@Key],
    ky,RawDataTest[Key],
    lt,RawDataTest[Lot],
    u,RawDataTest[Units],
    unq,UNIQUE(FILTER(lt,ky=k,"999")),
    IF(ISERROR(MATCH("999",unq,0)),TEXTJOIN(", ",TRUE,unq&"("&SUMIFS(u,ky,k,lt,unq)&")"),""))

enter image description here

about 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda