• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Microsoft Brings Python Integration to Excel, but not for Everyone

AleksandarK

News Editor
Staff member
Joined
Aug 19, 2017
Messages
2,654 (0.99/day)
Microsoft today announced that Python integration is happening, and it is coming to the latest Excel version. Through a new partnership with Anaconda, Excel will natively support executing Python code and accessing popular Python data science libraries like Pandas, Matplotlib, and Statsmodels. This integration will empower Excel users to leverage the full capabilities of Python for data transformation, analysis, and visualization without switching between separate tools. The Python integration will be available starting today in preview form for Microsoft 365 Insider beta channel members. It is being added as part of Excel's Power Query data preparation feature.

To access it, Insiders must install the latest Excel preview build, then look under the Formulas tab for the new "Insert Python" option. This will allow them to write and execute Python scripts directly in Excel worksheets. The limited-time integration preview will revert to reduced functionality once it expires. At that point, users must purchase a license to regain full access. This reflects Microsoft's strategic move to position Python as an alternative to VBA for programming and automation in Excel. With this new level of Python integration, Excel continues to evolve as a versatile hub for data analysis tasks, reducing the need to switch between separate Python and Excel workflows. Anaconda provides documentation and training resources to help users take full advantage of the new capabilities.



Update 10:58 UTC: Just to clarify: only the "Office 365" cloud version receives Python integration—no improvements for the classic offline version.

View at TechPowerUp Main Site | Source
 

silentbogo

