+ Reply to Thread
Results 1 to 3 of 3

Display name of closest location

Hybrid View

  1. #1
    Registered User
    Join Date
    06-22-2017
    Location
    Washington
    MS-Off Ver
    2007
    Posts
    2

    Display name of closest location

    Hi all,

    I am having trouble figuring out a way to display the smallest location name. I am comparing the lat/long for each location and want to display the location in the yellow bar at the top with the smallest valued location name. In my example below, 531 is the smallest value, so I want to display "Location 2" in the blue box area. Any ideas on how I could do this?


    Capture.JPG

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Display name of closest location

    =INDEX($A$5:$A$9, MATCH(MIN(D$5:D$9), D$5:D$9,0))

    assuming data in rows 5:9 and formula in D
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    06-22-2017
    Location
    Washington
    MS-Off Ver
    2007
    Posts
    2

    Re: Display name of closest location

    Thank you ChemistB! It worked great! Thanks!

+ 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] Retrieving the Closest Larger / Closest Smaller Values from a List
    By ChipsSlave in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-31-2017, 08:38 AM
  2. Replies: 0
    Last Post: 10-22-2014, 12:07 PM
  3. [SOLVED] Display value 1 row down from closest round number > static value
    By coreytroy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-26-2013, 12:31 AM
  4. Current date lookup and closest time display
    By Am I Wry in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-01-2013, 02:44 PM
  5. 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
  6. Replies: 7
    Last Post: 05-02-2012, 01:00 AM
  7. Replies: 0
    Last Post: 08-25-2005, 02:37 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