Skip to content

Commit 7bc30fd

Browse files
authored
Merge pull request #1819 from syncfusion-content/988727-HandlingSpaceInCalculation
988727-FAQ on How are spaces in cell values handled by XlsIO during calculation
2 parents 3a2b6c5 + 37935e6 commit 7bc30fd

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: Handling spaces in Excel calculations | Syncfusion
3+
description: This page explains how Microsoft Excel and Syncfusion XlsIO handle leading and trailing spaces in cell values during calculation and display.
4+
platform: document-processing
5+
control: XlsIO
6+
documentation: UG
7+
---
8+
9+
# How are spaces in cell values handled by XlsIO during calculation?
10+
11+
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.

0 commit comments

Comments
 (0)