ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Parsing Information from a Cell (https://www.excelbanter.com/excel-worksheet-functions/258115-parsing-information-cell.html)

Ken

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

Don Guillett[_2_]

Parsing Information from a Cell
 
Look in the help index for FIND and then look for LEFT, RIGHT, MID


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"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



Fred Smith[_4_]

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



Ashish Mathur[_2_]

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




All times are GMT +1. The time now is 03:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com