simple cell formating question.

  • Thread starter Thread starter Ewing25
  • Start date Start date
E

Ewing25

Ok so i have a column with cells like this:

Persons name - Number

I want to create soemthing that will automatically change it to this:

Number

there are different names and different numbers so im not sure how to go
about it.

Any help would be great
thanks!
 
=--RIGHT(A2,LEN(A2)-Find("-",A2)-2)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
sorry im not sure where to put that?

If i put it in a cell it just gives me zero and it rejects it in VBA
 

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

Back
Top