From 37935e67bccf375a0fc4f79b99731155ab365981 Mon Sep 17 00:00:00 2001 From: KarthikaSF4773 Date: Wed, 19 Nov 2025 12:45:10 +0530 Subject: [PATCH] 988727-HandlingSpaceInCalculation --- ...cell-values-handled-by-xlsio-during-calculation.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Document-Processing/Excel/Excel-Library/NET/faqs/how-are-spaces-in-cell-values-handled-by-xlsio-during-calculation.md 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