• Link to Facebook
  • Link to Youtube
  • Link to LinkedIn
  • Link to X
  • Link to Tiktok
  • Link to Instagram
  • EN ESPAÑOL
    • Inicio
    • Glosario de Términos
    • Modelos Financieros
    • Tutoriales Cortos
  • A.CRE HELP
    • Support Section
    • Contact Us
  • LOGIN/REGISTER
  • Shopping Cart Shopping Cart
    0Shopping Cart
Adventures in CRE
  • A.CRE
    • A.CRE Home
    • A.CRE Help
    • Accelerator
      • Learn More
      • Login
    • AI.Edge
      • Learn More
      • Login
    • Artificial Intelligence
    • Careers
    • CRE Event Calendar
    • CRE Job Board
    • Education
    • Library of Excel Models
    • Meet the A.CRE Team
  • RE Modeling
    • 1031 Exchange
    • Audio Series
    • All-in-One (Ai1) Model
      • Download
      • Guides and Tutorials
      • Support
    • Ask Me Anything (Live)
    • Beginner’s Guide to Excel
    • Excel Models
      • Excel Add-ins
      • Library of Excel Models
      • All-in-One (Ai1) Model
      • Apartment
      • Condo
      • Debt
      • Development
      • Equity Waterfall
      • Hotel
      • Industrial
      • Office
      • Portfolio
      • Retail
      • Single Family
      • Tutorial
    • Excel Tips
    • Practice Library of Case Studies
    • Stochastic Modeling
    • Argus
    • My Downloads / My Account
  • Careers
    • About Careers in Real Estate
    • Ask Me Anything (Live)
    • Audio Series
    • Compensation in Real Estate
    • CRE Job Board
      • Find a Job
        • Browse Jobs
        • Post a Resume
        • Register
        • Login
      • Post a Job
    • CRE Event Calendar
    • CRE Interviews
    • Day in the Life Series
    • Real Estate Legal Content
    • What CRE Pros Do
  • Education
    • Accelerator
    • AI.Edge
    • A.CRE 101
    • Ask Me Anything (Live)
    • A.CRE Audio Series
    • Audio Series
    • Book Reviews
    • CRE Event Calendar
    • Deep Dive Series
    • Glossary of CRE Terms
    • Real Estate Legal Content
    • Real Estate Clubs
    • University Profiles
    • Watch Me Build
  • AI
    • AI Skills
    • AI Use Cases in CRE
    • AI for CRE Training
    • AI Tools for CRE
    • AI.Edge Membership
      • Learn More
      • Login
  • Accelerator
    • Accelerator Reviews
    • Accelerator Story
    • Enroll Now
    • Learn More
    • See What’s New
    • Enterprise Members Only
      • General Enterprise Login
      • ICSC Login
      • M&M Login
    • Members Only
      • Extend/Renew Membership
      • Login
      • Manage Membership
  • My Downloads
    • View My Downloads
    • Find an Excel Model
    • Register
    • Login
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu
You are here: Home1 / Real Estate Financial Modeling2 / Excel Tips3 / Using OpenAI’s ChatGPT to Create Complex Excel Logic
Spencer Burton
Real Estate Financial Modeling, Excel Tips, Deep Dive, Artificial Intelligence, AI Applications for CRE

Using OpenAI’s ChatGPT to Create Complex Excel Logic

The fourth blog post in this series on how to use ChatGPT in commercial real estate. As real estate financial modeling professionals, we’re often tasked with creating complex logic in Excel. Depending on one’s Excel proficiency, that task used to take anywhere from a few minutes to a few days. In fact, I remember certain logic problems related to lease reimbursements that I spent several weeks to eventually crack!

That of course has changed with the advent of natural language models like ChatGPT. In this video, I share a recent situation where I needed to write complex logic for my Student Housing Acquisition Model. To do that, I turned to ChatGPT for help. Something that would have taken me several hours, took just a few minutes.

Using ChatGPT

The output created from ChatGPT during a back-and-forth exercise to create Excel logic for a real estate financial model.

