LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #15   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Extract part of a cell

On Sat, 8 Nov 2008 17:23:01 -0500, "Rick Rothstein"
wrote:

To the OP: This formula would need the double unary in front of it if the
extracted value is to be a number and not text...

=--LEFT(TRIM(MID(A1,FIND("-",A1)+1,99))&" ",
FIND(" ",TRIM(MID(A1,FIND("-",A1)+1,99))&" ")-1)

--
Rick (MVP - Excel)


Again, to the OP: Be aware that the double unary will only work properly for
you if the number in your text string is formatted the same as is expected on
your Windows Regional Settings (in Control Panel). The US uses the dot as a
decimal symbol; and the comma as a digit grouping symbol. In Portuguese these
are reversed.
--ron


 
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
Extract numeric part of alphanumeric cell Sarah (OGI) Excel Worksheet Functions 3 August 1st 07 04:52 PM
Is there a function to extract the URL part of a hyperlink in another cell? Rufus V. Smith Excel Worksheet Functions 4 March 28th 06 06:39 PM
Can I search a cell for a value and extract part of content? Leben Excel Discussion (Misc queries) 1 December 16th 05 09:43 AM
Extract Part of String [email protected] Excel Worksheet Functions 1 June 9th 05 08:33 AM
vlookup to extract part cell content excelFan Excel Discussion (Misc queries) 2 December 5th 04 08:45 AM


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