+ Reply to Thread
Results 1 to 3 of 3

Find closest value in array (multiple colums and rows)

  1. #1
    Registered User
    Join Date
    10-29-2014
    Location
    Uk
    MS-Off Ver
    2007 and 2013
    Posts
    16

    Find closest value in array (multiple colums and rows)

    Hi all you wise and wonderful people.
    What I need to do is find the closest value (say 4.3) in a large array. Simple you might say- there are plenty of formulas a quick google gives you. My issues is that the array has multiple columns- so it ranged from B2:K8 for example. So I need to return the value that is closest in that array to my target value (Say in L1).
    For extra points, if you can provide a formula that gives me the cell coordinates or returns the axis labels I keep in A2:A8 and A1:K1 you would be my fave peoples.

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Find closest value in array (multiple colums and rows)

    With code

    Please Login or Register  to view this content.
    Kind regards
    Leo
    Attached Files Attached Files

  3. #3
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Find closest value in array (multiple colums and rows)

    Well, I wrote it, so I'll post it, even though LeoTaxi beat me to it. (But hey, I'll bet mine's faster! )

    Please Login or Register  to view this content.
    You'll need to adjust 2 cell references. Instructions for doing so are included in the attached workbook. - Lee
    Attached Files Attached Files

+ 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. Find closest time value based on multiple criteria
    By jennifers in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-30-2017, 06:25 PM
  2. Find closest value from array data
    By max12 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-12-2013, 12:39 PM
  3. Help: Hlookup against multiple array display closest match
    By LightingPop in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 01-08-2013, 12:29 AM
  4. Array Function- To find matches in two colums
    By Heather.Taylor in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-30-2011, 04:59 PM
  5. Find a number searching first in colums and after in rows
    By battousai9 in forum Excel General
    Replies: 2
    Last Post: 06-03-2009, 11:42 AM
  6. array/lookup help - multiple references over multiple colums
    By cards52 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-22-2009, 03:04 AM
  7. Add multiple colums and find %
    By mark60 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-11-2005, 08:24 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