ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   #VALUE! (https://www.excelbanter.com/excel-discussion-misc-queries/206667-value.html)

Steve

#VALUE!
 
A reference in my if-then statement refers to a another cell with a formula
where when it's true it contains a text string that appears like a number.
When the result of the reference cell is false (or is null), my if-then
statment still recognizes something in the cell and gives me "#VALUE". I want
to return a blank cell result if the reference cell is blank also. How do I
do that? To get my desired result, I've tried different commands like 0,
isblank and isnumber all to no avail.
Primary formula:
=IF(ISBLANK(Z50),"",FIXED(CONCATENATE((MID(Z50,1,2 )),$G$3,(MID(Z50,3,9))),9))

Reference cell (Z50): =VLOOKUP(P50,dws_data,8,FALSE)

Thanks

Steve




Sean Timmons

#VALUE!
 
Have you tried ISNULL()?

"Steve" wrote:

A reference in my if-then statement refers to a another cell with a formula
where when it's true it contains a text string that appears like a number.
When the result of the reference cell is false (or is null), my if-then
statment still recognizes something in the cell and gives me "#VALUE". I want
to return a blank cell result if the reference cell is blank also. How do I
do that? To get my desired result, I've tried different commands like 0,
isblank and isnumber all to no avail.
Primary formula:
=IF(ISBLANK(Z50),"",FIXED(CONCATENATE((MID(Z50,1,2 )),$G$3,(MID(Z50,3,9))),9))

Reference cell (Z50): =VLOOKUP(P50,dws_data,8,FALSE)

Thanks

Steve




Peo Sjoblom[_2_]

#VALUE!
 
ISNULL, that is in VBA only.



--


Regards,


Peo Sjoblom

"Sean Timmons" wrote in message
...
Have you tried ISNULL()?

"Steve" wrote:

A reference in my if-then statement refers to a another cell with a
formula
where when it's true it contains a text string that appears like a
number.
When the result of the reference cell is false (or is null), my if-then
statment still recognizes something in the cell and gives me "#VALUE". I
want
to return a blank cell result if the reference cell is blank also. How do
I
do that? To get my desired result, I've tried different commands like 0,
isblank and isnumber all to no avail.
Primary formula:
=IF(ISBLANK(Z50),"",FIXED(CONCATENATE((MID(Z50,1,2 )),$G$3,(MID(Z50,3,9))),9))

Reference cell (Z50): =VLOOKUP(P50,dws_data,8,FALSE)

Thanks

Steve






Peo Sjoblom[_2_]

#VALUE!
 
Instead of ISBLANK which will return FALSE if the cell contains a formula
use


IF(Z50="","",the rest


--


Regards,


Peo Sjoblom

"Steve" wrote in message
...
A reference in my if-then statement refers to a another cell with a formula
where when it's true it contains a text string that appears like a number.
When the result of the reference cell is false (or is null), my if-then
statment still recognizes something in the cell and gives me "#VALUE". I
want
to return a blank cell result if the reference cell is blank also. How do
I
do that? To get my desired result, I've tried different commands like 0,
isblank and isnumber all to no avail.
Primary formula:
=IF(ISBLANK(Z50),"",FIXED(CONCATENATE((MID(Z50,1,2 )),$G$3,(MID(Z50,3,9))),9))

Reference cell (Z50): =VLOOKUP(P50,dws_data,8,FALSE)

Thanks

Steve







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

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