Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Parsing data in a cell
 
Posts: n/a
Default lookup within a cell

I have data in a cell that looks like this ".287/.289". I want to parse out
the data in the next two adjcent cells. The number .287 in the next column
and .289 in the column after that. Any ideas?
  #2   Report Post  
Bill Kuunders
 
Posts: n/a
Default

=LEFT(A1,4) and =Right(A1,4)
these cells will be in text format
if you need to calculate insert columns with =C1*1 for instance to convert
to numbers

Greetings from New Zealand
Bill K
"Parsing data in a cell" <Parsing data in a
wrote in message ...
I have data in a cell that looks like this ".287/.289". I want to parse
out
the data in the next two adjcent cells. The number .287 in the next
column
and .289 in the column after that. Any ideas?



  #3   Report Post  
Alan
 
Posts: n/a
Default

One way,
With the data in A1, in B1
=LEFT(A1,FIND("/",A1)-1)
in C1
=RIGHT(A1,LEN(A1)-FIND("/",A1))
Regards,
Alan
"Parsing data in a cell" <Parsing data in a
wrote in message ...
I have data in a cell that looks like this ".287/.289". I want to parse
out
the data in the next two adjcent cells. The number .287 in the next
column
and .289 in the column after that. Any ideas?



  #4   Report Post  
Sandy Mann
 
Posts: n/a
Default

Try using Data Text to Columns... and use a forward slash as the
deliminator in step 2 and in the 3rd step select the adjacent cell.


HTH

Sandy


"Parsing data in a cell" <Parsing data in a
wrote in message ...
I have data in a cell that looks like this ".287/.289". I want to parse

out
the data in the next two adjcent cells. The number .287 in the next

column
and .289 in the column after that. Any ideas?



  #5   Report Post  
Alan
 
Posts: n/a
Default

I was assuming that not all the data would consist of three decimal places,
some would be more or less. Bill is right though, this will return text
which is not conducive to reliable calculation. To convert to numbers,
change to,
=LEFT(A1,FIND("/",A1)-1)*1
and
=RIGHT(A1,LEN(A1)-FIND("/",A1))*1
Regards,
Alan.
"Alan" wrote in message
...
One way,
With the data in A1, in B1
=LEFT(A1,FIND("/",A1)-1)
in C1
=RIGHT(A1,LEN(A1)-FIND("/",A1))
Regards,
Alan
"Parsing data in a cell" <Parsing data in a
wrote in message
...
I have data in a cell that looks like this ".287/.289". I want to parse
out
the data in the next two adjcent cells. The number .287 in the next
column
and .289 in the column after that. Any ideas?







  #6   Report Post  
Bill Kuunders
 
Posts: n/a
Default

Thanks Sandy
Learning every day.
Never worked with the text to columns.
Bill K

"Sandy Mann" wrote in message
...
Try using Data Text to Columns... and use a forward slash as the
deliminator in step 2 and in the 3rd step select the adjacent cell.


HTH

Sandy


"Parsing data in a cell" <Parsing data in a

wrote in message
...
I have data in a cell that looks like this ".287/.289". I want to parse

out
the data in the next two adjcent cells. The number .287 in the next

column
and .289 in the column after that. Any ideas?





  #7   Report Post  
Sandy Mann
 
Posts: n/a
Default

You're welcome Bill.

Learning every day.

Aren't we all


"Bill Kuunders" wrote in message
...
Thanks Sandy
Learning every day.
Never worked with the text to columns.
Bill K

"Sandy Mann" wrote in message
...
Try using Data Text to Columns... and use a forward slash as the
deliminator in step 2 and in the 3rd step select the adjacent cell.


HTH

Sandy


"Parsing data in a cell" <Parsing data in a

wrote in message
...
I have data in a cell that looks like this ".287/.289". I want to

parse
out
the data in the next two adjcent cells. The number .287 in the next

column
and .289 in the column after that. Any ideas?









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
Syntax for inferred cell references donesquire Excel Worksheet Functions 4 April 4th 05 09:29 PM
How can I do a lookup to a specific cell on multiple worksheets? Ray Stubblefield Excel Worksheet Functions 6 March 4th 05 12:43 PM
How do I use a cell as a referance to a file in a lookup statemen. SarahP Excel Worksheet Functions 1 January 27th 05 11:09 PM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM
VLookup resulting in a blank cell... KempensBoerke Excel Worksheet Functions 1 October 28th 04 09:57 PM


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