You too can run a functional 16-bit CPU inside Microsoft Excel thanks to one YouTube hobbyist with more willpower than I shall ever possess

A still from a YouTube video detailing the creation and construction of a working CPU in Microsoft Excel
(Image credit: Inkbox)

Microsoft Excel isn't exactly up there when it comes to anyone's top-ten list of exciting software. Regarded as the dependable if more-than-slightly dull workhorse of productivity apps, the mere mention of Excel brings to mind endless spreadsheets, budgetary calculations, and... oh no you've fallen asleep already. But when someone creates a functional 16-bit CPU inside it, well, that might just be worth waking up for.

YouTuber Inkbox has posted a 16-minute video (via Tom's Hardware) detailing exactly how they built a fully-functional 3Hz 16-bit CPU in the much-maligned office app, complete with an included 128KB of RAM, a 16-colour output display and its own custom assembly language. Not only was the CPU created (and runs) inside Excel, it was built without any Visual Basic scripts or plugins, which means it could be duplicated on any Excel instance.

Inkbox points out that at its heart a spreadsheet is just a fancy calculator, taking a data input in, and producing an outputted result. By stacking linked cells to create increasingly more complex outputs they were able to effectively mimic the input/output functions of a CPU, albeit in this case a relatively basic one. 

This required the creation of a customised assembly language named Excel-ASM15, with enough functionality to load, transfer and perform arithmetic operations that allows instructions to be executed like traditional programs. The video provides an in-depth and yet straightforward enough to understand breakdown of the process, and it serves as a great insight into the inner structure and calculations performed by a CPU, and how they were effectively replicated.  

This isn't the first time we've seen CPUs built inside other programs, as who could forget the amazingly named Chungus 2, a fully functional 3D model of a PC constructed within Minecraft, complete with its own 1Hz CPU created with some very imaginative uses of redstone. Still, as anyone with many hours in the game can attest, building things in Minecraft can be fun, whereas Excel... well, that takes a level of discipline and will all of its own. 

Your next upgrade

Nvidia RTX 4070 and RTX 3080 Founders Edition graphics cards

(Image credit: Future)

Best CPU for gaming: The top chips from Intel and AMD.
Best gaming motherboard: The right boards.
Best graphics card: Your perfect pixel-pusher awaits.
Best SSD for gaming: Get into the game ahead of the rest.

Inkbox has shared the results of their work on Github, which means that if you have a copy of Excel installed you can check out the inner-workings of a functional CPU for yourself, complete with some basic programs to try.

By watching the spreadsheet run you are essentially able to view the internal process of a functioning CPU in action, within a program that up until now would be regarded by most as a productivity tool. How cool is that?

It's a fascinating re-purposing of the software, and goes some way to showing the power of Excel when used creatively. While my time with the program has often led to swearing, internal cursing at my lack of a proper maths education, and broken spreadsheets that have become a source of great pain, I take my hat off to the work and dedication that's been put in here.

It's truly Excel-ent. Sorry, I couldn't resist. I'll see myself out.

Andy Edser
Hardware Writer

Andy built his first gaming PC at the tender age of 12, when IDE cables were a thing and high resolution wasn't—and he hasn't stopped since. Now working as a hardware writer for PC Gamer, Andy's been jumping around the world attending product launches and trade shows, all the while reviewing every bit of PC hardware he can get his hands on. You name it, if it's interesting hardware he'll write words about it, with opinions and everything.

Read more
Various creations in Minecraft, including computers and calculators.
This Minecraft creation blots out the sun for the villagers below, they surely praise it as God, but we know it really to be a functioning 32-bit computer with 2 kB of RAM
Michael Jarman holds his Excel championship belt aloft.
'Super Bowl for Excel nerds' crowns the king of the spreadsheets in Vegas, complete with championship belt and adoring crowd: 'You'd never see this with Google Sheets'
Microsoft Majorana 1 quantum processor
Microsoft's wacky Majorana 1 chip, powered by an 'entirely new state of matter', could have industrial quantum computing here 'in years, not decades'
DeepSeek
Today I learned I can run my very own DeepSeek R1 chatbot on just $6,000 of PC hardware and no megabucks Nvidia GPUs required
gotg llama
Blasting AI into the past: Modders get Llama AI working on an old Windows 98 PC
LinuxPDF, linux running in a PDF document
Here's Linux running inside a PDF, running inside a browser, running on a Windows PC
Latest in Processors
A chip being held up in an Intel fab
Intel is reportedly 'working to finalize commitments from Nvidia' as a foundry partner, suggesting gaming potential for the 18A node
AMD Strix Point APU chip, held in a hand, with the reflected light showing the various processing blocks in the chip die
AMD's next-gen 'Gorgon Point' APU outted and seemingly sticks with RDNA 3.5 graphics which is disappointing for handheld gaming PCs if accurate
Nvidia CEO Jensen Huang delivering pancakes and sausages to pre-GTC show hosts and guests, wearing an apron
'There might be a party. I wasn't invited,' says Jensen Huang of the rumoured TSMC proposal to join forces and run Intel's chip fabs
Nvidia Feynman GPU
While we despair of RTX 50-series supplies and wait on next-gen Rubin, Nvidia reveals its next-next GPU architecture will be known as Feynman and is due in 2028
Nvidia Vera CPU
Nvidia reveals Vera, a new CPU with 'custom' cores which could be very exciting for its upcoming premium PC processor
Machinery tools and equipment,Rolls of galvanized steel for production metal pipes and tubes for industrial ventilation systems in factory.
New super-thin '2D' metal sheets could enable ultra-low power chips and can you guess how they're made? Yup, by squishing stuff really hard
Latest in News
Image of Ronaldo from Fatal Fury: City of the Wolves trailer
It doesn't really make sense that soccer star Ronaldo is now a Fatal Fury character, but if you follow the money you can see how it happened
Junah beginning a battle in Metaphor: ReFantazio.
Today's RPG fans are 'very sensitive to feeling like they wasted time' when they die, says Metaphor: ReFantazio battle planner—but Atlus still made combat hard anyway
Image of Cersei Lanniser from Game of Thrones: Kingsroad Steam early access trailer
A new Game of Thrones RPG is coming to Steam today with a cast of 'familiar faces,' which is good because it's really the only way to tell it's a GoT game at all
The new Prime Asset featured in the upcoming update for the Outlast Trials.
The Outlast Trials puts its already paranoid players under surveillance for a time-limited story event
A Viera looking confused in Final Fantasy 14.
Old armor continues to fall victim to Final Fantasy 14's bizarre two-channel dye system, unless you're super into changing the colour of teeny-tiny eyelets: 'Why even bother at this point?'
Starfield: Shattered Space
By the time Bethesda was on Starfield, you'd 'basically get in trouble' for breaking schedule, says former dev: 'A lot of the great stuff within Skyrim came from having the freedom to do what you want'