#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default #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



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default #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



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default #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





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default #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





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"