#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Copy & Paste Issue

I want to copy and paste a row of numbers but want to cut off the last couple
of digits and then format a certain way. Is this possible?

example: 123456789 copy and paste to new row as 123-456


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Copy & Paste Issue

The easiest way is to create a formula like the one below. the copy the
formula down the entire row.

=LEFT(D13,3)&"-"&MID(D13,4,3)

You can convert the formula to text by copy the range of cells and using
paste special with values checked.

"carrera0000" wrote:

I want to copy and paste a row of numbers but want to cut off the last couple
of digits and then format a certain way. Is this possible?

example: 123456789 copy and paste to new row as 123-456


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Copy & Paste Issue

=TEXT(LEFT(A1,6),"000-000")

if you want these as real numbers use

=--LEFT(A1,6)


and use a custom format of 000-000



--
Regards,

Peo Sjoblom



"carrera0000" wrote in message
...
I want to copy and paste a row of numbers but want to cut off the last
couple
of digits and then format a certain way. Is this possible?

example: 123456789 copy and paste to new row as 123-456




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Copy & Paste Issue

Thanks!

"Peo Sjoblom" wrote:

=TEXT(LEFT(A1,6),"000-000")

if you want these as real numbers use

=--LEFT(A1,6)


and use a custom format of 000-000



--
Regards,

Peo Sjoblom



"carrera0000" wrote in message
...
I want to copy and paste a row of numbers but want to cut off the last
couple
of digits and then format a certain way. Is this possible?

example: 123456789 copy and paste to new row as 123-456





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
Date Cut & Paste Issue Sweepea Excel Discussion (Misc queries) 8 October 28th 09 07:20 PM
Copy Paste issue amwebber Excel Worksheet Functions 3 October 31st 06 02:08 AM
Issue with copy/paste dates from filtered data deacs Excel Discussion (Misc queries) 3 January 5th 06 03:09 PM
Issue with copy & paste? Etrnal168 Excel Discussion (Misc queries) 2 July 12th 05 03:35 AM
Edit Paste Issue pwlyons Excel Discussion (Misc queries) 1 July 9th 05 03:38 AM


All times are GMT +1. The time now is 11:06 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"