Split concatenation

D

Dale G

Hi,
In cell A2, need to take this concatenated text and time string
510n0.240972222222222 and separate it in to cell B2 & C2. The left is the
text which I can get with =LEFT(A2,4) for my desired result of 510n. The
right I need to have in a time format like 5:47 that's where I'm stuck.

Any help is appreciated
 
P

Pete_UK

Try this:

=--RIGHT(A2,LEN(A2)-4)

and format the cell as a time in the format you require.

Hope this helps.

Pete
 
D

Dave Peterson

After you split the value into two cells, try formatting the second column as a
time (like: hh:mm:ss)
 
M

Mike H

Hi,

You could do this and format the cell as time

=MID(A1,FIND(".",A1),LEN(A1))+0

or this

=TEXT(MID(A1,FIND(".",A1),LEN(A1)),"hh:mm")
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.
 
D

Dale G

Thanks everyone for all your help.

I went with this =TEXT(MID(A1,FIND(".",A1),LEN(A1)),"h:mm")

big time saver, thanks again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top