Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, if a cell (B1) references another cell (A1) and A1 is
empty (ISBLANK) B1 shows a zero, if I then reference B1 in C1 with =IF(ISBLANK(B1);TRUE;FALSE) the results is False so my question is how do I may B1 blank and not zero. regards KM |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Kevin, like this, =IF(ISBLANK(A1),"",A1)
-- Paul B Always backup your data before trying something new Using Excel 2000 & 97 Please post any response to the newsgroups so others can benefit from it ** remove news from my email address to reply by email ** "Kevin McCartney" wrote in message ... Hi, if a cell (B1) references another cell (A1) and A1 is empty (ISBLANK) B1 shows a zero, if I then reference B1 in C1 with =IF(ISBLANK(B1);TRUE;FALSE) the results is False so my question is how do I may B1 blank and not zero. regards KM |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Kevin,
you could use somehting like this in B1 =if(a1="","",1) However, that really wont help the second part of your query, as ISBLANK(B1) will still return False because the cell isn't empty, you've just fomratted your results to make it look empty! What are you actully trying to do? As the value of C1 is dependent in some way on A1, wouldn't it be best just to test that directly? Pete -----Original Message----- Hi, if a cell (B1) references another cell (A1) and A1 is empty (ISBLANK) B1 shows a zero, if I then reference B1 in C1 with =IF(ISBLANK(B1);TRUE;FALSE) the results is False so my question is how do I may B1 blank and not zero. regards KM . |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
But he could use the same test for B1 that you show for A1.
-- Regards, Tom Ogilvy "Pete McCosh" wrote in message ... Kevin, you could use somehting like this in B1 =if(a1="","",1) However, that really wont help the second part of your query, as ISBLANK(B1) will still return False because the cell isn't empty, you've just fomratted your results to make it look empty! What are you actully trying to do? As the value of C1 is dependent in some way on A1, wouldn't it be best just to test that directly? Pete -----Original Message----- Hi, if a cell (B1) references another cell (A1) and A1 is empty (ISBLANK) B1 shows a zero, if I then reference B1 in C1 with =IF(ISBLANK(B1);TRUE;FALSE) the results is False so my question is how do I may B1 blank and not zero. regards KM . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
=IF cell needs to show blank if blank | Excel Discussion (Misc queries) | |||
show blank instead of #N/A | Excel Discussion (Misc queries) | |||
show non-blank as 1 | Excel Worksheet Functions | |||
Needs to Show blank please | Excel Worksheet Functions | |||
To show blank please | Excel Worksheet Functions |