Excel Sudoku Solver

sudoku solver
Download File

Download Zipped File

Description

This program will solve (most) standard sudoku puzzles. I say "most" instead of "all" because this version of the solver relies on logic-only solving. If "brute force" (that is, guessing) is ever required, the solver will get stuck. I do not consider that a disadvantage.

I developed this program as part of creating the website Sudoku Place, which was my first "modern" venture into cyberspace. Thus the built-in hyperlink. The version available at that website is protected to prevent accidental destruction of working parts. This version is not, so if you happen to enjoy reading code, you can have a look.

Potential Improvements

A previous iteration of this program which relied much more on string manipulation in Excel itself did have one nice feature that this one lacks: the ability to add just one more value as a hint, if you happen to be stuck. Of course the trade off was a speed factor of about 4, so there you have it.

I suppose if there was a public clamour for it, I would also add a "brute force" option box so that it could solve each and every valid sudoku puzzle.

Another Solver

sudoku solver
Download File

Matt Quinn sent along this version of a sudoku solver, which is also a logic-only solver, and has a hints feature and a load of other buttons. It's a more muscular program than mine, for sure, more code, faster solve, more complete logic. Makes me jealous and now I have to fix mine up some...

Comments

Have comments about this program? Leave them below!

Name:
Comment:

Previous Comments:

-12345a': 12345a
12345a: -12345a'
Hitesh : Nice one
1: -1'
-1': 1
1: -1'
-1': 1
1: -1'
-1': 1
1: -1'
-1': 1
1: -1'
-1': 1
Password: The up version is to edit: 3b1b1b3b5b1b1
daksh: best program ever
Jean claude: Manuel is right, Andoni's Excel sudoku Solver, it's the best for sure, check on: www.dzikosoft.com
I am a downloader: Dear Frank, the password prompt is cased because you set the macro settings to High - block all untrusted macros. Set it to Medium or Low!
imran: great
Sandip: very good
pepu: wolla
Manuel: You should get Andoni's Excel sudoku Solver, it's the best for sure, check on: www.dzikosoft.com
Nick: Is it expandable to solve 16x16 with 0-9A-F? Nice coding.
sherina: i love this game so much!!!!!!!
aba: how play this game?
dmars: am proud of your innavaton,i too wanted to create such program
madhu: want to c code pass plzzzzzzzzzz
Anupam: Could you please give us password to unlock the code. It will be a great way to learn
Frank: Can you post an unlocked version or post the password?
.

Excel is a registered trademarkof the Microsoft® Corporation.