+ Reply to Thread
Results 1 to 2 of 2

Retrieving the Cell Address of the Largest Value in a Range

  1. #1
    nishantkhimesra
    Guest

    know 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

  2. #2
    Forum Contributor
    Join Date
    12-07-2004
    Posts
    596

    Retrieving the Cell Address of the Largest Value in a Range

    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1