Hi, thanks for getting back to me
You should create a function in a module that takes a zip and returns what you want. But you haven't given me enough information. Let's use this as your table's data:
ExtendedArea
Country, zip_low, zip_high, ExtendedArea
Argentina, 3007, 3100, Y
Columbia...