Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #24  
Old 05-17-2025, 07:06 AM
p45cal's Avatar
p45cal p45cal is offline trying to find a way to show a closest to using lat and long coordinates Windows 10 trying to find a way to show a closest to using lat and long coordinates Office 2021
Expert
 
Join Date: Apr 2014
Posts: 962
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

The attached is a bit of a guess.
1. You use SMALL which when met with cells that contain errors (eg. rows 218,799,1972 and 10 more in the ATC sheet) always returns an error. I have changed this for the equivalent AGGREGATE function adding the option to ignore errors.
2. I suspect you have your x/y coordinate references back to front. I have swapped (eg. in row 7) all instances of B7 for C7 and vice versa. This is only a guess and I haven't examined closely if the formula is still logically correct. You should check this for yourself and the results.


The file was too big to attach so here's a link instead:
Excel workbook


Edit: I was too late to see that you updated your attached workbook but I see that you've swapped the x/y columns on one sheet. You also changed the SMALL to MIN but this still throws an error (even if you use the MIN equivalent AGGREGATE function) so I tried the AGGREGATE equivalent of SMALL (AGGREGATE(15,6…)) which seemed to work but gave different results - so do check!
Reply With Quote
 

Tags
find the closest, lat and long

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Show two alternating slides as long as music plays Magic PowerPoint 2 11-23-2014 09:02 AM
trying to find a way to show a closest to using lat and long coordinates Bad view when using Find and Find & Replace - Word places found string on top line paulkaye Word 4 12-06-2011 11:05 PM
trying to find a way to show a closest to using lat and long coordinates Highlight and put bookmark on the closest field to the cursor b0x4it Word VBA 11 05-19-2011 11:15 PM
Question: Hyperlink to other show, but close the current show habibfikri PowerPoint 0 12-26-2010 02:37 AM
PP 2010 .avi file plays during slide show, but causes the slide show to loop to begin VictorS PowerPoint 0 10-16-2010 10:23 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:46 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft