Edited code.
Excel version.
Excel version.