Right Function ?

scoandr

New Member
Joined
Feb 9, 2005
Messages
47
I have strings of data that include names and addresses. A hyphen separates the name and address. I'm trying to use a combo Find and Right function to extract just the address portion but it doesn't seem to be working. The addresses do vary in terms of the number of numeric characters. I have an example listed below. I'm using Excel 2002.

Stone & Knott - 29819 Sun Will
Doufourt - 10014 Heron Mdws
Doufourt - 10014 Heron Mdws

=RIGHT(F4,FIND("-",F4)-1)

Any assistance or suggestions would be greatly appreciated.

Thanks
Scott
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Scott

Why not try Data>Text to columns... with - as a delimiter?
 
Upvote 0
wow, i feel foolish this morning. Made something easy more difficult then it needed to be. This worked perfect. Thanks.

Scott
 
Upvote 0

Forum statistics

Threads
1,214,861
Messages
6,121,973
Members
449,059
Latest member
oculus

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top