C
cicciotom2004
Hi all
I need to filter a table in this way:
for each distinct value U in column A,
I want to select only the row having, in column B, the maximum value
between those rows having U in column A.
Example:
Field A | Field B
800000111111 | 27000
800000111111 | 4000
800000222222 | 5000
800000222222 | 8000
800000222222 | 15000
800000222222 | 2000
800000222222 | 15000
800000222222 | 9000
800000222222 | 9000
800000333333 | 4500
800000333333 | 2700
800000333333 | 9800
My result table will be
Field A | Field B
800000111111 | 27000
800000222222 | 15000
800000333333 | 9800
Thank you very much
I need to filter a table in this way:
for each distinct value U in column A,
I want to select only the row having, in column B, the maximum value
between those rows having U in column A.
Example:
Field A | Field B
800000111111 | 27000
800000111111 | 4000
800000222222 | 5000
800000222222 | 8000
800000222222 | 15000
800000222222 | 2000
800000222222 | 15000
800000222222 | 9000
800000222222 | 9000
800000333333 | 4500
800000333333 | 2700
800000333333 | 9800
My result table will be
Field A | Field B
800000111111 | 27000
800000222222 | 15000
800000333333 | 9800
Thank you very much