I hope this question is in the right forum.
I have a 2D table (8 columns, 250-some rows) and I need to find the addresses of the MAX, LARGE(2), LARGE (3), etc. values for a total of 5 values. Some of the values in the 2D table are duplicates and therefore sometimes, for instance, LARGE (2) is the same as LARGE (3), which may be the same as LARGE (4), etc.
I have been using VBA code that allows me to find the address of each of these values, but I can't get around the problem of the code giving me the same address (i.e. the first occurrence) of the first occurrence of the duplicate value. For instance, LARGE (2) may be 5.00 and LARGE (3) may be 5.00, but the real addresses of LARGE (2) and LARGE (3) are C38 and G101, respectively. My VBA code will give me C38 for both answers.
Is there a way to write code so that it will give me the addresses of the five highest values, even if they may be the same integer/value, giving me the addresses top down (i.e. A1 to H1, then A2 to H2, then A3 to H3, etc.)?
Thank you.
Bookmarks