Project Overview
A real estate investment company required an automated solution to collect property information from Zillow using an existing Excel spreadsheet containing thousands of residential addresses. The client wanted to eliminate the manual process of searching each address individually on Zillow and copying the details into Excel cells.
The goal was to develop an Excel-compatible automation macro that could automatically search each address, retrieve selected property details, and populate the spreadsheet with accurate data. The project focused on speed, compatibility, and ease of use, allowing non-technical office staff to execute the macro with a single click.
Project Highlights
Business Challenge
The client maintained a large Excel file containing residential property addresses collected from multiple sources. For every address, employees had to manually search Zillow and record key property attributes:
- Number of Bedrooms & Bathrooms
- Interior Square Footage
- Lot Size (Acres / Sq Ft)
- Year Built
Although each manual lookup required only 3 to 5 minutes, processing thousands of addresses became an overwhelming operational bottleneck. The client needed an automated solution that worked directly inside Microsoft Excel without requiring complex third-party software installation.
Required Data Fields Extracted
Our automation macro parsed Zillow listings and written the following clean values directly into predefined columns in the workbook:
| Field Name | Description | Excel Output Format |
|---|---|---|
| Property Address | Validated street, city, state, and ZIP code | Text String |
| Bedrooms & Bathrooms | Beds count and total bath count | Numeric (e.g. 3 / 2.5) |
| Interior Living Area | Living space size in square feet | Integer (Sq Ft) |
| Lot Size | Total land area size | Numeric (Acres / Sq Ft) |
| Year Built | Original construction year | YYYY (Four Digits) |
Technical Solution & Workflow
The project was developed using Microsoft Excel VBA (Visual Basic for Applications) and HTTP web requests, making it fully compatible with legacy and modern Excel environments. The macro executed the following workflow:
1. Address Normalization
Addresses were cleaned to remove formatting inconsistencies, unnecessary suite labels, and special characters before issuing queries to Zillow.
2. Dynamic Zillow Search & Listing Detection
The macro formatted each query and executed an automated lookup on Zillow. If multiple matching properties were returned, flexible matching logic identified the correct listing based on normalized street and ZIP attributes.
3. Property Page Data Parsing
Once on the property detail page, the script extracted living area, lot size, beds, baths, and construction year. Flexible HTML element locators were used to handle layout differences across listing types.
4. Automated Excel Insertion & Error Logging
Extracted metrics were written directly into the corresponding row cells. If a property was missing certain fields (e.g. missing year built), the macro logged a clear notice and continued seamlessly to the next row without halting execution.
Performance Comparison: Before vs After
| Metric | Manual Research (Before) | Excel Macro Automation (After) |
|---|---|---|
| Processing Speed | 3 - 5 minutes per property address | Under 3 seconds per address |
| Data Accuracy | Frequent typing & copy-paste errors | 100% Exact extraction accuracy |
| Staff Effort | Days of tedious manual data entry | 1-Click macro execution |
| Scalability | Requires hiring additional research staff | Scales to 10,000+ rows instantly |
Business Benefits
- Dramatic Cost & Time Savings: Replaced hundreds of hours of manual copy-pasting with automated spreadsheet lookups.
- Standardized Data Quality: Ensured consistent formatting across all property records for immediate investment modeling.
- Zero Software Dependency: Operates directly inside Microsoft Excel with no additional software downloads required.
- Scalable Real Estate Intelligence: Enables analysts to process bulk property lists from auctions, tax records, and wholesale leads instantly.