+ Reply to Thread
Results 1 to 8 of 8

using ROW number of MIN value

  1. #1
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    665

    using ROW number of MIN value

    I have two columns of data. I want to get a row number to create a formula, but I don't know how to use the reference function.

    So: Column A, and Column B.

    Formula says "take the minimum number in column B, tell me what row number it is in, and tell me what number is next to it in column A"

    That way, if the minimum number in column B is cell B300, then I want to multiply the value in cell A300 times x.

    Thanks!!

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: using ROW number of MIN value

    Are the numbers in column B unique? I mean there is no duplicate. If duplicates exist which one should the formula returned?
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

  3. #3
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: using ROW number of MIN value

    you can try this formula which will return the value in column A next to the minimum value in column B. You can multiply it by whatever you want.
    Please Login or Register  to view this content.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: using ROW number of MIN value

    Try this...

    Data Range
    A
    B
    C
    D
    1
    68
    49
    66
    2
    5
    90
    3
    68
    74
    4
    48
    81
    5
    66
    32
    6
    73
    46
    7
    61
    48
    8
    18
    50
    9
    20
    93
    10
    47
    53
    11
    ------
    ------
    ------
    ------


    This formula entered in D1:

    =INDEX(A1:A10,MATCH(MIN(B1:B10),B1:B10,0))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    665

    Re: using ROW number of MIN value

    Thanks everyone. Yes, the min should be unique.

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: using ROW number of MIN value

    You're welcome!

  7. #7
    Registered User
    Join Date
    05-16-2014
    Location
    Pembroke, Malta
    MS-Off Ver
    Microsoft excel for Office 365 MSO (16.11727.20222) 32-bit
    Posts
    27

    Re: using ROW number of MIN value

    Hello, is there a way to get the row header for the max & min as per attached.
    Attached Files Attached Files

  8. #8
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: using ROW number of MIN value

    @ Alba573

    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    Dave

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Macros to mark number in a column, if number is x+10, given previously marked number x.
    By aleem5 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2015, 07:49 PM
  2. Replies: 1
    Last Post: 02-04-2015, 03:54 PM
  3. Replies: 10
    Last Post: 10-30-2013, 07:29 PM
  4. Validation Number number number + letter depending on numbers
    By Adamitus in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-31-2012, 04:28 AM
  5. number in cell is number to add number of rows wit copy some contex
    By nicollab in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-31-2012, 08:09 AM
  6. Lookup largest number in a column treating negative number as postive number
    By xWiZardx in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-17-2010, 08:09 AM
  7. Replies: 7
    Last Post: 12-18-2008, 07:34 PM

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