ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   ISBLANK function not working when cell is blank dut to function re (https://www.excelbanter.com/excel-discussion-misc-queries/192079-isblank-function-not-working-when-cell-blank-dut-function-re.html)

mcmilja

ISBLANK function not working when cell is blank dut to function re
 
Hello,

The ISBLANK function does not work for me when the cell it's refencing is
"blank" due to a function result. Does anyone have any suggestions?

Thanks,
Jaret

ExcelBanter AI

Answer: ISBLANK function not working when cell is blank dut to function re
 
Hi Jaret,

I understand that you're having trouble with the ISBLANK function not working when the cell it's referencing appears to be blank due to a function result. Here are a few things you can try:
  1. Use the IF function: Instead of using the ISBLANK function, you can use the IF function to check if the cell is blank or not. For example, you can use the following formula:
    Formula:

    =IF(A1="""Blank""Not Blank"

    . This formula will return "Blank" if cell A1 is blank, and "Not Blank" if it's not.
  2. Use the TRIM function: Sometimes, a cell may appear to be blank, but it actually contains spaces. In this case, the ISBLANK function will not work. You can use the TRIM function to remove any leading or trailing spaces from the cell. For example, you can use the following formula:
    Formula:

    =IF(TRIM(A1)="""Blank""Not Blank"

    . This formula will remove any spaces from cell A1 and then check if it's blank or not.
  3. Check the function result: If the cell appears to be blank due to a function result, you can check the result of the function to see if it's returning a blank value. For example, if you're using the SUM function to add up a range of cells, you can check if the result is zero or not. If it's zero, then the cell is blank.

I hope these suggestions help you resolve your issue. Let me know if you have any other questions or if there's anything else I can help you with.

Gary''s Student

ISBLANK function not working when cell is blank dut to function re
 
You are correct. If A1 contains:
=""
then:
=ISBLANK(A1)
will return FALSE because A1 is not truely empty. So you want
=A1=""
which will return TRUE
--
Gary''s Student - gsnu200793


"mcmilja" wrote:

Hello,

The ISBLANK function does not work for me when the cell it's refencing is
"blank" due to a function result. Does anyone have any suggestions?

Thanks,
Jaret


mcmilja

ISBLANK function not working when cell is blank dut to functio
 
Thank you Gary. I'm using the following formula
=IF(ISBLANK(A1),"SPARE","IN-USE") but if A1 contains a blank or a 0 (zero)
due to a function result, the formula above does not work. What can I use
instead of ISBLANK? I tried A1="" and A1="0" but to no avail so I must be
doing something wrong.

Thanks,
Jaret

"Gary''s Student" wrote:

You are correct. If A1 contains:
=""
then:
=ISBLANK(A1)
will return FALSE because A1 is not truely empty. So you want
=A1=""
which will return TRUE
--
Gary''s Student - gsnu200793


"mcmilja" wrote:

Hello,

The ISBLANK function does not work for me when the cell it's refencing is
"blank" due to a function result. Does anyone have any suggestions?

Thanks,
Jaret


Gary''s Student

ISBLANK function not working when cell is blank dut to functio
 
A possible problem is using:
" "
rather than:
""


After all, they look the same!
--
Gary''s Student - gsnu200793


"mcmilja" wrote:

Thank you Gary. I'm using the following formula
=IF(ISBLANK(A1),"SPARE","IN-USE") but if A1 contains a blank or a 0 (zero)
due to a function result, the formula above does not work. What can I use
instead of ISBLANK? I tried A1="" and A1="0" but to no avail so I must be
doing something wrong.

Thanks,
Jaret

"Gary''s Student" wrote:

You are correct. If A1 contains:
=""
then:
=ISBLANK(A1)
will return FALSE because A1 is not truely empty. So you want
=A1=""
which will return TRUE
--
Gary''s Student - gsnu200793


"mcmilja" wrote:

Hello,

The ISBLANK function does not work for me when the cell it's refencing is
"blank" due to a function result. Does anyone have any suggestions?

Thanks,
Jaret


Dave Peterson

ISBLANK function not working when cell is blank dut to functio
 
Maybe:

=IF(A1="","SPARE","IN-USE")
or
=IF(trim(A1)="","SPARE","IN-USE")


mcmilja wrote:

Thank you Gary. I'm using the following formula
=IF(ISBLANK(A1),"SPARE","IN-USE") but if A1 contains a blank or a 0 (zero)
due to a function result, the formula above does not work. What can I use
instead of ISBLANK? I tried A1="" and A1="0" but to no avail so I must be
doing something wrong.

Thanks,
Jaret

"Gary''s Student" wrote:

You are correct. If A1 contains:
=""
then:
=ISBLANK(A1)
will return FALSE because A1 is not truely empty. So you want
=A1=""
which will return TRUE
--
Gary''s Student - gsnu200793


"mcmilja" wrote:

Hello,

The ISBLANK function does not work for me when the cell it's refencing is
"blank" due to a function result. Does anyone have any suggestions?

Thanks,
Jaret


--

Dave Peterson

JNova

ISBLANK function not working when cell is blank dut to function re
 
Does this work for you?

=IF(OR(ISBLANK(A1),A1="",A1=" ",A1=0),"Spare","In Use")

--
JNova


"mcmilja" wrote:

Hello,

The ISBLANK function does not work for me when the cell it's refencing is
"blank" due to a function result. Does anyone have any suggestions?

Thanks,
Jaret


Gord Dibben

ISBLANK function not working when cell is blank dut to function re
 
The cell is not blank if it contains a formula returning "" so ISBLANK will
prove FALSE

There is no such thing as a NULL value if cell is not truly empty.

Suggestions..........? What do you want want to do with the cell?


Gord Dibben MS Excel MVP

On Fri, 20 Jun 2008 12:34:01 -0700, mcmilja
wrote:

Hello,

The ISBLANK function does not work for me when the cell it's refencing is
"blank" due to a function result. Does anyone have any suggestions?

Thanks,
Jaret



mcmilja

ISBLANK function not working when cell is blank dut to functio
 
Hello Gord,

Here is the formula I'm trying to use:

=IF(ISBLANK(A1),"SPARE","IN-USE")

A1 is blank but contains the following formula:
=IF(ISBLANK(VLOOKUP(X686,MTN_Xng_IPBH_ER01_Ports.x ls!ER01_Xng_Path,4,FALSE)),VLOOKUP(X686,MTN_Xng_IP BH_ER01_Ports.xls!ER01_Xng_Path,5,FALSE),VLOOKUP(X 686,MTN_Xng_IPBH_ER01_Ports.xls!ER01_Xng_Path,4,FA LSE) )

Thanks,
Jaret

"Gord Dibben" wrote:

The cell is not blank if it contains a formula returning "" so ISBLANK will
prove FALSE

There is no such thing as a NULL value if cell is not truly empty.

Suggestions..........? What do you want want to do with the cell?


Gord Dibben MS Excel MVP

On Fri, 20 Jun 2008 12:34:01 -0700, mcmilja
wrote:

Hello,

The ISBLANK function does not work for me when the cell it's refencing is
"blank" due to a function result. Does anyone have any suggestions?

Thanks,
Jaret




Gord Dibben

ISBLANK function not working when cell is blank dut to functio
 
Did you see Dave P's reply?

If not, here are his suggestions.

=IF(A1="","SPARE","IN-USE")
or
=IF(trim(A1)="","SPARE","IN-USE")


Gord

On Sat, 21 Jun 2008 06:10:00 -0700, mcmilja
wrote:

Hello Gord,

Here is the formula I'm trying to use:

=IF(ISBLANK(A1),"SPARE","IN-USE")

A1 is blank but contains the following formula:
=IF(ISBLANK(VLOOKUP(X686,MTN_Xng_IPBH_ER01_Ports. xls!ER01_Xng_Path,4,FALSE)),VLOOKUP(X686,MTN_Xng_I PBH_ER01_Ports.xls!ER01_Xng_Path,5,FALSE),VLOOKUP( X686,MTN_Xng_IPBH_ER01_Ports.xls!ER01_Xng_Path,4,F ALSE) )

Thanks,
Jaret

"Gord Dibben" wrote:

The cell is not blank if it contains a formula returning "" so ISBLANK will
prove FALSE

There is no such thing as a NULL value if cell is not truly empty.

Suggestions..........? What do you want want to do with the cell?


Gord Dibben MS Excel MVP

On Fri, 20 Jun 2008 12:34:01 -0700, mcmilja
wrote:

Hello,

The ISBLANK function does not work for me when the cell it's refencing is
"blank" due to a function result. Does anyone have any suggestions?

Thanks,
Jaret






All times are GMT +1. The time now is 09:49 AM.

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