Wow, this project sounds quite interesting and challenging! It will definitely take a bit of logic and programming time calculator skills to handle this request. Good luck with writing macros!