6 digits code from digits 0-9

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Welcome to the MrExcel board!

Any chance you could tell us a bit more about what you have, where and what you are trying to achieve? So far you have given us almost nothing to go on.

Unless the following will do. ;) 6 digit code: 569213
 
Upvote 0
In A1 type "0", in A2 type "1"...select both A1 and A2...drag down until you get to 999,999.

You will have a list of ALL possible 6 digit combinations of digits 0-9. (add zeros to the left side of combinations that are less than 6 digits) :)

EDIT: Actually you could probably get away with a LOT less if you don't care about the order of the digits.
 
Last edited:
Upvote 0
If this is to open a safe with a lost entry code, I'd just forget it...have it drilled/cracked/broken into and buy a new safe.

It would take upwards of 100 days to try all 1,000,000 combinations, without counting time to...ya know, SLEEP...EAT...SHOWER....WORK. 100+ days if you did NOTHING but enter a code every 10 seconds, 24 hours a day.
 
Upvote 0

Forum statistics

Threads
1,224,747
Messages
6,180,714
Members
452,995
Latest member
isldboy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top