Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have the following formula in cell D1.
=IF(A1=C1,B1," ") It is possible that cells A1 and C1 could be blank. When that happens, the formula returns a "-" in D1. Normally I would use the Autofilter and delete these, however, I am using a macro and using the Autofilter slows it down to a crawl. Is there a way (formula or otherwise), to eliminate the - in my cell? Thanks! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If those cells are blank, the "-" is a "0"... check to see if you have it set
to show zero values.... "Chuck Neal" wrote: I have the following formula in cell D1. =IF(A1=C1,B1," ") It is possible that cells A1 and C1 could be blank. When that happens, the formula returns a "-" in D1. Normally I would use the Autofilter and delete these, however, I am using a macro and using the Autofilter slows it down to a crawl. Is there a way (formula or otherwise), to eliminate the - in my cell? Thanks! |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
It sounds like B1 is blank, and you have the format set to show 0 as -. You
can either change the format or change the formula to check for the blank B1 (so it doesn't try and output 0). General;-General; or =IF((C1<A1)+ISBLANK(B1)," ",B1) "Chuck Neal" wrote: I have the following formula in cell D1. =IF(A1=C1,B1," ") It is possible that cells A1 and C1 could be blank. When that happens, the formula returns a "-" in D1. Normally I would use the Autofilter and delete these, however, I am using a macro and using the Autofilter slows it down to a crawl. Is there a way (formula or otherwise), to eliminate the - in my cell? Thanks! |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks Sloth. The Formula worked. I've been working on this for two
days...so I REALLY appreciate the help. Chuck "Sloth" wrote: It sounds like B1 is blank, and you have the format set to show 0 as -. You can either change the format or change the formula to check for the blank B1 (so it doesn't try and output 0). General;-General; or =IF((C1<A1)+ISBLANK(B1)," ",B1) "Chuck Neal" wrote: I have the following formula in cell D1. =IF(A1=C1,B1," ") It is possible that cells A1 and C1 could be blank. When that happens, the formula returns a "-" in D1. Normally I would use the Autofilter and delete these, however, I am using a macro and using the Autofilter slows it down to a crawl. Is there a way (formula or otherwise), to eliminate the - in my cell? Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
excel | Excel Worksheet Functions | |||
I NEED HELP with the SPELLNUMBER Function | Excel Worksheet Functions | |||
EXCEL:NUMBER TO GREEK WORDS | Excel Worksheet Functions | |||
Amount or Numbers in Words | New Users to Excel | |||
Spellnumber | Excel Worksheet Functions |