LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Posts: 1
Default Populating cell with string not in workbook

Lets say I have a column of text that looks like the following:

Test_Drive
Testing_Fly
TestTest_Ride

The text to the left of the underscore can be anything. The text to the right of the underscore is always going to be one of the three strings listed. How can I auto populate the next column with other text depending on what follows the underscore? For instance, I might want to auto populate the next column with the following strings that will always match the appropriate text after the undersco

car
plane
train

"car" would always match "Drive", "plane" would always match "Fly", etc. Do I have to have that defined in the worksheet somewhere? Or can I do some kind of IF statement?

Thanks!
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Populating a column by referencing another workbook jay Excel Discussion (Misc queries) 3 September 12th 09 08:13 PM
populating a workbook but not opening it sam Excel Programming 1 July 16th 09 06:37 PM
saving open workbook to text string in cell Andyjim Excel Programming 4 January 25th 08 01:15 PM
Searching in another workbook for a string and returning with the contents of the cell next to it. [email protected] Excel Worksheet Functions 1 January 12th 07 07:50 PM
Populating Excel Web Query across workbook claytorm Excel Discussion (Misc queries) 0 October 25th 05 10:24 PM


All times are GMT +1. The time now is 12:11 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"