Comparing analog signals

I am just revisiting this project. I should clarify that I am by no means qualified for this type of project as I can hardly code but this could be a valuable tool for some people at my job. Basically, what I am looking to accomplish is to have a series of known resistors (1k, 5k, 10k, etc) that I could swap into a breadboard as a my known resistance. I would then set up a voltage divider (correct me if I am wrong) to compare the total resistance of a pot and signal a red or a green LED depending on the pot value (+/- 15% of the resistors value).