If the bottom bracket has a threaded end (so you can bolt on the cranks) then you don't count the threaded part in your BB spindle length measurement.
And anyway you can't measure it with the cranks in place.
Could you use the existing crankset and just substitute the appropriate chainring on the inside (presuming it was a double). That way you have a BB and crankset that already matches.