I have data in the following format in a worksheet:
X Y name category
where x and y are integers for coordinates and name and category are are strings.
I'd like to have a separate sheet where a user will input an x and y coordinate, and select a category, and return the closest 10 points for the selected category. I have the distance formula but don't know the ins and outs of excel to know how to deal with user input. If someone could point me in the direction of features and functions or elaborate on how user input and return results work I think I can figure it out. Thank you for your time.