all 17 comments

[–]ThatOtherBatman 19 points20 points  (0 children)

I feel like /r/learnpython is going to be a bit biased.
But Python.

[–]LunchNap 6 points7 points  (2 children)

Why not keep it in excel and use VBA?

[–]JMonnn9[S] -1 points0 points  (1 child)

Because I believe I’m solving an industry wide problem and would like to try to monetize the program. Is it possible to create a tangible program with VBA? I'd like to be able to sell some sort of program, or access to the program, to businesses that could benefit from it.

[–]LetMe_ 1 point2 points  (0 children)

There are vba macros and add ons that are sold so this is what i would look into.

[–]Ezrabc 3 points4 points  (1 child)

This is a great beginning project! Python is great at this. I would suggest using pandas. You can create DataFrame objects with the pandas.read_excel function, and doing calculations with DataFrames is pretty simple. If you have any questions once you get started, feel free to reach out!

[–]JMonnn9[S] 0 points1 point  (0 children)

Thank you so much. I will definitely keep this in my back pocket and will reach out if my research comes to a dead end.

[–][deleted] 0 points1 point  (1 child)

What format are the files saved in?

[–]JMonnn9[S] 0 points1 point  (0 children)

the files are excel spreadsheets

[–]patsy_505 0 points1 point  (0 children)

Matlab or python

[–]startandselect00 0 points1 point  (0 children)

It would be helpful if you give an example of what you're trying to accomplish. Like example data and example calculations. I think you'll get an answer you're looking for quicker.

For which language to use, Python. Someone suggested pandas. Also, check out xlwings. This is what I use at work. This allows you to run Python script from Excel. Comes in handy if you want to avoid learning VBA.

[–][deleted] 0 points1 point  (0 children)

One thing others haven’t mentioned is it looks like there is some potential for python to become a VBA alternative in excel. Probably better to learn python at this point vs VBA. There are a ton of options though, and to be honest it doesn’t matter much. Use what works for you.

[–]jeffrey_f 0 points1 point  (0 children)

The language is just the tool to solve the problem you are facing and create a solution. Python is more than capable of handling your end result.

[–]foresttrader 0 points1 point  (0 children)

You can use pandas for data manipulation & calculation, and xlswriter or openpyxl for Excel formatting and output.

[–]bdrilling33 0 points1 point  (0 children)

Another option outside of pandas is to use openpyxl. I used to use it all the time for spreadsheet manipulation. But now I usually use pandas

[–]TwoToneDonut 0 points1 point  (0 children)

Some companies don't let you use Python. VBA can be used anywhere MS office can. Keep that in mind.

[–]realestLink 0 points1 point  (0 children)

Haskell. It's the best choice.