Based on the information you provided, it seems that the issue might be related to the formatting of the data in the cells. When you change the format of a cell, it only changes the way the data is displayed, not the actual data itself.
To change the data type of the cells, you can try using the Text to Columns feature. Here are the steps:
- Select the column of dates that you want to convert.
- Go to the Data tab and click on Text to Columns.
- In the Convert Text to Columns Wizard, select Delimited and click Next.
- In the next screen, uncheck all the delimiter options and click Next.
- In the next screen, select Date and choose the appropriate date format from the dropdown menu.
- Click Finish to convert the text to dates.
This should convert the text data to date format, and you should be able to use the pivot table function without any issues.