Here is a simple script modified from univie.ac.at that you can just run in R. Follow the instructions in the ensuing dilaogue boxes after running the script.
This RExcel interface will help you if you tend to work with people whose knowledge of R is weak but you want them to be able to use R-scripts that you share with them.
And the result: A new toolset complete with R_menus under the Addins Ribbon in Excel.
More customisations are described on univie.ac.at. Other
ways for working with R and Excel can be found here https://www.r-bloggers.com/a-million-ways-to-connect-r-and-excel/