Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Craig Fletcher
 
Posts: n/a
Default cell format: numbers won't be numbers

I have some data that I copied out from a webpage (a credit card summary)
which I have since added several other columns around it (i.e., I would much
rather not have to paste it again) and the numbers won't act like numbers.
I've tried copying them out, and doing "paste special" into a new worksheet
with all of the different "paste special" options, and I have also tried all
of the formatting options (currency, numbers, etc.) and still they will not
be treated as numbers by Excel.

Is there anything else I can try?

Thanks,
Craig


  #2   Report Post  
Posted to microsoft.public.excel.misc
kassie
 
Posts: n/a
Default cell format: numbers won't be numbers

Insert a 1 in an unused cell. Press <Ctrl<C. Now select the range where
your numbers are not treated as numbers, then right click, select Paste
Special, and tick the Multiply option.

"Craig Fletcher" wrote:

I have some data that I copied out from a webpage (a credit card summary)
which I have since added several other columns around it (i.e., I would much
rather not have to paste it again) and the numbers won't act like numbers.
I've tried copying them out, and doing "paste special" into a new worksheet
with all of the different "paste special" options, and I have also tried all
of the formatting options (currency, numbers, etc.) and still they will not
be treated as numbers by Excel.

Is there anything else I can try?

Thanks,
Craig



  #3   Report Post  
Posted to microsoft.public.excel.misc
Craig Fletcher
 
Posts: n/a
Default cell format: numbers won't be numbers

Thank you, that was a crafty idea, but alas, it did not work. <sigh any
other ideas?

"kassie" wrote in message
...
Insert a 1 in an unused cell. Press <Ctrl<C. Now select the range
where
your numbers are not treated as numbers, then right click, select Paste
Special, and tick the Multiply option.

"Craig Fletcher" wrote:

I have some data that I copied out from a webpage (a credit card summary)
which I have since added several other columns around it (i.e., I would
much
rather not have to paste it again) and the numbers won't act like
numbers.
I've tried copying them out, and doing "paste special" into a new
worksheet
with all of the different "paste special" options, and I have also tried
all
of the formatting options (currency, numbers, etc.) and still they will
not
be treated as numbers by Excel.

Is there anything else I can try?

Thanks,
Craig





  #4   Report Post  
Posted to microsoft.public.excel.misc
Gord Dibben
 
Posts: n/a
Default cell format: numbers won't be numbers

Craig

The numbers are probably copied in as text.

Re-formatting alone will not change them.

Try this method...................

Format all cells to General.

Copy an empty cell and selet the "numbers"

Paste SpecialAddOKEsc

That should change the "numbers" into real numerics.

If no joy, there could be spaces before or after the numbers.

These could be non-breaking spaces(160) which can be hard to get rid of.

David McRitchie has a TRIMALL macro that looks for the non-breaking space (160)
along with other crap in cells.

http://www.mvps.org/dmcritchie/excel/join.htm#trimall


Gord Dibben MS Excel MVP

On Mon, 1 May 2006 12:59:00 -0600, "Craig Fletcher"
wrote:

I have some data that I copied out from a webpage (a credit card summary)
which I have since added several other columns around it (i.e., I would much
rather not have to paste it again) and the numbers won't act like numbers.
I've tried copying them out, and doing "paste special" into a new worksheet
with all of the different "paste special" options, and I have also tried all
of the formatting options (currency, numbers, etc.) and still they will not
be treated as numbers by Excel.

Is there anything else I can try?

Thanks,
Craig


Gord Dibben MS Excel MVP
  #5   Report Post  
Posted to microsoft.public.excel.misc
Craig Fletcher
 
Posts: n/a
Default cell format: numbers won't be numbers

Also,

I went to that same site and tried the paste again, and noticed that the
format it wants to paste into Excel with is "General".


"kassie" wrote in message
...
Insert a 1 in an unused cell. Press <Ctrl<C. Now select the range
where
your numbers are not treated as numbers, then right click, select Paste
Special, and tick the Multiply option.

"Craig Fletcher" wrote:

I have some data that I copied out from a webpage (a credit card summary)
which I have since added several other columns around it (i.e., I would
much
rather not have to paste it again) and the numbers won't act like
numbers.
I've tried copying them out, and doing "paste special" into a new
worksheet
with all of the different "paste special" options, and I have also tried
all
of the formatting options (currency, numbers, etc.) and still they will
not
be treated as numbers by Excel.

