I need a function that will take an entire cell value in Excel and convert the value into its MD5 hash equivalent in a new cell.
Is there a formula in excel that does that? I need a solution that doesn't use VBA. Is this possible?
I need a function that will take an entire cell value in Excel and convert the value into its MD5 hash equivalent in a new cell.
Is there a formula in excel that does that? I need a solution that doesn't use VBA. Is this possible?
Without VBA is possible to use webservice formula that invoke a webservice that return the md5sum.
Explanation
=WEBSERVICE(B4)
=CONCAT("https://md5sum.herokuapp.com/?text=";ENCODEURL(B3))
B3 cells contains the text to be coded
This web service was developed by me as all the services on internet require a POST method and Excel is only able to perform GET request. It's hosted in a free service and I don't know for how long it will be available.
Web service source code: https://github.com/btafarelo/md5sum
This was actually answered (with a "Yes", it's possible, and here's the proof) but the answer has been mysteriously removed. Fortunately, the Wayback Machine remembers the answer. Basically, by using Excel's bitwise operations (BITAND()
, BITOR()
, BITXOR()
, BITR[L]SHIFT()
), an MD5 calculation can be made.
Somebody even wrote a blog post on it, including an example workbook.