Forum Discussion

phcma's avatar
phcma
Copper Contributor
Nov 09, 2022
Solved

Changing date and time formatting to General converts to real number

It's a bit hard to describe the issue in the title.    I've downloaded a 1000 row report from Microsoft Purview Audit in csv. When importing to Excel some dates are formatted as 'General' and other...
  • mtarler's avatar
    Nov 09, 2022
    i believe the problem is that the 1st dates showing as 'General' format are actually just TEXT that 'look like' a date while the cells with 'Custom' format are actual dates. you can try using Text to Columns to convert the text to DATE format or use an in cell formula like =DATEVALUE() to convert that text or if you are going to use Power Bi anyhow, you should be able to do the conversion in there.

Resources