What is GPT, ChatGPT, and OpenAI?

Given that this is the fourth blog post in this series, I assume you’re well aware of what ChatGPT and natural language models are. I also assume you’re familiar with its creator, OpenAI and the significant advances in artificial intelligence that is currently underway.

Therefore, I won’t rehash in this post what GPT, ChatGPT, or OpenAI are. However, if these concepts are new (or you’re looking to learn more) you might check out our Using AI in Real Estate guide.

Creating Complex Excel Logic – Then and Now

Before GPT, the process of creating complex Excel logic was a manual process. The real estate professional would generally rely on Excel forums, knowledge learned from Excel courses, and feedback from other professionals to craft the logic.

This process was very manual, highly iterative, and could take hours, days, or even weeks to complete. And in many cases, real estate financial modeling professionals would hit a wall where they couldn’t figure out a problem and would move on.

With the new language models like ChatGPT, creating complex (or simple) Excel logic is greatly simplified.

Models like GPT-4 (OpenAI’s latest version of its popular natural language model) now act as the knowledge base and the feedback loop to help us create this type of logic. And while the process is largely the same (i.e. seek out possible solutions, ask questions, and iterative), there’s only one place now to turn and the response is immediate and highly knowledge.

In the following video, I show you a real-life use case.

I was updating my Student Housing Acquisition Model. I needed to create a complex data validation list based on a range of cells where 11 out of 12 were empty. Since most of the cells in that range were empty, simply calling that range into a data validation list would have created a non-user friendly list.

Therefore, I turned to ChatGPT to figure out how to create a list that only pulled out the non-blank cells and then put the list in order from smallest to largest. If I could do that, I could then simply call that range into a data validation list and voila!

As you watch the video, I think what you’ll find most interesting is that a) having subject matter experts is still essential – meaning ChatGPT doesn’t make real estate financial modeling professionals obsolete. Instead, it makes us more efficient. And b) the process is very much a trial and error, iterative one. At first, the model’s suggested solution was wrong. Then, as we (ChatGPT and I) progressed each suggestion required feedback to ultimately get to something that worked.

Enjoy the video and then give it a try yourself!

Using GPT in Commercial Real Estate – Creating Complex Excel  Logic

I continue to explore other use cases for this technology in commercial real estate. In this video, I show you a use case whereby I leverage GPT and ChatGPT to create complex Excel logic for a real estate financial model.

  • Click here to read the entire ChatGPT conversation that this video is based on.


Frequently Asked Questions about Using ChatGPT to Create Complex Excel Logic in CRE

What challenge did the author face when modeling Excel logic for student housing?

The author needed to create a complex data validation list in Excel that pulled only non-blank cells from a range (where 11 of 12 were blank) and then sorted the result from smallest to largest—all to improve usability for the Student Housing Acquisition Model.

How did ChatGPT help solve the Excel logic problem?

ChatGPT acted as a knowledge base and iterative problem solver, helping the author build a formula that filtered out blank cells and sorted the list dynamically. Though the first few attempts were incorrect, the back-and-forth process eventually led to a working solution.

How did professionals create complex Excel logic before ChatGPT?

Previously, professionals relied on manual research, Excel forums, past models, and peer input. The process was highly time-consuming, often taking hours to weeks to solve complex problems like lease reimbursement logic.

Does ChatGPT replace real estate financial modeling professionals?

No. As the author notes, “having subject matter experts is still essential.” ChatGPT enhances productivity but doesn’t replace expertise. It serves as a tool to make real estate professionals more efficient and effective.

What makes ChatGPT an effective tool for creating Excel logic?

ChatGPT provides instant feedback, works iteratively, and combines a vast knowledge of Excel functions and best practices. This streamlines logic creation and reduces time spent on complex formula development.

Was the solution from ChatGPT perfect on the first try?

No. The process was trial and error, with several iterations needed. The author emphasized that real-world use of ChatGPT still involves human oversight and correction before reaching a reliable solution.

