hi
im a biginer to the vb and facing the problem of finding the row having the max value in a column in excel using vb6.0
hi
im a biginer to the vb and facing the problem of finding the row having the max value in a column in excel using vb6.0
Problem:
Retrieving the address of the cell that contains the largest value within Range1 (A2:D7).
Solution:
Use the ADDRESS, SUM, IF, MAX, ROW, and COLUMN functions as shown in the following Array formula:
{=ADDRESS(SUM(IF(A2:D7=MAX(A2:D7),ROW(A2:D7))),SUM(IF(A2:D7=MAX(A2:D7),COLUMN(A2:D7))))}
To apply Array formula:
Select the cell, press
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks