Welcome to Windows Help!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

EXCEL 2003 paste special and go to specil misfunction

 
   Windows Help (Home) -> Microsoft Excel RSS
Next:  fill blank cells in a column  
Author Message
Jack

External


Since: Nov 21, 2008
Posts: 2



(Msg. 1) Posted: Fri Nov 21, 2008 6:36 am
Post subject: EXCEL 2003 paste special and go to specil misfunction
Archived from groups: microsoft>public>excel (more info?)

Hello to everybody,
I noticed that if I use the "paste special - values" function to, say, paste
three cells with a formula behind and just one value displaying, your result
would be to obtain two blank cells and a cell with a value on it.
The problem is, the cell isn't completely blank. In fact, using the "got to
special" function (from menu "edit - go (F5) - special") and I selecting the
option "blank cell" I don't get back back a selection of the two "blank"
cells I was expecting of.

The problem (that I couldn't actually find on the web) is that there is a
sort of a hidden formula in these "blank" cells.

Thanks in advise.

 >> Stay informed about: EXCEL 2003 paste special and go to specil misfunction 
Back to top
Login to vote
Shane Devenshire

External


Since: Nov 13, 2008
Posts: 17



(Msg. 2) Posted: Fri Nov 21, 2008 9:33 am
Post subject: RE: EXCEL 2003 paste special and go to specil misfunction
Archived from groups: per prev. post (more info?)

Hi,

One way to handle this is to change the original formula from something like
this
=IF(A1>10,A1,"")
to read something like
=IF(A1>10,A1," ")
note the space

Then after the paste values command, press Ctrl+H and press spacebar in the
Find what box and enter nothing in the Replace with box. Choose the More
option of Entire cell contents, then Replace All.

If this helps, please clich the Yes button

cheers,
Shane Devenshire

"Jack" wrote:

> Hello to everybody,
> I noticed that if I use the "paste special - values" function to, say, paste
> three cells with a formula behind and just one value displaying, your result
> would be to obtain two blank cells and a cell with a value on it.
> The problem is, the cell isn't completely blank. In fact, using the "got to
> special" function (from menu "edit - go (F5) - special") and I selecting the
> option "blank cell" I don't get back back a selection of the two "blank"
> cells I was expecting of.
>
> The problem (that I couldn't actually find on the web) is that there is a
> sort of a hidden formula in these "blank" cells.
>
> Thanks in advise.

 >> Stay informed about: EXCEL 2003 paste special and go to specil misfunction 
Back to top
Login to vote
Jim Rech

External


Since: Oct 25, 2008
Posts: 2



(Msg. 3) Posted: Fri Nov 21, 2008 10:17 am
Post subject: Re: EXCEL 2003 paste special and go to specil misfunction
Archived from groups: per prev. post (more info?)

Yes it's true that if you paste special, values a formula that returns
nothing like ="" you get what is called a "null cell". They re annoying but
you cannot change Excel's behavior. I wrote a macro some years ago that
deletes nulls in the selected range:

Sub ClearNullsInSelection()
Dim CurrCell As Range, CurrCol As Range
Dim EraseRg As Range
Dim NullCounter As Long
For Each CurrCol In Selection.Columns
Application.StatusBar = "Doing column " & CurrCol.Address
For Each CurrCell In CurrCol.SpecialCells(xlCellTypeConstants)
If Len(CurrCell.Formula) = 0 And Not IsEmpty(CurrCell) Then
NullCounter = NullCounter + 1
If EraseRg Is Nothing Then
Set EraseRg = CurrCell
Else
Set EraseRg = Union(EraseRg, CurrCell)
End If
End If
Next
If Not EraseRg Is Nothing Then
EraseRg.ClearContents
Set EraseRg = Nothing
End If
Next
Application.StatusBar = False
If NullCounter > 0 Then
MsgBox NullCounter & " null cells cleared"
Else
MsgBox "No null cells found"
End If
End Sub
 >> Stay informed about: EXCEL 2003 paste special and go to specil misfunction 
Back to top
Login to vote
Dave Peterson

External


Since: Nov 21, 2008
Posts: 3



(Msg. 4) Posted: Fri Nov 21, 2008 10:40 am
Post subject: Re: EXCEL 2003 paste special and go to specil misfunction [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Just to add to Jim's response:

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 one 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

In code you could do something like:

Option Explicit
Sub testme()
With ActiveSheet
With .cells 'or a specific range: With .Range("DVery Happy")
.Replace what:="", replacement:="$$$$$", LookAt:=xlWhole, _
SearchOrder:=xlByRows, MatchCase:=False
.Replace what:="$$$$$", replacement:="", LookAt:=xlWhole, _
SearchOrder:=xlByRows, MatchCase:=False
End With
End With
End Sub

Jack wrote:
>
> Hello to everybody,
> I noticed that if I use the "paste special - values" function to, say, paste
> three cells with a formula behind and just one value displaying, your result
> would be to obtain two blank cells and a cell with a value on it.
> The problem is, the cell isn't completely blank. In fact, using the "got to
> special" function (from menu "edit - go (F5) - special") and I selecting the
> option "blank cell" I don't get back back a selection of the two "blank"
> cells I was expecting of.
>
> The problem (that I couldn't actually find on the web) is that there is a
> sort of a hidden formula in these "blank" cells.
>
> Thanks in advise.

--

Dave Peterson
 >> Stay informed about: EXCEL 2003 paste special and go to specil misfunction 
Back to top
Login to vote
Dave Peterson

External


Since: Oct 17, 2008
Posts: 38



(Msg. 5) Posted: Fri Nov 21, 2008 12:15 pm
Post subject: Re: EXCEL 2003 paste special and go to specil misfunction [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Just a variation...

When I know I'm going to convert my formulas to values and I don't want that
junk left behind, I'll use a variation of Shane's formula:

=if(a1>10,a1,na())

Those #N/A's are impossible to ignore (so I won't forget).

Shane Devenshire wrote:
>
> Hi,
>
> One way to handle this is to change the original formula from something like
> this
> =IF(A1>10,A1,"")
> to read something like
> =IF(A1>10,A1," ")
> note the space
>
> Then after the paste values command, press Ctrl+H and press spacebar in the
> Find what box and enter nothing in the Replace with box. Choose the More
> option of Entire cell contents, then Replace All.
>
> If this helps, please clich the Yes button
>
> cheers,
> Shane Devenshire
>
> "Jack" wrote:
>
> > Hello to everybody,
> > I noticed that if I use the "paste special - values" function to, say, paste
> > three cells with a formula behind and just one value displaying, your result
> > would be to obtain two blank cells and a cell with a value on it.
> > The problem is, the cell isn't completely blank. In fact, using the "got to
> > special" function (from menu "edit - go (F5) - special") and I selecting the
> > option "blank cell" I don't get back back a selection of the two "blank"
> > cells I was expecting of.
> >
> > The problem (that I couldn't actually find on the web) is that there is a
> > sort of a hidden formula in these "blank" cells.
> >
> > Thanks in advise.
 >> Stay informed about: EXCEL 2003 paste special and go to specil misfunction 
Back to top
Login to vote
Jack

External


Since: Nov 21, 2008
Posts: 2



(Msg. 6) Posted: Mon Nov 24, 2008 9:25 am
Post subject: RE: EXCEL 2003 paste special and go to specil misfunction [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thank u all very much, as soon as I try all of them i'll give u my feedback
(if u want it Smile)
 >> Stay informed about: EXCEL 2003 paste special and go to specil misfunction 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Macro for 'Paste Special' - Is there a way to set a macro up so that perform a 'paste special' into whatever cell is currently highlited? Thanks in advance.

Excel 2007 - Paste picture link does not print - I have a 2003 spreadsheet with a pasted picture link on one worksheet showing data from another worksheet. Trying this same setup in excel 2007 - the print preview and print does not print the pasted link picture. I have used the camera tool, paste as....

Excel 2003 toolbars in Excel 2007 - I have used Excel 2003 for years and have made a rather heavy customization by defining new toolbars with buttons calling VBA. Unfortunately, with Excel 2007 toolbars no longer exist! Gates and his gang of developers have decided that we all have to..

Excel 2003 - VBA - .copy - I want to copy a range from one page to another. I seem that I have to have the sheet that I am copying from as the activesheet. Sheets("Display").Select Sheets("PPO").Range(Cells(3, 2), Cells(3, NumSym + 1)).Copy Sheets(...

Lotus 1-2-3 file with Excel 2003 - We could always open Lotus 1-2-3 file with Excel 2003. However, now I get a message saying " You are attempting to open a file type that is blocked by your registry policy settings." Microsoft's solution..
   Windows Help (Home) -> Microsoft Excel All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]