![]() |
#1
|
|||
|
|||
![]()
So I am using web query to import data from a web source. These are all either doctors, or facilities. The doctors's names are all imported with last name then first name, ex: SMITH, JOHN. Facilities are not the problem. I want to create an IF statement that will recognize the comma between the last and first name, and then if there is one (because there's only a comma in the doctors's names, not the facilities) to add DR. before the name.
I am then mail merging this to a letter. So maybe it (the word "DR." )doesn't necessarily need to be in the same cell as the doctors's name. Thanks for checking this out! Maybe something like this: =IF(ISNUMBER(SEARCH("*dog*",A1)),"dog","") Last edited by themangoagent; 08-17-2009 at 09:59 AM. Reason: Found an IF statement that might work? |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
bunnygum | Excel | 1 | 03-24-2009 05:10 AM |
Auto-populate an MS Word table cell with text from a diff cell? | dreamrthts | Word Tables | 0 | 03-20-2009 01:49 PM |
Templates: automatic text generation from Rich Text content control | Chickenmunga | Word | 0 | 10-01-2008 11:16 AM |
Help - Word adds secret code? Copy to notepad? | andytaylor2006 | Word | 0 | 12-15-2006 11:00 PM |
![]() |
heron | Word | 1 | 12-06-2005 02:37 AM |