#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Excel VB Question

We are looking to make a VB that will look in one column, and based
upon text found, place a set word in another column.

For example, column B will contain the text "ABC-123 Sheeting - 25ft"
and we need it to place "Docks" in column C. If column B contains
"ADC-234 Decking - 5ft" we need column C to autofill with "Decks".

There would be 3-4 other rules. How would we go about doing this?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Excel VB Question

=IF(B1="ABC-123 Sheeting - 25ft","Docks",IF(B1="ADC-234 Decking -
5ft","Decks","Unknown"))

" wrote:

We are looking to make a VB that will look in one column, and based
upon text found, place a set word in another column.

For example, column B will contain the text "ABC-123 Sheeting - 25ft"
and we need it to place "Docks" in column C. If column B contains
"ADC-234 Decking - 5ft" we need column C to autofill with "Decks".

There would be 3-4 other rules. How would we go about doing this?


Reply
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
Excel question Clare Excel Discussion (Misc queries) 2 October 27th 06 01:15 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
The question is an excel question that I need to figure out howto do in excel. Terry Excel Worksheet Functions 3 January 23rd 06 06:22 PM
New to Excel with Question PaulStroik New Users to Excel 1 June 26th 05 05:00 AM
Statistical Excel Function Question within Excel 2000... Drew H Excel Worksheet Functions 3 October 31st 04 06:55 PM


All times are GMT +1. The time now is 08:33 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"