Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Copy and pasted numbers not acting like numbers

Simply put, I have copied a column of numbers from one program into an excel
spreadsheet. Most of the time this works just fine, but this time, in order
to preserve text formatting in one of the columns, I set the destination
cells to a text format, then pasted the numbers. They will not add and
formulas referencing the cells evaluating to a non-formula string.

If I set Text Format after the paste, this problem does not occur. No
amount of format reset seems to restore the preformatted cells to a useful
state. Manually keying in new numbers works, but cut and paste seems like,
on the surface, such a useful tool.

My question is not how to work around this. I have already done that. As a
matter of curiousity, I would like to know what is going on here that these
values become unusable.

Thank you,

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Copy and pasted numbers not acting like numbers

When you preset the format of the cells to text, XL then stores all the
information as text. Unfortunately, "numbers" that are stored as text lose
much of their usability in functions, (just like ="Tom"*4 does not make
mathematical sense) hence the reason XL will try to keep you from storing
numbers as text.

However, as you saw in the 2nd instance when you laoded information, and
then converted to text, XL is smart enough to say "Hey, I already have this
information as a number. I'm not going to change it to text" and so while it
will appear to left-align (by default) as text would, it's still stored as a
number.

A trick you can use sometimes, is if you allow the little green error
triangle to appear, is when you see numbers sotred as text, select all the
cells with the active cell being one of your numbers. You can now click on
the error dropdown and select "Convert to number".

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"mklapp" wrote:

Simply put, I have copied a column of numbers from one program into an excel
spreadsheet. Most of the time this works just fine, but this time, in order
to preserve text formatting in one of the columns, I set the destination
cells to a text format, then pasted the numbers. They will not add and
formulas referencing the cells evaluating to a non-formula string.

If I set Text Format after the paste, this problem does not occur. No
amount of format reset seems to restore the preformatted cells to a useful
state. Manually keying in new numbers works, but cut and paste seems like,
on the surface, such a useful tool.

My question is not how to work around this. I have already done that. As a
matter of curiousity, I would like to know what is going on here that these
values become unusable.

Thank you,

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
Numbers acting like text [email protected] Excel Discussion (Misc queries) 3 January 26th 07 12:08 PM
copy numbers from numbers+text cell Henk Excel Worksheet Functions 3 August 11th 06 02:48 PM
Why do pivot tables not read numbers that are copied and pasted B_4j Excel Discussion (Misc queries) 1 June 23rd 05 11:10 PM
Help: Pasted red numbers turn black Al Charts and Charting in Excel 2 January 19th 05 11:57 PM
How can I keep leading 0's in pasted numbers? imoux1 Excel Discussion (Misc queries) 2 January 18th 05 05:41 PM


All times are GMT +1. The time now is 05:53 PM.

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"