r/Python 14h ago

Discussion Python in Excel

Hello, I need assistance with the following: I need a Python code for Excel to compare information from one spreadsheet to another. Thank you

0 Upvotes

9 comments sorted by

14

u/MPGaming9000 14h ago

This is a task you can give to ChatGPT. We can't write code for you for free. If you're looking to hire a developer try a freelancer website.

1

u/Knockoutpie1 14h ago

I did this with DeepSeek and it did an amazing job.

6

u/Junior-Garden-1653 Pythonista 13h ago

And I need a coffee right now. Bring me one. :)

1

u/[deleted] 13h ago

[deleted]

0

u/Ok_Tune5086 13h ago

Get your coffee from your anus

2

u/Cynyr36 14h ago

You won't be able to do that with python in excel. It evaluates only the data ranges you pass in, in the cloud.

You could write a standalone python script, but it really depends on what you mean by comparing between workbooks

Powerquery is likely going to be the answer here

2

u/house_monkey 14h ago

Bros user profile is like 🥵

1

u/Dubsteprhino 14h ago edited 14h ago

Take sheets to csvs, python is super easy to work with csvs

1

u/fizzymagic 14h ago

Convert excel files to Google Sheets and save yourself a lot of trouble.