What Excel feature was the logic ultimately built for?

The complex logic was built to support a data validation list, allowing only non-blank entries to appear in a dropdown menu and sorted in ascending order—enhancing usability for model users.

What is the broader takeaway from this use case?

AI tools like ChatGPT are transforming the way professionals solve modeling challenges, offering a faster, more flexible way to create complex Excel logic, without replacing the need for human expertise and judgment.


About the Author: Spencer Burton is Co-Founder and CEO of CRE Agents, an AI-powered platform training digital coworkers for commercial real estate. He has 20+ years of CRE experience and has underwritten over $30 billion in real estate across top institutional firms.

Spencer also co-founded Adventures in CRE, served as President at Stablewood, and holds a BS in International Affairs from Florida State University and a Masters in Real Estate Finance from Cornell University.

Contact Spencer
by Spencer Burton
Share this entry
  • Share on X
  • Share on LinkedIn
  • Share by Mail
  • Link to Instagram
  • Link to Youtube
https://www.adventuresincre.com/wp-content/uploads/2023/01/using-chatgpt-to-create-excel-macro.jpg 1280 1920 Spencer Burton https://adventuresincre.com/wp-content/uploads/2022/04/logo-transparent-black-e1649023554691.png Spencer Burton2023-04-05 06:00:382026-03-21 16:18:48Using OpenAI’s ChatGPT to Create Complex Excel Logic
You might also like
Financial Modeling in the Era of AI
Proyectos de ChatGPT y GPTs Personalizados: Diferencias Clave y Casos de Uso
Being an AI-First Member of the Team – The New Baseline Expectation
What are Custom GPTs? Plus a few examples we’ve built. (Updated May 2024)
ChatGPT vs Bard vs LLaMa Chat (Aug 2023) – AI Chat for CRE Comparison
Using OpenAI’s ChatGPT to Research Real Estate Data

Featured AI Content

  • AI Use Cases in CRE
  • AI for CRE Training
  • AI Tools for CRE
  • GPTs for CRE

Recent Posts

  • Real Estate Financial Modeling Accelerator (Updated June 2026)
  • A.CRE Jobs of the Week (Updated 6.29.2026)
  • AI Tools for Commercial Real Estate (Summer 2026 Edition)
  • The 2008 Financial Crisis, From the Ground Up: Why We Believed Houses Were Safe
  • Real Estate Equity Waterfall Model – IRR and Equity Multiple Hurdles (Updated June 2026)
AI.Edge

Search Adventures in CRE

Search Search

Have a Question or Need Help?

Visit our Help Section

Contact Adventures in CRE

  • Visit A.CRE Help
  • Via Email
  • Via LinkedIn

You Might Also Like

  • Real Estate Modeling Courses
  • Real Estate Financial Modeling
  • A.CRE Job Board
  • Careers in Commercial Real Estate
  • Real Estate Education

A.CRE Library of Excel Models

  • Browse Excel Models
  • Login/Register
  • View My Downloads
  • Edit Account Details

Terms, Policies, and Disclaimer

  • Privacy Policy
  • Cookie Policy
  • AI Usage Policy
  • Terms of Use
  • Disclaimer
© 2014 - Present - Copyright - www.AdventuresinCRE.com, LLC | Adventures in CRE | A.CRE
  • Link to Facebook
  • Link to Youtube
  • Link to LinkedIn
  • Link to X
  • Link to Tiktok
  • Link to Instagram
Link to: Advice From a Seasoned CRE Pro During Times of Economic Uncertainty with Jeremiah Boucher | S3SP15 Link to: Advice From a Seasoned CRE Pro During Times of Economic Uncertainty with Jeremiah Boucher | S3SP15 Advice From a Seasoned CRE Pro During Times of Economic Uncertainty with Jeremiah... Link to: Graduate Real Estate Series: Pepperdine University MSRE Link to: Graduate Real Estate Series: Pepperdine University MSRE Graduate Real Estate Series: Pepperdine University MSRE
Scroll to top Scroll to top Scroll to top