diff --git a/Document-Processing/Excel/Excel-Library/NET/faqs/how-are-spaces-in-cell-values-handled-by-xlsio-during-calculation.md b/Document-Processing/Excel/Excel-Library/NET/faqs/how-are-spaces-in-cell-values-handled-by-xlsio-during-calculation.md new file mode 100644 index 000000000..9735d0177 --- /dev/null +++ b/Document-Processing/Excel/Excel-Library/NET/faqs/how-are-spaces-in-cell-values-handled-by-xlsio-during-calculation.md @@ -0,0 +1,11 @@ +--- +title: Handling spaces in Excel calculations | Syncfusion +description: This page explains how Microsoft Excel and Syncfusion XlsIO handle leading and trailing spaces in cell values during calculation and display. +platform: document-processing +control: XlsIO +documentation: UG +--- + +# How are spaces in cell values handled by XlsIO during calculation? + +In Microsoft Excel, leading and trailing spaces in cell values are preserved for display purposes. However, when performing calculations (for example, **=A1+5** where A1 contains **" 25 "** with spaces), Excel automatically ignores those spaces and treats the underlying numeric value. Spaces are always shown in the cell but ignored in calculations. Syncfusion XlsIO follows the same behavior. \ No newline at end of file