Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jdd
 
Posts: n/a
Default Selectively Clearing cell contents

I am using Excel 97, and I frequently use if statements that put a blank
(i.e. "") in the cell display when the statement is true or in some cases
when it is false. If I copy the column and paste special/values, the cells
that had the "", even though they look blank and no longer contain a formula,
they still are not completely empty in that a control down arrow goes to the
total end of the array instead of to the next "non-blank" cell. If I do a
clear contents on the "blank" cells, then control down arrow goes to the
correct, next non-blank cell. How can I automate clearing the contents of
the "blank" cells without clearing the contents of the non-blank cells I am
trying to preserve?? Is there a workshhet function that can perform an
action, like clear contents, on an adjacent cell, or does this have to be a
VB subroutine??
--
Thanks for your help. JDD 20060421
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson
 
Posts: n/a
Default Selectively Clearing cell contents

You can clean it up manually if you want.

Saved from a previous post:

If you want to see what's left in that cell after you convert ="" to values,
try:
Tools|Options|Transition Tab
Toggle Transition Navigation keys on.

Then select on of those cells and look at the formula bar. You'll see an
apostrophe. (Don't forget to toggle the setting to off.)

When I want to clean up this detritus, I do this:

Select the range (ctrl-a a few times to select all the cells)
Edit|Replace
what: (leave blank)
with: $$$$$
replace all

Immediately followed by:
Edit|Replace
what: $$$$$
with: (leave blank)
replace all

If you need to do this lots, you can record a macro when you do it manually.

jdd wrote:

I am using Excel 97, and I frequently use if statements that put a blank
(i.e. "") in the cell display when the statement is true or in some cases
when it is false. If I copy the column and paste special/values, the cells
that had the "", even though they look blank and no longer contain a formula,
they still are not completely empty in that a control down arrow goes to the
total end of the array instead of to the next "non-blank" cell. If I do a
clear contents on the "blank" cells, then control down arrow goes to the
correct, next non-blank cell. How can I automate clearing the contents of
the "blank" cells without clearing the contents of the non-blank cells I am
trying to preserve?? Is there a workshhet function that can perform an
action, like clear contents, on an adjacent cell, or does this have to be a
VB subroutine??
--
Thanks for your help. JDD 20060421


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jdd
 
Posts: n/a
Default Selectively Clearing cell contents

Thanks Dave, I'll try that in the morning.
--
Thanks for your help. JDD


"Dave Peterson" wrote:

You can clean it up manually if you want.

Saved from a previous post:

If you want to see what's left in that cell after you convert ="" to values,
try:
Tools|Options|Transition Tab
Toggle Transition Navigation keys on.

Then select on of those cells and look at the formula bar. You'll see an
apostrophe. (Don't forget to toggle the setting to off.)

When I want to clean up this detritus, I do this:

Select the range (ctrl-a a few times to select all the cells)
Edit|Replace
what: (leave blank)
with: $$$$$
replace all

Immediately followed by:
Edit|Replace
what: $$$$$
with: (leave blank)
replace all

If you need to do this lots, you can record a macro when you do it manually.

jdd wrote:

I am using Excel 97, and I frequently use if statements that put a blank
(i.e. "") in the cell display when the statement is true or in some cases
when it is false. If I copy the column and paste special/values, the cells
that had the "", even though they look blank and no longer contain a formula,
they still are not completely empty in that a control down arrow goes to the
total end of the array instead of to the next "non-blank" cell. If I do a
clear contents on the "blank" cells, then control down arrow goes to the
correct, next non-blank cell. How can I automate clearing the contents of
the "blank" cells without clearing the contents of the non-blank cells I am
trying to preserve?? Is there a workshhet function that can perform an
action, like clear contents, on an adjacent cell, or does this have to be a
VB subroutine??
--
Thanks for your help. JDD 20060421


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
separating numbers and letters from alphanumeric cell contents PH Excel Worksheet Functions 10 September 3rd 05 12:15 PM
Conversion of Cell Contents into a Functional Worksheet name ? GMJT Excel Worksheet Functions 1 August 21st 05 04:59 PM
How do I find the contents of a cell using the "ADDRESS" function. sweeney Excel Worksheet Functions 2 April 5th 05 03:23 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 11:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"