Dear all,
I have the following table:
BranchID Customer Value Field1 Field2 Fieldn
1110 aa 50
1110 aa 100
1110 bb 200
1111 cc 30
1111 dd 60
1111 ee 90
Based on user input (BranchID) I would like to report the first three columns of the two largest records (by value) for that particular branch.
I can do this by advance filtering and then sorting the output, but this involves manual involvement by the user.
I suppose one way to do this is with VBA, but I would like to avoid that.
Is there any other way?
Thankful for any help.
I have the following table:
BranchID Customer Value Field1 Field2 Fieldn
1110 aa 50
1110 aa 100
1110 bb 200
1111 cc 30
1111 dd 60
1111 ee 90
Based on user input (BranchID) I would like to report the first three columns of the two largest records (by value) for that particular branch.
I can do this by advance filtering and then sorting the output, but this involves manual involvement by the user.
I suppose one way to do this is with VBA, but I would like to avoid that.
Is there any other way?
Thankful for any help.