Results 1 to 6 of 6

how far away is the nearest cell that matches this one?

Threaded View

  1. #3
    Registered User
    Join Date
    06-21-2013
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: how far away is the nearest cell that matches this one?

    Insanely tight! Hats off to you XOR LX, hope it's a great day for you there in Yorkshire, England.

    Thanks a million!! Tweaked it so scan column C and D instead of just A1:A6 (entered as an array formula just as you described, by hitting Ctrl-Shift-Enter there after the final closing paren):

    =MIN(IF(C:D=C1,IF(ROW(C:D)<>ROWS($1:1),ABS(ROW(C:D)-ROWS($1:1)))))
    Attached Images Attached Images

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] INDEX MATCH array formula that matches substring n gives multiple matches
    By bkwins in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-12-2013, 04:57 AM
  2. Replies: 0
    Last Post: 08-11-2012, 03:25 PM
  3. Replies: 4
    Last Post: 07-18-2012, 02:34 PM
  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. Return the nearest cell above that isn't 0
    By nofzinger in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-18-2009, 10:29 AM

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