PROBLEM: How to delete the contents of cells so that keyboard short cuts like SHIFT+CTL+DOWN ARROW work normally, like as if the cells were truly empty.
If cells A1 and B1 contain the values Hello & World respectively and the rest of the cells in columns A & B are empty until I get to row 10 where A10 and B10 contain the values Goodbye & World respectively, then if I select cell A1 AND press CTL+SHIFT+RightArrow key cells A1: B1 are selected. If I keep CFTL+SHIFT held and press the Down Arrow key the selected range goes to A1:B10 because every cell between A2:B9 are empty. If Cell B5 had something in it then the select range would instead be A1:B5. I am detailing this so my request makes sense; why I'm asking what I am.
I have around 200K+ rows where columns A & B previously contained an IF() formula that would either return the contents of another cell or "" like this =IF(A1<>"",A1,"") . I selected all the cells in columns A & B and did a COPY and PASTE with VALUES ONLY to then get rid of the formulas which worked however the cells where the IF() returned "" still contained something so that the above keyboard short cuts don't work. I call these ghost cells because they don't really have anything in them but excel acts like they do.
If I manually select a range of these ghost cells and do a delete then the keyboard shortcuts work but I need to do that for 200K+ rows and it's not contiguous meaning I can't just select A1:B200000 and press delete because some rows within that range do have values.
I need some way to locate all these ghost cells so I can then do a single delete to get rid of whatever it is in those cells that prevents the keyboard shortcuts from working. If no excel functionality can do it I'm open to doing it using VBA in Excel. I do hope I have accurately explained the problem.
Thanks in advance
If cells A1 and B1 contain the values Hello & World respectively and the rest of the cells in columns A & B are empty until I get to row 10 where A10 and B10 contain the values Goodbye & World respectively, then if I select cell A1 AND press CTL+SHIFT+RightArrow key cells A1: B1 are selected. If I keep CFTL+SHIFT held and press the Down Arrow key the selected range goes to A1:B10 because every cell between A2:B9 are empty. If Cell B5 had something in it then the select range would instead be A1:B5. I am detailing this so my request makes sense; why I'm asking what I am.
I have around 200K+ rows where columns A & B previously contained an IF() formula that would either return the contents of another cell or "" like this =IF(A1<>"",A1,"") . I selected all the cells in columns A & B and did a COPY and PASTE with VALUES ONLY to then get rid of the formulas which worked however the cells where the IF() returned "" still contained something so that the above keyboard short cuts don't work. I call these ghost cells because they don't really have anything in them but excel acts like they do.
If I manually select a range of these ghost cells and do a delete then the keyboard shortcuts work but I need to do that for 200K+ rows and it's not contiguous meaning I can't just select A1:B200000 and press delete because some rows within that range do have values.
I need some way to locate all these ghost cells so I can then do a single delete to get rid of whatever it is in those cells that prevents the keyboard shortcuts from working. If no excel functionality can do it I'm open to doing it using VBA in Excel. I do hope I have accurately explained the problem.
Thanks in advance