replacing FIRST NUMBER-SECOND NUMBER with SECOND NUMBER

W

Walter

I am importing basketball stats from another site. No problem until I import
the Free Throws Made/Free Throws Attempted stats. Here each cell contains
two numbers separated by a dash ... for example: 17-24 indicating 17
successful free throws were made out of 24 attempts. Since future
computations involve using only the Free Throws Attempted number, I am
interested in importing only the second number. What process must I go
through to accomplish that? Obviously I am new to Excell and will be most
appreciative of any assistance you can give me.
 
D

Don Guillett

This formula will strip it out
=RIGHT(G17,LEN(G17)-FIND("-",G17))
or you can use data>text to columns>
 
G

Gord Dibben

If you can't get rid of it at the source you can break it out once in Excel.

Try Data>Text to Columns>Delimited by>Other......enter a hyphen>Next

Select the first column and "Do not Import(skip)" and Finish.


Gord Dibben MS Excel MVP
 
W

Walter

Wow ... terrific advice ... many thanks!!
Gord Dibben said:
If you can't get rid of it at the source you can break it out once in Excel.

Try Data>Text to Columns>Delimited by>Other......enter a hyphen>Next

Select the first column and "Do not Import(skip)" and Finish.


Gord Dibben MS Excel MVP
 

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

Top