Ok, maybe that code looks complex, but its not really. All im doing is getting the textboxes, getting the value that inside then and using a whole lot of AND statements to see which one satisfies the critera (<=) And to display it in a label (lbllowest)