Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default removing specific data from fields

If you have data rows with 102 characters and from position 1 to 13
was unit number, 14 to 25 was description, 26 to 32 was price etc, how
would you pull the price out of the field and place it in it's own
column with the correct format (inserting a comma at the correct place
eg. 12,95)

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 196
Default removing specific data from fields

Hi Splat

Something like:

=--MID(A1,26,7)

and format the formula cell with the correct format (via
FormatCellsNumber tab).

The Mid extracts 7 characters from starting position 26. The double
minus converts the string to a numeric value.

Hope this helps!

Richard

On 29 Jan, 06:59, "splat" wrote:
If you have data rows with 102 characters and from position 1 to 13
was unit number, 14 to 25 was description, 26 to 32 was price etc, how
would you pull the price out of the field and place it in it's own
column with the correct format (inserting a comma at the correct place
eg. 12,95)


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default removing specific data from fields

Thanks Richard!



On Jan 29, 10:53 am, "RichardSchollar"
wrote:
Hi Splat

Something like:

=--MID(A1,26,7)

and format the formula cell with the correct format (via
FormatCellsNumber tab).

The Mid extracts 7 characters from starting position 26. The double
minus converts the string to a numeric value.

Hope this helps!

Richard

On 29 Jan, 06:59, "splat" wrote:



If you have data rows with 102 characters and from position 1 to 13
was unit number, 14 to 25 was description, 26 to 32 was price etc, how
would you pull the price out of the field and place it in it's own
column with the correct format (inserting a comma at the correct place
eg. 12,95)- Hide quoted text -- Show quoted text -


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default removing specific data from fields

Belated reply (especially since I am reading this offline) as you
already have a working solution, but this would seem to be the perfect
situation for data/text to columns and then use fixed width to seperate the
fields.

--
Kevin Vaughn
www.klvaughn.com


"splat" wrote in message
ups.com...
Thanks Richard!



On Jan 29, 10:53 am, "RichardSchollar"
wrote:
Hi Splat

Something like:

=--MID(A1,26,7)

and format the formula cell with the correct format (via
FormatCellsNumber tab).

The Mid extracts 7 characters from starting position 26. The double
minus converts the string to a numeric value.

Hope this helps!

Richard

On 29 Jan, 06:59, "splat" wrote:



If you have data rows with 102 characters and from position 1 to 13
was unit number, 14 to 25 was description, 26 to 32 was price etc, how
would you pull the price out of the field and place it in it's own
column with the correct format (inserting a comma at the correct place
eg. 12,95)- Hide quoted text -- Show quoted text -




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
Inserting a new line when external data changes Rental Man Excel Discussion (Misc queries) 0 January 11th 06 07:05 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
Printing data validation scenarios SJC Excel Worksheet Functions 14 July 24th 05 12:43 AM
Sort pages? David Excel Discussion (Misc queries) 15 May 13th 05 11:33 PM
Removing specific data from a bar chart Tony Charts and Charting in Excel 2 March 4th 05 03:44 PM


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