+ Reply to Thread
Results 1 to 3 of 3

Min Max of Range depending on Find

  1. #1
    Forum Contributor delaing's Avatar
    Join Date
    07-16-2010
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    192

    Min Max of Range depending on Find

    I know that I've butchered this code as I am still struggling with understanding Range / Cell objects and referencing them correctly.

    I have a column of numbers that I want to find the MIN and the MAX of. The column location will vary from one template to another, so I'm wanting to use a FIND to locate the column by searching for "NRA". Once found, it would skip down three rows as the start of the column row and then look down to the last used cell in that area of the data.

    I hesitate to use XLUP to find last used row as there may be data below the primary data area that this would trip over.

    Here is what I have cobbled together:
    Please Login or Register  to view this content.
    I've attached a file to test this with. "NRA" is currently in Column I, but will not always be in that location.

    End result is to find the MIN & MAX of the sizes in the NRA column, excluding the Subject line (Row 11 in this example).

    Thank you,
    Delain
    Attached Files Attached Files

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Min Max of Range depending on Find

    Hi Delain,
    maybe so
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor delaing's Avatar
    Join Date
    07-16-2010
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    192

    Re: Min Max of Range depending on Find

    Beautiful thing, it is!!
    I will work with it and learn from it as best I can. Thanks for your quick response.

    Delain

+ 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] Find value depending on two values from different sheet
    By Masun in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-28-2013, 04:48 AM
  2. Code to find named range doesn't find the correct field range?
    By matrixpom in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-12-2012, 05:54 PM
  3. cut bordered range depending on contents inside range
    By jordan2322 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-26-2012, 07:23 AM
  4. VBA Macro to find specified range depending on cell contents
    By lealea1982 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-24-2011, 07:40 AM
  5. how to find the mean, depending on dates
    By abrunstad in forum Excel General
    Replies: 6
    Last Post: 03-03-2009, 08:10 PM
  6. Replies: 2
    Last Post: 06-19-2006, 06:10 AM
  7. [SOLVED] Conditional Formatting (How to format a range depending on another range)
    By Josh Rogers in forum Excel General
    Replies: 2
    Last Post: 10-06-2005, 03:05 PM

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