A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Parsing Information from a Cell



 
 
Thread Tools Display Modes
  #1  
Old March 5th, 2010, 04:11 PM posted to microsoft.public.excel.worksheet.functions
Ken
external usenet poster
 
Posts: 954
Default Parsing Information from a Cell

I have a long list of supplies in Column A. In Column B it shows the range of
their cost ... for example, "79.99 - 89.99". I would like Column C to only
include the low end (79.99) of the cost and Column D to show only the upper
end (89.99). Is their a formula I can type in Columns C & D to extract this
information from Colume B? Each item in Column B is formatted the same way
.... the low price followed by " - " then the upper price. Thanks!
--
Ken
  #3  
Old March 5th, 2010, 04:35 PM posted to microsoft.public.excel.worksheet.functions
Fred Smith[_4_]
external usenet poster
 
Posts: 2,386
Default Parsing Information from a Cell

The formula in C would be:
=--LEFT(B1,FIND("-",B1)-1)
In D;
=--MID(B1,FIND("-",B1)+1,99)

Another option is to use Text-to-Columns with the dash (-) as the delimiter.

Regards,
Fred

"Ken" wrote in message
...
I have a long list of supplies in Column A. In Column B it shows the range
of
their cost ... for example, "79.99 - 89.99". I would like Column C to only
include the low end (79.99) of the cost and Column D to show only the
upper
end (89.99). Is their a formula I can type in Columns C & D to extract
this
information from Colume B? Each item in Column B is formatted the same way
... the low price followed by " - " then the upper price. Thanks!
--
Ken


  #4  
Old March 12th, 2010, 04:06 PM posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_]
external usenet poster
 
Posts: 1,764
Default Parsing Information from a Cell

Hi,

You may use Data Text to columns. Give the delimited as space and check
the box for other (in the small box, type -


"Ken" wrote in message
...
I have a long list of supplies in Column A. In Column B it shows the range
of
their cost ... for example, "79.99 - 89.99". I would like Column C to only
include the low end (79.99) of the cost and Column D to show only the
upper
end (89.99). Is their a formula I can type in Columns C & D to extract
this
information from Colume B? Each item in Column B is formatted the same way
... the low price followed by " - " then the upper price. Thanks!
--
Ken


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:08 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.