{"title":"Formatting data with leading zeros in Excel","url":"https://docs.vismasoftware.no/onestopreporting/reporting/reports/report-designer/creating-reports/formatting-data-with-leading-zeros-in-excel/","link":"/onestopreporting/reporting/reports/report-designer/creating-reports/formatting-data-with-leading-zeros-in-excel/","description":"Use parentheses around the function to force Excel to display leading zeros.","content":"\u003cp\u003eIf data generated in the report contains leading zeros (for example, Department numbered 000), Excel will only display a single 0.\u003c/p\u003e\n\u003cp\u003eHowever, you can properly display leading zeros by simply adding parenthesis before and after the OSR function in the formula bar. See the figure below.\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"/onestopreporting/reporting/reports/report-designer/creating-reports/formatting-data-with-leading-zeros-in-excel/img/en/Formatere-data-med-innledende-nuller-i-Excel_1.png\"\u003e\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"/onestopreporting/reporting/reports/report-designer/creating-reports/formatting-data-with-leading-zeros-in-excel/img/en/Formatting-data-with-leading-zeros-in-Excel_2.png\"\u003e\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"/onestopreporting/reporting/reports/report-designer/creating-reports/formatting-data-with-leading-zeros-in-excel/img/en/Formatere-data-med-innledende-nuller-i-Excel_3.png\"\u003e\u003c/p\u003e\n","children":[]}