A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
You can do that (and much more) with my (Developer-) AddIn, watch this video:
https://www.dropbox.com/s/vbkvbz6r5r4qqh9/ExampleA.wmv?dl=0
Download it here
https://www.dropbox.com/s/eow60utqq4nf1gr/AK.zip?dl=1
After download maybe you have to unblock the file:
https://blogs.msdn.microsoft.com/delay/p/unblockingdownloadedfile/
You can also record a macro and get a code that can be used without the AddIn.
The steps are explained in the help.
Andreas.