Is there anything else I can try?

Thanks,
Craig







  #6   Report Post  
Posted to microsoft.public.excel.misc
Craig Fletcher
 
Posts: n/a
Default cell format: numbers won't be numbers

Thanks Gord...

I apologize, but I don't know what you mean by 'copy an empty cell and
select the "numbers", because if the cell is empty, there are no numbers,
right? Please help me understand, I think we are just miscommunicating.

I really appreciate your time


"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Craig

The numbers are probably copied in as text.

Re-formatting alone will not change them.

Try this method...................

Format all cells to General.

Copy an empty cell and selet the "numbers"

Paste SpecialAddOKEsc

That should change the "numbers" into real numerics.

If no joy, there could be spaces before or after the numbers.

These could be non-breaking spaces(160) which can be hard to get rid of.

David McRitchie has a TRIMALL macro that looks for the non-breaking space
(160)
along with other crap in cells.

http://www.mvps.org/dmcritchie/excel/join.htm#trimall


Gord Dibben MS Excel MVP

On Mon, 1 May 2006 12:59:00 -0600, "Craig Fletcher"

wrote:

I have some data that I copied out from a webpage (a credit card summary)
which I have since added several other columns around it (i.e., I would
much
rather not have to paste it again) and the numbers won't act like numbers.
I've tried copying them out, and doing "paste special" into a new
worksheet
with all of the different "paste special" options, and I have also tried
all
of the formatting options (currency, numbers, etc.) and still they will
not
be treated as numbers by Excel.

Is there anything else I can try?

Thanks,
Craig


Gord Dibben MS Excel MVP



  #7   Report Post  
Posted to microsoft.public.excel.misc
Craig Fletcher
 
Posts: n/a
Default cell format: numbers won't be numbers

