Forum Discussion

AIMScto's avatar
AIMScto
Copper Contributor
Feb 05, 2021
Solved

Excel formula to find the range of rows containing a value in a specific column.

Hi there.   Apologies in advance for such a simple question.   Data set is historic records for users with a number of records for each user. I have a unique user ID for each user and I want to f...
  • SergeiBaklan's avatar
    SergeiBaklan
    Feb 06, 2021

    AIMScto 

    That's great to know you found the solution, thank you for the update.

    The limitation of it is that it works only on sorted data. More universal one like here

    could be

    =INDEX($C$2:$C$10, MATCH(AGGREGATE(14,6,1/($E$2:$E$10=E2)*$D$2:$D$10,1),$D$2:$D$10,0))

    Here AGGREGATE() finds the latest date for the ID, MATCH() returns position of such row and INDEX() returns Title for that row.

Resources