Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a range of cells that contains mostly numeric values but some cells
are populated with an alpha dash (-). I would like to clear the contents of only those cells that contain a dash and leave the other cells untouched. Replace won't work because it replaces a dash with an alpha blank cell and the cell contents need to be clear or numeric to perform sumproduct() calculations on them or else it results in a #VALUE! error. Yes, I know I could replace "-" with 0, but I need the cell to be blank (no contents). I assume a macro is required. Any ideas? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to clear contents and put an X | Excel Discussion (Misc queries) | |||
Clear Contents Of Cells Where Value = 0 | Excel Worksheet Functions | |||
Macro to clear contents of unprotected cells AND drop down boxes | Excel Discussion (Misc queries) | |||
HOW DO I PROTECT VALUES WHEN CREATING CLEAR CONTENTS MACRO? | Excel Discussion (Misc queries) | |||
Clear Contents Macro | Excel Worksheet Functions |