Ah-ha... the cells I pasted in here do have spaces after the "numbers" (that
won't act like numbers). I tried the TRIM function in Excel but the spaces
won't go away. I'm not very familiar with VB or Macros, but I saw the site
and I am going to try some more.

Thanks for the tip....

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Craig

The numbers are probably copied in as text.

Re-formatting alone will not change them.

Try this method...................

Format all cells to General.

Copy an empty cell and selet the "numbers"

Paste SpecialAddOKEsc

That should change the "numbers" into real numerics.

If no joy, there could be spaces before or after the numbers.

These could be non-breaking spaces(160) which can be hard to get rid of.

David McRitchie has a TRIMALL macro that looks for the non-breaking space
(160)
along with other crap in cells.

http://www.mvps.org/dmcritchie/excel/join.htm#trimall


Gord Dibben MS Excel MVP

On Mon, 1 May 2006 12:59:00 -0600, "Craig Fletcher"

wrote:

I have some data that I copied out from a webpage (a credit card summary)
which I have since added several other columns around it (i.e., I would
much
rather not have to paste it again) and the numbers won't act like numbers.
I've tried copying them out, and doing "paste special" into a new
worksheet
with all of the different "paste special" options, and I have also tried
all
of the formatting options (currency, numbers, etc.) and still they will
not
be treated as numbers by Excel.

Is there anything else I can try?

Thanks,
Craig


Gord Dibben MS Excel MVP



  #8   Report Post  
Posted to microsoft.public.excel.misc
kassie
 
Posts: n/a
Default cell format: numbers won't be numbers

I think you'll have to use Dave McRitchies's tool to fix your text! as
suggested by Gord Dibben! Sounds like you definitely have some spaces in
there.

"Craig Fletcher" wrote:

Also,

I went to that same site and tried the paste again, and noticed that the
format it wants to paste into Excel with is "General".


"kassie" wrote in message
...
Insert a 1 in an unused cell. Press <Ctrl<C. Now select the range
where
your numbers are not treated as numbers, then right click, select Paste
Special, and tick the Multiply option.

"Craig Fletcher" wrote:

I have some data that I copied out from a webpage (a credit card summary)
which I have since added several other columns around it (i.e., I would
much
rather not have to paste it again) and the numbers won't act like
numbers.
I've tried copying them out, and doing "paste special" into a new
worksheet
with all of the different "paste special" options, and I have also tried
all
of the formatting options (currency, numbers, etc.) and still they will
not
be treated as numbers by Excel.

Is there anything else I can try?

Thanks,
Craig






  #9   Report Post  
Posted to microsoft.public.excel.misc
gailann
 
Posts: n/a
Default cell format: numbers won't be numbers


Have you tried DataText to Columns?


--
gailann
------------------------------------------------------------------------
gailann's Profile: http://www.excelforum.com/member.php...o&userid=30798
View this thread: http://www.excelforum.com/showthread...hreadid=537834

  #10   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default cell format: numbers won't be numbers

If you feel comfortable with VBA, you can try:

Sub numerify()
Dim r As Range
Count = 0
For Each r In ActiveSheet.UsedRange
If Application.IsText(r.Value) Then
If IsNumeric(r.Value) Then
r.Value = 1# * r.Value
r.NumberFormat = "General"
Count = Count + 1
End If
End If
Next
MsgBox (Count & " cells changed")
End Sub


--
Gary's Student


"Craig Fletcher" wrote:

Ah-ha... the cells I pasted in here do have spaces after the "numbers" (that
won't act like numbers). I tried the TRIM function in Excel but the spaces
won't go away. I'm not very familiar with VB or Macros, but I saw the site
and I am going to try some more.

Thanks for the tip....

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Craig

The numbers are probably copied in as text.

Re-formatting alone will not change them.

Try this method...................

Format all cells to General.

Copy an empty cell and selet the "numbers"

Paste SpecialAddOKEsc

That should change the "numbers" into real numerics.

If no joy, there could be spaces before or after the numbers.

These could be non-breaking spaces(160) which can be hard to get rid of.

David McRitchie has a TRIMALL macro that looks for the non-breaking space
(160)
along with other crap in cells.

http://www.mvps.org/dmcritchie/excel/join.htm#trimall


Gord Dibben MS Excel MVP

On Mon, 1 May 2006 12:59:00 -0600, "Craig Fletcher"

wrote:

I have some data that I copied out from a webpage (a credit card summary)
which I have since added several other columns around it (i.e., I would
much
rather not have to paste it again) and the numbers won't act like numbers.
I've tried copying them out, and doing "paste special" into a new
worksheet
with all of the different "paste special" options, and I have also tried
all
of the formatting options (currency, numbers, etc.) and still they will
not
be treated as numbers by Excel.

Is there anything else I can try?

Thanks,
Craig


Gord Dibben MS Excel MVP






  #11   Report Post  
Posted to microsoft.public.excel.misc
Craig Fletcher
 
Posts: n/a
Default cell format: numbers won't be numbers

Student O Gary:

This worked great.. I just had to read about how to set up a macro. Good
stuff, thanks much!!

It's weird that TRIM didn't do it, but I don't know enough about this to
understand why.

Craig


"Gary''s Student" wrote in message
...
If you feel comfortable with VBA, you can try:

Sub numerify()
Dim r As Range
Count = 0
For Each r In ActiveSheet.UsedRange
If Application.IsText(r.Value) Then
If IsNumeric(r.Value) Then
r.Value = 1# * r.Value
r.NumberFormat = "General"
Count = Count + 1
End If
End If
Next
MsgBox (Count & " cells changed")
End Sub


--
Gary's Student


"Craig Fletcher" wrote:

Ah-ha... the cells I pasted in here do have spaces after the "numbers"
(that
won't act like numbers). I tried the TRIM function in Excel but the
spaces
won't go away. I'm not very familiar with VB or Macros, but I saw the
site
and I am going to try some more.

Thanks for the tip....

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Craig

The numbers are probably copied in as text.

Re-formatting alone will not change them.

Try this method...................

Format all cells to General.

Copy an empty cell and selet the "numbers"

Paste SpecialAddOKEsc

That should change the "numbers" into real numerics.

If no joy, there could be spaces before or after the numbers.

These could be non-breaking spaces(160) which can be hard to get rid
of.

David McRitchie has a TRIMALL macro that looks for the non-breaking
space
(160)
along with other crap in cells.

http://www.mvps.org/dmcritchie/excel/join.htm#trimall


Gord Dibben MS Excel MVP

On Mon, 1 May 2006 12:59:00 -0600, "Craig Fletcher"

wrote:

I have some data that I copied out from a webpage (a credit card
summary)
which I have since added several other columns around it (i.e., I would
much
rather not have to paste it again) and the numbers won't act like
numbers.
I've tried copying them out, and doing "paste special" into a new
worksheet
with all of the different "paste special" options, and I have also
tried
all
of the formatting options (currency, numbers, etc.) and still they will
not
be treated as numbers by Excel.

Is there anything else I can try?

Thanks,
Craig


Gord Dibben MS Excel MVP






  #12   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default cell format: numbers won't be numbers

You are very welcome.
--
Gary's Student


"Craig Fletcher" wrote:

Student O Gary:

This worked great.. I just had to read about how to set up a macro. Good
stuff, thanks much!!

It's weird that TRIM didn't do it, but I don't know enough about this to
understand why.

Craig


"Gary''s Student" wrote in message
...
If you feel comfortable with VBA, you can try:

Sub numerify()
Dim r As Range
Count = 0
For Each r In ActiveSheet.UsedRange
If Application.IsText(r.Value) Then
If IsNumeric(r.Value) Then
r.Value = 1# * r.Value
r.NumberFormat = "General"
Count = Count + 1
End If
End If
Next
MsgBox (Count & " cells changed")
End Sub


--
Gary's Student


"Craig Fletcher" wrote:

Ah-ha... the cells I pasted in here do have spaces after the "numbers"
(that
won't act like numbers). I tried the TRIM function in Excel but the
spaces
won't go away. I'm not very familiar with VB or Macros, but I saw the
site
and I am going to try some more.

Thanks for the tip....

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Craig

The numbers are probably copied in as text.

Re-formatting alone will not change them.

Try this method...................

Format all cells to General.

Copy an empty cell and selet the "numbers"

Paste SpecialAddOKEsc

That should change the "numbers" into real numerics.

If no joy, there could be spaces before or after the numbers.

These could be non-breaking spaces(160) which can be hard to get rid
of.

David McRitchie has a TRIMALL macro that looks for the non-breaking
space
(160)
along with other crap in cells.

http://www.mvps.org/dmcritchie/excel/join.htm#trimall


Gord Dibben MS Excel MVP

On Mon, 1 May 2006 12:59:00 -0600, "Craig Fletcher"

wrote:

I have some data that I copied out from a webpage (a credit card
summary)
which I have since added several other columns around it (i.e., I would
much
rather not have to paste it again) and the numbers won't act like
numbers.
I've tried copying them out, and doing "paste special" into a new
worksheet
with all of the different "paste special" options, and I have also
tried
all
of the formatting options (currency, numbers, etc.) and still they will
not
be treated as numbers by Excel.

Is there anything else I can try?

Thanks,
Craig


Gord Dibben MS Excel MVP






  #13   Report Post  
Posted to microsoft.public.excel.misc
Gord Dibben
 
Posts: n/a
Default cell format: numbers won't be numbers


Craig

I see from subsequent posts that you got straightened out.

Copy an empty cell means select any empty cell and EditCopy.

Select the numbers means select the range of cells that contain the problem
data.

Then EditPaste SpecialAddOKEsc.


Gord

On Mon, 1 May 2006 13:19:38 -0600, "Craig Fletcher"
wrote:

Thanks Gord...

I apologize, but I don't know what you mean by 'copy an empty cell and
select the "numbers", because if the cell is empty, there are no numbers,
right? Please help me understand, I think we are just miscommunicating.

I really appreciate your time


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
Cell data format falloutx Excel Discussion (Misc queries) 1 February 10th 06 01:46 PM
Format of a cell profG Excel Discussion (Misc queries) 1 January 16th 06 03:02 PM
how do i format a cell in Excel to 3 significant numbers Dave Excel Worksheet Functions 3 January 12th 06 03:21 PM
format a cell for displaying numbers in lakhs naga Excel Discussion (Misc queries) 1 May 6th 05 04:41 PM
How do I format a cell with numbers, text and hyphens Yaya Excel Discussion (Misc queries) 2 March 11th 05 05:33 PM


All times are GMT +1. The time now is 06:59 AM.

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

About Us

"It's about Microsoft Excel"