Display Blank when Referencing Blank Cell in Excel 2010

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Display Blank when Referencing Blank Cell in Excel 2010

Message par Clippy »

Display Blank when Referencing Blank Cell in Excel 2010
Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Re: Display Blank when Referencing Blank Cell in Excel 2010

Message par Clippy »

You need to force Excel to treat the contents of the cell as a text value instead of a number, which it does automatically with blank values.

```
=A2 & ""

```

This will force Excel into making that cell reference a text value,
thus preventing the conversion of blanks into zeroes.
Répondre

Revenir à « Excel & VBA »