A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
I have a resolution for those two issues:
for Q2, I use VBA.
for Q1, I use Google sheet to do a pivot to resolve the problem. Then copy the sheet to Microsoft Excel.
Thank all of your help.
If you want the VBA, please reach me by ******@126.com