+ Reply to Thread
Results 1 to 4 of 4

Using MIN function on a column based on the column's number

  1. #1
    Registered User
    Join Date
    04-03-2012
    Location
    Doha, Qatar
    MS-Off Ver
    Excel 2007
    Posts
    5

    Using MIN function on a column based on the column's number

    Hi,

    I would greatly appreciate it if anyone can help me with this one issue I'm having.

    I'm trying to get the Min of an entire column based on the column's number you retrieve from the Column() funtion.

    I hope that makes sense, and thank you in advance.

    Best Regards,

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Using MIN function on a column based on the column's number

    Assuming your data runs from row 2 downwards.
    Put this in cell A1, copy it and paste it across row 1
    =IF(ISERROR(MIN(OFFSET(A$2,0,0,COUNT(A2:A20000),1))),"",MIN(OFFSET(A$2,0,0,COUNT(A2:A20000),1)))
    Elegant Simplicity............. Not Always

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Using MIN function on a column based on the column's number

    Instead of the MIN try using SMALL. If the data is in column G and you want the answer in column H use this formula:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If this formula is dragged along a row, the result is that the "SMALL" factor is increase incrementally with each change in column. If your data is in column A and your formula is placed in column B then when you copy the formula across the columns the "MINIMUM" or "SMALL" number will increase. The first number returned would be the smallest then increment upward from there.

    If your data is in column A then the formula would be:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I hope this helps you out.
    Last edited by newdoverman; 04-10-2013 at 10:06 AM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Registered User
    Join Date
    04-03-2012
    Location
    Doha, Qatar
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Using MIN function on a column based on the column's number

    Thanks everyone, I got what I was asking for.

    Best,

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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