ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   What does "" mean in Excel? (https://www.excelbanter.com/excel-discussion-misc-queries/450145-what-does-mean-excel.html)

[email protected]

What does "" mean in Excel?
 
I am having trouble wording my formula correctly. What does "" mean in a formula? Keep in mind there is no space in betweem the quotation marks.

zvkmpw

What does "" mean in Excel?
 
What does "" mean in a formula? Keep in mind there is no space in
betweem the quotation marks.


It's a text string, zero characters long.

Think of what you get starting with "a" and deleting the first (and only) letter.

joeu2004[_2_]

What does "" mean in Excel?
 
wrote:
I am having trouble wording my formula correctly.
What does "" mean in a formula? Keep in mind there
is no space in betweem the quotation marks.


It is called the null string, a string of zero characters. It is useful for
making a cell look blank, particularly under some conditions.

It is important to note that a cell with the value of the null string does
not behave the same in some contexts as an empty cell.

For example, if A1 has the formula =IF(B1<=0,"",B1) and A2 has the formula
=A1+B2, A2 returns a #VALUE error because we trying to add non-numeric text
to B2 (if B1<=0).

Some ways to correct that:

=IF(A1="",B2,A1+B2)

=N(A1)+B2

Both treat A1 with the null string value the same as empty A1, namely zero.



All times are GMT +1. The time now is 05:36 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com