LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Strip 2 Numbers from a Hyphenated Range

I pulled the following 52-week stock quote range from Yahoo
financials: (8.50 - 11.87). This is in cell A1.
My goal would be to have the 8.50 in cell A2 and the 11.87 in cell A3.

I tried using the left and right formulas, and they work, but I am
trying to avoid a bunch of nested IFs to take into account the many
different sizes of numbers I might have to work with. It could range
from 3-5 digits on either side.

What I am looking for is the formula that would pull the left
characters out up until it hits the hyphen, and actually do a minus
one to get rid of the space between the digit and the hyphen. Ditto on
the right hand side of the range. I appreciate all suggestions.

Thanks
John
 
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 strip just numbers from an alphanumeric cell? Benjamin Excel Worksheet Functions 6 October 6th 09 12:36 AM
Sorting hyphenated numbers Connie Martin Excel Discussion (Misc queries) 5 February 20th 09 12:57 PM
sorting hyphenated numbers punkster Excel Discussion (Misc queries) 3 February 26th 07 04:28 PM
how do I preserve hyphenated words coultwo Excel Discussion (Misc queries) 2 August 31st 06 04:17 AM
How to strip dashes out of numbers in a variable mikeburg[_10_] Excel Programming 6 July 15th 05 09:35 AM


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