Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Putting any formula in A1 makes it non-blank.
That is =ISBLANK(A1) will return FALSE You need VBA: if {condition} then CELLS(1,1) = "TEXT" else CELLS(1,1).Clear endif -- Gary's Student "news.microsoft.com" wrote: How can you clear a cell in a formula? I want something similar to: IF(<SomeCondition,"Text","") But if I use that, and then try to count non-blank cells, the cells where "" was stored are not considered blank. How can I actually make the cell blank in that formula? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Clearing a cell based on the value of another cell (INDIRECT data) without macros | About this forum | |||
Clearing cells without clearing formulas | Excel Discussion (Misc queries) | |||
Clearing a cell | Excel Discussion (Misc queries) | |||
clearing a cell | Excel Discussion (Misc queries) | |||
Clearing a cell | Excel Discussion (Misc queries) |