Excel Challenge - Top N filter in excel using GROUPBY

Поділитися
Вставка
  • Опубліковано 11 січ 2025

КОМЕНТАРІ • 11

  • @IvanCortinas_ES
    @IvanCortinas_ES День тому +2

    Great challenge. Great solution. Thank you for sharing it!

  • @stevereed5776
    @stevereed5776 День тому

    Brilliant, great solutions and very well explained. Thanks Victor (Just need the GROUPBY function now!!!!)

  • @charlesmurtaugh3771
    @charlesmurtaugh3771 День тому +1

    Good to see you back - hope all is well, and Happy New Year!

    • @ExcelMoments
      @ExcelMoments  День тому

      @@charlesmurtaugh3771 oh yea. Glad to be back

  • @ankurshukla2516
    @ankurshukla2516 Годину тому +1

    Thank you master❤

  • @JoseAntonioMorato
    @JoseAntonioMorato День тому +1

    Dear Momoh,
    I like to give long names to variables 😃:
    =LET(_Department,A2:A20,_Salary,C2:C20,_EmpName,B2:B20,
    GROUPBY(_Department,_EmpName,ARRAYTOTEXT,0,0,,
    _Salary>=MAP(_Department,LAMBDA(_Dept,LARGE((_Department=_Dept)*(_Salary),2))))) 🤗

    • @ExcelMoments
      @ExcelMoments  День тому

      @@JoseAntonioMorato long names are good, more descriptive. So nothing wrong with that

  • @williamarthur4801
    @williamarthur4801 День тому +1

    Thanks again I've learned a lot re Lambda functions from your work,
    one thing, to be thorough, I'd wrap in Unique before search for 2nd highest ;
    LET(test, LARGE(UNIQUE( ($Q$5:$Q$20=Q5)*($R$5:$R$20)),2),R5>=test).