A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Could you share us a test workbook with some dummy data in it to reproduce your issue? Then we may give suggestions on it.
For sharing a sample workbook, upload to OneDrive or any other cloud drives. Then post a link here.