Generating random Ethereum wallet addresses

jpowell79

Active Member
Joined
Apr 20, 2006
Messages
336
Office Version
  1. 2021
Platform
  1. Windows
Hi guys,

Am looking for a way to generate a column of completely random Ethereum wallet addresses.

Each wallet address always begins with “0x” followed by 40 hex characters (0-9 a-f)

So a valid address might be:
0x6f1d841afce211deead45e6109895c20f8ee92f0

Am looking for a formula where I can basically just create as many of these random addresses as I need.

Any suggestions or solutions would be greatly appreciated!

Thanks
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
What version of Excel are you on?

Does this work? Excel 365.

Cell Formulas
RangeFormula
A5:A35A5="0x" & TEXTJOIN("",1,MID("0123456789abcdef",RANDARRAY(40,,1,16,1),1))
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Another option for 365 or 2021
Excel Formula:
=CONCAT("0x",BASE(RANDARRAY(40,,0,15,1),16,1))
 
Upvote 0
This should also work...
Excel Formula:
=CONCAT("0x",DEC2HEX(RANDARRAY(40,,1,16,1)))
If you need the letters to be lower case, then use this instead...
Excel Formula:
=LOWER(CONCAT("0x",DEC2HEX(RANDARRAY(40,,1,16,1))))
 
Upvote 0
thanks guys much appreciated. I couldn't get them to work, so am assuming it's because I'm running Office 2016? Do I need to upgrade? :)
 
Upvote 0
just upgraded to Office 2021 and now works like a charm!! thanks guys very much appreciated! (y)
 
Upvote 0
What version of Excel are you on?

Does this work? Excel 365.

Cell Formulas
RangeFormula
A5:A35A5="0x" & TEXTJOIN("",1,MID("0123456789abcdef",RANDARRAY(40,,1,16,1),1))
can I see the example of this? I tried to copy just the formula, I don't know what to put in cells in order to work.
 
Upvote 0

Forum statistics

Threads
1,214,593
Messages
6,120,434
Members
448,961
Latest member
nzskater

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