2014-01-11 08:58:50 UTC
Basically we are building a directory within our site, that will list various businesses based upon their service. This information is searchable by zip code.
Initially we are going to do a mass import of businesses into our site, and use the information to help build our network.
Our goal is to have about 10 listings to work with per category, per zip code. Now some categories have larger amounts of businesses whereas others have very few. The range of these business lists/CSV's is anywhere from 65 to 1500 businesses. We have about 90 categories, and about 100 zip codes we are targeting.
What have have done is define specific zones within our site. These zones are made up of numerous zip codes. We now have about 23 individual zones.
The way our site works is it references a CSV which defines what zip codes belong to what zones.
for instance:
Berea OH 44017 OH1
* Here you see the city, state, zip code, and OH1 which is the assigned zone. It follows this format through all zip codes we are targeting.
The business CSV's follow this format in individual columns as well
Name of Business, Street Address, City, State, Zip, Phone, Service
* Each service is a separate CSV.
So what will happen is my partner will run an import which will loop through, as assign a business to a zone based upon what zone that businesses zip code falls into.
Here are the problems and why I need help with function on spreadsheet.
- First, when the import runs on some categories/services we just won't have enough businesses to hit my intended goal of 10 businesses per zip per service. Why? because geographically some zones carry more businesses than others.
It is extremely important that we do carry at least 10 businesses per page.
What I would like to be able to do is open a service CSV, and have a glance view of what zone each business falls into, sort that information by zone, and see if I have hit my intended goal, and then manually assign more business to any zone that needs more.
The problem is the service CSV only list the business by zip code.
So what I was hoping to do was copy the zip code column within each of these services CSV, and have a way to quickly convert the copied column of zip codes into a zone. Basically that the CSV knows hey 44017 within this column really means OH1, and it does so all the way down the list.
I have no Idea how to achieve this, or if it is even possible, but if If anyone could help it would save me months of manually changing thousands of listings.
Remember each CSV is individualized based upon service. So as soon as I get one done i am moving to the next.
If there is a fix, please be descriptive because I am not a coder. So i'm hoping this is really an easy request, and just difficult to the layman like me.
Thank you.