MacGyver101 wrote:thelockpickkid wrote:Hey Mac, is it okay if we copy this to our desktop? I think this is a really cool program and I want to use it.
Absolutely! Please make use of it.
If you want to add any other manufacturers/blanks, you'll have to "unhide" the four columns just after "Pin #7", in order to add the pinning specs.
@MacGyver101:
That is quite a bit of IF...THEN statements there :-p
The only flaws that I have found with the calculations is that Excel won't let you pad a zero in front of a number so the spreadsheet won't work for any bitting starting with a 0... and...
The way "0" is being interpreted/treated differs in that I think Excel is only able to correctly calculate the MACS values when "0" is the shallowest bitting (the absence of value) -- if you look at the way it is calculating especially for the Corbin examples "0" should be the deepest pin a #10 and it is clearly calculating the pin size of the #0/#10 as smaller than a #1 bottom pin which should be an out-of-range error...
This would also effect the Sargent calculations as well... To correct this problem is beyond my programming/Boolean logical skills... (Logic was the one course I never took in college because I saw the homework one of my roommates was doing for it and I picked a softer option)
There must be some way for the calculations and logical arguments to be structured that would correctly interpret 0 as the shallowest number in most of the rows but also as the deepest in a few of them when that is appropriate... (I could see a similar problem arising if you created an entry for Assa which has the bitting numbers in reverse order with the deepest being #1 and the shallowest being #9)
Otherwise it is a quite brilliant quick bitting checker... As long as the locks involved obey certain rules until you work out that minor glitch...
~~ Evan