Moderator
Staff member
Joined
Nov 20, 2013
Messages
5,560 (1.37/day)
Location
Kyiv, Ukraine
System Name WS#1337
Processor Ryzen 7 5700X3D
Motherboard ASUS X570-PLUS TUF Gaming
Cooling Xigmatek Scylla 240mm AIO
Memory 64GB DDR4-3600(4x16)
Video Card(s) MSI RTX 3070 Gaming X Trio
Storage ADATA Legend 2TB
Display(s) Samsung Viewfinity Ultra S6 (34" UW)
Case ghetto CM Cosmos RC-1000
Audio Device(s) ALC1220
Power Supply SeaSonic SSR-550FX (80+ GOLD)
Mouse Logitech G603
Keyboard Modecom Volcano Blade (Kailh choc LP)
VR HMD Google dreamview headset(aka fancy cardboard)
Software Windows 11, Ubuntu 24.04 LTS
Even though I hate Python even more than I hate VBA, I still think it's a good move. Would be interesting to see if there's pip and if it'll allow for other addons & GUI elements to be used, in addition to charts (or just the "whitelisted" ones).
 
Joined
Dec 29, 2020
Messages
210 (0.14/day)
Considering vba scripts are a good access point for malware already, I hope they at least make sure there are sufficient warnings before executing python code.
 

Frick

Fishfaced Nincompoop
Joined
Feb 27, 2006
Messages
19,671 (2.86/day)
Location
w
System Name Black MC in Tokyo
Processor Ryzen 5 7600
Motherboard MSI X670E Gaming Plus Wifi
Cooling Be Quiet! Pure Rock 2
Memory 2 x 16GB Corsair Vengeance @ 6000Mhz
Video Card(s) XFX 6950XT Speedster MERC 319
Storage Kingston KC3000 1TB | WD Black SN750 2TB |WD Blue 1TB x 2 | Toshiba P300 2TB | Seagate Expansion 8TB
Display(s) Samsung U32J590U 4K + BenQ GL2450HT 1080p
Case Fractal Design Define R4
Audio Device(s) Plantronics 5220, Nektar SE61 keyboard
Power Supply Corsair RM850x v3
Mouse Logitech G602
Keyboard Dell SK3205
Software Windows 10 Pro
Benchmark Scores Rimworld 4K ready!
It is worth noting that this is a cloud feature.
 
Joined
Aug 30, 2006
Messages
7,223 (1.08/day)
System Name ICE-QUAD // ICE-CRUNCH
Processor Q6600 // 2x Xeon 5472
Memory 2GB DDR // 8GB FB-DIMM
Video Card(s) HD3850-AGP // FireGL 3400
Display(s) 2 x Samsung 204Ts = 3200x1200
Audio Device(s) Audigy 2
Software Windows Server 2003 R2 as a Workstation now migrated to W10 with regrets.
MS, please release Excel 2024 classic. An up to date Excel with all new features and bugs squashed with CLASSIC INTERFACE not ribbon! Same for Word.
 

Frick

Fishfaced Nincompoop
Joined
Feb 27, 2006
Messages
19,671 (2.86/day)
Location
w
System Name Black MC in Tokyo
Processor Ryzen 5 7600
Motherboard MSI X670E Gaming Plus Wifi
Cooling Be Quiet! Pure Rock 2
Memory 2 x 16GB Corsair Vengeance @ 6000Mhz
Video Card(s) XFX 6950XT Speedster MERC 319
Storage Kingston KC3000 1TB | WD Black SN750 2TB |WD Blue 1TB x 2 | Toshiba P300 2TB | Seagate Expansion 8TB
Display(s) Samsung U32J590U 4K + BenQ GL2450HT 1080p
Case Fractal Design Define R4
Audio Device(s) Plantronics 5220, Nektar SE61 keyboard
Power Supply Corsair RM850x v3
Mouse Logitech G602
Keyboard Dell SK3205
Software Windows 10 Pro
Benchmark Scores Rimworld 4K ready!
MS, please release Excel 2024 classic. An up to date Excel with all new features and bugs squashed with CLASSIC INTERFACE not ribbon! Same for Word.

Are you saying old Excel was bug free?
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,965 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
VBA is a cancer (that I still have to use a lot), but putting Python only in the cloud version is kinda lame
 
Joined
Jun 18, 2021
Messages
2,570 (2.00/day)
VBA is a cancer (that I still have to use a lot), but putting Python only in the cloud version is kinda lame

To me this looks like the first step to officially kill offline and standalone Office which is very sad, not that the writting wasn't on the wall for a very long time but still very disheartening
 
Joined
Dec 28, 2012
Messages
3,956 (0.90/day)
System Name Skunkworks 3.0
Processor 5800x3d
Motherboard x570 unify
Cooling Noctua NH-U12A
Memory 32GB 3600 mhz
Video Card(s) asrock 6800xt challenger D
Storage Sabarent rocket 4.0 2TB, MX 500 2TB
Display(s) Asus 1440p144 27"
Case Old arse cooler master 932
Power Supply Corsair 1200w platinum
Mouse *squeak*
Keyboard Some old office thing
Software Manjaro
To me this looks like the first step to officially kill offline and standalone Office which is very sad, not that the writting wasn't on the wall for a very long time but still very disheartening
True, but then again office 2016 was supposed to be "the last office". Then 2019. Now we have office 21.

If enough people refuse 365, we may see an office 24, and it may have the python upgrade.
 

Fourstaff

Moderator
Staff member
Joined
Nov 29, 2009
Messages
10,079 (1.83/day)
Location
Home
System Name Orange! // ItchyHands
Processor 3570K // 10400F
Motherboard ASRock z77 Extreme4 // TUF Gaming B460M-Plus
Cooling Stock // Stock
Memory 2x4Gb 1600Mhz CL9 Corsair XMS3 // 2x8Gb 3200 Mhz XPG D41
Video Card(s) Sapphire Nitro+ RX 570 // Asus TUF RTX 2070
Storage Samsung 840 250Gb // SX8200 480GB
Display(s) LG 22EA53VQ // Philips 275M QHD
Case NZXT Phantom 410 Black/Orange // Tecware Forge M
Power Supply Corsair CXM500w // CM MWE 600w
Yes please, cant wait to make a Frankenmonster of an Excel model with Python and VBA bits to confuse the hell out of any business analytics worker.
 
Joined
Feb 23, 2019
Messages
6,106 (2.87/day)
Location
Poland
Processor Ryzen 7 5800X3D
Motherboard Gigabyte X570 Aorus Elite
Cooling Thermalright Phantom Spirit 120 SE
Memory 2x16 GB Crucial Ballistix 3600 CL16 Rev E @ 3600 CL14
Video Card(s) RTX3080 Ti FE
Storage SX8200 Pro 1 TB, Plextor M6Pro 256 GB, WD Blue 2TB
Display(s) LG 34GN850P-B
Case SilverStone Primera PM01 RGB
Audio Device(s) SoundBlaster G6 | Fidelio X2 | Sennheiser 6XX
Power Supply SeaSonic Focus Plus Gold 750W
Mouse Endgame Gear XM1R
Keyboard Wooting Two HE
Cloud excel, where you can't even edit and save a CSV.
 
Joined
Jun 18, 2021
Messages
2,570 (2.00/day)
If enough people refuse 365, we may see an office 24, and it may have the python upgrade.

The problem is most people simply don't buy office anymore because all the basic features are available on the free online version. The main customer are businesses and they don't care as long as the numbers make sense, given how everyone is beholden to outlook and ms teams anyway this is just another item on the subscription.

I wouldn't be surprised if the only thing keeping offline office alive were legacy applications that depend on a local excel install - which "fortunately" will be true for a long time
 
Joined
Jan 10, 2011
Messages
1,451 (0.28/day)
Location
[Formerly] Khartoum, Sudan.
System Name 192.168.1.1~192.168.1.100
Processor AMD Ryzen5 5600G.
Motherboard Gigabyte B550m DS3H.
Cooling AMD Wraith Stealth.
Memory 16GB Crucial DDR4.
Video Card(s) Gigabyte GTX 1080 OC (Underclocked, underpowered).
Storage Samsung 980 NVME 500GB && Assortment of SSDs.
Display(s) ViewSonic VA2406-MH 75Hz
Case Bitfenix Nova Midi
Audio Device(s) On-Board.
Power Supply SeaSonic CORE GM-650.
Mouse Logitech G300s
Keyboard Kingston HyperX Alloy FPS.
VR HMD A pair of OP spectacles.
Software Ubuntu 24.04 LTS.
Benchmark Scores Me no know English. What bench mean? Bench like one sit on?
Welcome to 2013, Microsoft!
 

Frick

Fishfaced Nincompoop
Joined
Feb 27, 2006
Messages
19,671 (2.86/day)
Location
w
System Name Black MC in Tokyo
Processor Ryzen 5 7600
Motherboard MSI X670E Gaming Plus Wifi
Cooling Be Quiet! Pure Rock 2
Memory 2 x 16GB Corsair Vengeance @ 6000Mhz
Video Card(s) XFX 6950XT Speedster MERC 319
Storage Kingston KC3000 1TB | WD Black SN750 2TB |WD Blue 1TB x 2 | Toshiba P300 2TB | Seagate Expansion 8TB
Display(s) Samsung U32J590U 4K + BenQ GL2450HT 1080p
Case Fractal Design Define R4
Audio Device(s) Plantronics 5220, Nektar SE61 keyboard
Power Supply Corsair RM850x v3
Mouse Logitech G602
Keyboard Dell SK3205
Software Windows 10 Pro
Benchmark Scores Rimworld 4K ready!
If enough people refuse 365, we may see an office 24, and it may have the python upgrade.

Maybe an Office 2024, but even so the python stuff will run on their infrastructure. I cannot forsee a future in which MS scales back on the cloud/subscription stuff.
 
D

Deleted member 185088

Guest
Maybe they can add proper copy paste system when they are at it.
 
Joined
Jan 3, 2021
Messages
3,608 (2.49/day)
Location
Slovenia
Processor i5-6600K
Motherboard Asus Z170A
Cooling some cheap Cooler Master Hyper 103 or similar
Memory 16GB DDR4-2400
Video Card(s) IGP
Storage Samsung 850 EVO 250GB
Display(s) 2x Oldell 24" 1920x1200
Case Bitfenix Nova white windowless non-mesh
Audio Device(s) E-mu 1212m PCI
Power Supply Seasonic G-360
Mouse Logitech Marble trackball, never had a mouse
Keyboard Key Tronic KT2000, no Win key because 1994
Software Oldwin
MS, please release Excel 2024 classic. An up to date Excel with all new features and bugs squashed with CLASSIC INTERFACE not ribbon! Same for Word.
Of all things, you mention the ribbon ... Yeah, the ribbon really was horrible in its first incarnation in 2007, and gave Office a lasting bad reputation. But the ribbon grew really good and useful, also nicely customisable, in Office 2010 (along with the Quick Access Toolbar).
 
Joined
May 24, 2023
Messages
801 (1.38/day)
Location
127.0.0.1, ::1
System Name Naboo (2019)
Processor AMD 3800x
Motherboard Gigabyte Aorus Master V1 (X470)
Cooling individual EKWB/Heatkiller loop
Memory 4*8 GB 3600 Corsair Vengeance
Video Card(s) Sapphire Pulse 5700XT
Storage SSD 1TB PCIe 4.0x4, 2 TB PCIe 3.0
Display(s) 2*WQHD
Case Lian Li O11 Rog
Audio Device(s) Hifiman, Topping DAC/KHV
Power Supply Seasonic 850W Gold
Mouse Logitech MX2, Logitech MX Ergo Trackball
Keyboard Cherry Stream Wireless, Logitech MX Keys
Software Linux Mint "Vera" Cinnamon
Happily i'm migrating to LibreOffice. I only need to recode my 10.000 Lines of macros.
 
Joined
Aug 30, 2006
Messages
7,223 (1.08/day)
System Name ICE-QUAD // ICE-CRUNCH
Processor Q6600 // 2x Xeon 5472
Memory 2GB DDR // 8GB FB-DIMM
Video Card(s) HD3850-AGP // FireGL 3400
Display(s) 2 x Samsung 204Ts = 3200x1200
Audio Device(s) Audigy 2
Software Windows Server 2003 R2 as a Workstation now migrated to W10 with regrets.
Yeah, the ribbon really was horrible in its first incarnation in 2007, and gave Office a lasting bad reputation. But the ribbon grew really good and useful, also nicely customisable, in Office 2010 (along with the Quick Access Toolbar).
Ribbon is still ribbon. If you want to wear it, fine. Each to their own. My own: give me classic. Just like all my other apps. And just like my old Office, which I installed on my laptop, because I detest searching ribbons when structured drop down menus are better for me
 
Joined
Dec 28, 2012
Messages
3,956 (0.90/day)
System Name Skunkworks 3.0
Processor 5800x3d
Motherboard x570 unify
Cooling Noctua NH-U12A
Memory 32GB 3600 mhz
Video Card(s) asrock 6800xt challenger D
Storage Sabarent rocket 4.0 2TB, MX 500 2TB
Display(s) Asus 1440p144 27"
Case Old arse cooler master 932
Power Supply Corsair 1200w platinum
Mouse *squeak*
Keyboard Some old office thing
Software Manjaro
Of all things, you mention the ribbon ... Yeah, the ribbon really was horrible in its first incarnation in 2007, and gave Office a lasting bad reputation. But the ribbon grew really good and useful, also nicely customisable, in Office 2010 (along with the Quick Access Toolbar).
2010 ribbon was WAY better and my favorite version.
The problem is most people simply don't buy office anymore because all the basic features are available on the free online version. The main customer are businesses and they don't care as long as the numbers make sense, given how everyone is beholden to outlook and ms teams anyway this is just another item on the subscription.

I wouldn't be surprised if the only thing keeping offline office alive were legacy applications that depend on a local excel install - which "fortunately" will be true for a long time
IME most personal users dont even use office anymore, they use google docs or OLD versions of office. When I set machines up for people, quoting them the $350 for an office install usually convinces them to look at free options.
Maybe an Office 2024, but even so the python stuff will run on their infrastructure. I cannot forsee a future in which MS scales back on the cloud/subscription stuff.
They wont scale back, but they made office 21 feature comparable with 365, so theres a chance.
 
Joined
Jun 15, 2021
Messages
63 (0.05/day)
True, but then again office 2016 was supposed to be "the last office". Then 2019. Now we have office 21.

If enough people refuse 365, we may see an office 24, and it may have the python upgrade.
well

365 is still kind of a... "you have it, you got it all" since no updates will miss you if you are active subscriber to it
 
Joined
Dec 28, 2012
Messages
3,956 (0.90/day)
System Name Skunkworks 3.0
Processor 5800x3d
Motherboard x570 unify
Cooling Noctua NH-U12A
Memory 32GB 3600 mhz
Video Card(s) asrock 6800xt challenger D
Storage Sabarent rocket 4.0 2TB, MX 500 2TB
Display(s) Asus 1440p144 27"
Case Old arse cooler master 932
Power Supply Corsair 1200w platinum
Mouse *squeak*
Keyboard Some old office thing
Software Manjaro
well

365 is still kind of a... "you have it, you got it all" since no updates will miss you if you are active subscriber to it
And you are stuck paying even more, in perpituity, for the same product.

Yeah no. I didnt get a $1 trillion raise like Microsoft did. I'm good on giving them more of my money.
 

Mindweaver

Moderato®™
Staff member
Joined
Apr 16, 2009
Messages
8,301 (1.45/day)
Location
Charleston, SC
System Name Tower of Power / Delliverance
Processor i7 14700K / i9-14900K
Motherboard ASUS ROG Strix Z690-A Gaming WiFi D4 / Z690
Cooling CM MasterLiquid ML360 Mirror ARGB Close-Loop AIO / Air
Memory CORSAIR Vengeance LPX 32GB (2 x 16GB) DDR4 3600 / DDR5 2x 16gb
Video Card(s) ASUS TUF Gaming GeForce RTX 4070 Ti / GeForce RTX 4080
Storage 4x Samsung 980 Pro 1TB M.2, 2x Crucial 1TB SSD / NVM3 PC801 SK hynix 1TB
Display(s) Samsung 32" Odyssy G5 Gaming 144hz 1440p, 2x LG HDR 32" 60hz 4k / 2x LG HDR 32" 60hz 4k
Case Phantek "400A" / Dell XPS 8960
Audio Device(s) Realtek ALC4080 / Sound Blaster X1
Power Supply Corsair RM Series RM750 / 750w
Mouse Razer Deathadder V3 Hyperspeed Wireless / Glorious Gaming Model O 2 Wireless
Keyboard Glorious GMMK with box-white switches / Keychron K6 pro with blue swithes
VR HMD Quest 3 (512gb) + Rift S + HTC Vive + DK1
Software Windows 11 Pro x64 / Windows 11 Pro x64
Benchmark Scores Yes
VBA is a cancer (that I still have to use a lot), but putting Python only in the cloud version is kinda lame
It's sad.. I still use VBA daily. On a side note I'm still converting vb.net projects over to C#...

EDIT: When I say vb.net I mean Visual Basic programs. I still use VBA in Excel every week. Writing formulas. This edit is for everyone else I know you no the difference W1zzard. ;) Everyone else might know as well. LOL Lately I have had to over explain myself daily. lol


It is worth noting that this is a cloud feature.
Sometimes you just got to get your foot in the door. This could lead to more down the road.
 
Joined
Jun 15, 2021
Messages
63 (0.05/day)
And you are stuck paying even more, in perpituity, for the same product.

Yeah no. I didnt get a $1 trillion raise like Microsoft did. I'm good on giving them more of my money.
Well i am nto using it for private reasons

but my company do buys licence in bulk - because we are basing our whole AD on Exchnage etc... so ofc we got no different option for now
 
Top