ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Cell has a value of #N/A when the formula refers to nothing (https://www.excelbanter.com/excel-programming/331930-cell-has-value-n-when-formula-refers-nothing.html)

Man Utd

Cell has a value of #N/A when the formula refers to nothing
 
I got a cell has a formula refering to a cell, say =2*A5, however, if the
referred cell(A5) is empty, this referring cell will display a string
"#N/A".
How do I display this referring cell empty rather than "#N/A" if the cell A5
is empty?



Vasant Nanavati

Cell has a value of #N/A when the formula refers to nothing
 
It should show 0 unless A5 has a blank space or spaces in it (in which case
it is not empty).

Also, I get a #VALUE! error rather than "#N/A!".

--

Vasant


"Man Utd" wrote in message
...
I got a cell has a formula refering to a cell, say =2*A5, however, if the
referred cell(A5) is empty, this referring cell will display a string
"#N/A".
How do I display this referring cell empty rather than "#N/A" if the cell

A5
is empty?





Man Utd

Cell has a value of #N/A when the formula refers to nothing
 
Sorry, yes, it should be 0. How do I make the value empty rather than 0 ?

"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
It should show 0 unless A5 has a blank space or spaces in it (in which
case
it is not empty).

Also, I get a #VALUE! error rather than "#N/A!".

--

Vasant


"Man Utd" wrote in message
...
I got a cell has a formula refering to a cell, say =2*A5, however, if the
referred cell(A5) is empty, this referring cell will display a string
"#N/A".
How do I display this referring cell empty rather than "#N/A" if the cell

A5
is empty?







Gord Dibben

Cell has a value of #N/A when the formula refers to nothing
 
=If(A5="","",2*A5)

If A5 is empty, return nothing.

If A5 has a value, return 2*A5


Gord Dibben Excel MVP


On Thu, 16 Jun 2005 12:18:36 +1000, "Man Utd"
wrote:

Sorry, yes, it should be 0. How do I make the value empty rather than 0 ?

"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
It should show 0 unless A5 has a blank space or spaces in it (in which
case
it is not empty).

Also, I get a #VALUE! error rather than "#N/A!".

--

Vasant


"Man Utd" wrote in message
...
I got a cell has a formula refering to a cell, say =2*A5, however, if the
referred cell(A5) is empty, this referring cell will display a string
"#N/A".
How do I display this referring cell empty rather than "#N/A" if the cell

A5
is empty?







Man Utd

Cell has a value of #N/A when the formula refers to nothing
 
Thank you Gord.

=If(A5="","",2*A5)

If A5 is empty, return nothing.

If A5 has a value, return 2*A5




Stefi

Cell has a value of #N/A when the formula refers to nothing
 
Tools-Options-Display: uncheck Display zero box!
Stefi

€˛Man Utd€¯ ezt Ć*rta:

Sorry, yes, it should be 0. How do I make the value empty rather than 0 ?

"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
It should show 0 unless A5 has a blank space or spaces in it (in which
case
it is not empty).

Also, I get a #VALUE! error rather than "#N/A!".

--

Vasant


"Man Utd" wrote in message
...
I got a cell has a formula refering to a cell, say =2*A5, however, if the
referred cell(A5) is empty, this referring cell will display a string
"#N/A".
How do I display this referring cell empty rather than "#N/A" if the cell

A5
is empty?








bac

Cell has a value of #N/A when the formula refers to nothing
 
But what if A5 is not empty, but rather has something other than a number in
it including another error message??..

try:

=if(iserror(2*A5),"",2*A5)

if 2*A5 returns an error for any reason, make this cell empty,
otherwise make it 2*A5



"Man Utd" wrote:

Thank you Gord.

=If(A5="","",2*A5)

If A5 is empty, return nothing.

If A5 has a value, return 2*A5






All times are GMT +1. The time now is 10:43 AM.

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