+ Reply to Thread
Results 1 to 3 of 3

Formula that will select the next nearest value from a row

  1. #1
    Registered User
    Join Date
    11-05-2014
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Formula that will select the next nearest value from a row

    Hello there,

    I need to run a Dixon's-Q Outlier test on lake water chemistry data for almost 800 lakes. Each lake has multiple years of data (3-10 years). This calculation requires knowing the absolute difference between the value in question and its next nearest value.

    My problem: I am having quite a bit of trouble creating a formula that will select the next nearest value from a ROW that contains both the value being compared AND blank cells. I have tried variations of Index/Match, and HLookup, but have exceeded my knowledge of excel formulas.

    I have included an excel workbook containing an example of the data of interest in a thread below.


    I hope I have explained myself sufficiently. Thank you for your help
    Attached Files Attached Files
    Last edited by lakesgirl; 11-05-2014 at 05:01 PM.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Formula that will select the next nearest value from a row

    Can you attach the workbook itself? The screen shot is unreadable and we all like to avoid retyping
    Martin

  3. #3
    Registered User
    Join Date
    11-05-2014
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Formula that will select the next nearest value from a row

    Hi,

    I have attached here as a PDF and as .xlsx. I hope this helps. Thanks very much!!
    Attached Files Attached Files
    Last edited by lakesgirl; 11-05-2014 at 05:02 PM.

+ 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. Replies: 4
    Last Post: 04-27-2014, 09:14 AM
  2. [SOLVED] Select nearest date after specified
    By Clash in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-30-2014, 07:17 AM
  3. [SOLVED] Select nearest value based on two variables
    By Jakes in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-23-2012, 04:15 AM
  4. [SOLVED] Round Cell to Nearest 0.25 up-to 1.0 then to nearest 0.5
    By haynesc87 in forum Excel General
    Replies: 4
    Last Post: 05-30-2012, 01:38 PM
  5. [SOLVED] How do I select the nearest date from a ranges of dates?
    By gerrit in forum Excel General
    Replies: 3
    Last Post: 02-12-2006, 12:50 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