Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default remove beginning of data

I have one big excel spread sheet like this:
90007569,02:D114-
90007569,03:D115-
90007569,04:D116-
90007569,05:D117-
90007569,06:D041-
90007569,07:F1109-

I need to be removed from the left "90007569, D2:" and last right "-", all
I need it is D114, D115, D116 all the way done, how to write the macro for
this?

Thanks.

Lillian

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default remove beginning of data

You can do it with a simple formula. If your data starts at cell A1,
enter the following in cell B1:

= MID ( A1, 14, LEN (A1) - 14)

Copy this down the column, then use Copy | Edit | Paste Special |
Values | OK and press enter to fix the values. Then you can delete
column A.

Pete

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default remove beginning of data

If data is in A1 then:

=MID(A1,14,LEN(A1)-14) should do it
--
Gary''s Student


"Lillian" wrote:

I have one big excel spread sheet like this:
90007569,02:D114-
90007569,03:D115-
90007569,04:D116-
90007569,05:D117-
90007569,06:D041-
90007569,07:F1109-

I need to be removed from the left "90007569, D2:" and last right "-", all
I need it is D114, D115, D116 all the way done, how to write the macro for
this?

Thanks.

Lillian

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
How do I remove spaces at the beginning of cells? Munkeeric Excel Discussion (Misc queries) 3 January 5th 10 06:39 PM
Remove space at beginning of each name Supe Excel Discussion (Misc queries) 3 February 8th 08 06:19 PM
Remove Spaces beginning Time entry Damon Longworth Excel Discussion (Misc queries) 10 June 19th 05 04:37 PM
How do I remove a blanck space from the beginning of a formula? kan2953 Excel Worksheet Functions 6 April 6th 05 05:38 PM
Remove ' at beginning of cell JB[_2_] Excel Programming 1 April 6th 04 03:07 AM


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