Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Bob is offline
external usenet poster
 
Posts: 972
Default Formula to Populate Cells

I've got a column part table - column A is the Part name and Column B is the
Product Category. I add to the part column monthly and would like to have a
formula in column B that if column A contains a specific word that it would
be equal to a part category in column B. I could also have the 8 product
categories in a separate sheet so I could reference them in the formula.


Thanks.
--
Bob
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default Formula to Populate Cells

On Sheet2, create a table with your parts in column A beginning in row 1 and
the corresponding category in column B. Then on your other sheet, use this
formula in B1.

=VLOOKUP(A1,Sheet2!A1:B10,2)

You can adjust the range of A1:B10 as needed.

HTH,
Paul

--

"Bob" wrote in message
...
I've got a column part table - column A is the Part name and Column B is
the
Product Category. I add to the part column monthly and would like to have
a
formula in column B that if column A contains a specific word that it
would
be equal to a part category in column B. I could also have the 8 product
categories in a separate sheet so I could reference them in the formula.


Thanks.
--
Bob



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default Formula to Populate Cells

Forgot to mention. When you create the table on Sheet2, the lookup column
(parts in column A) needs to be in Ascending order.

--

"PCLIVE" wrote in message
...
On Sheet2, create a table with your parts in column A beginning in row 1
and the corresponding category in column B. Then on your other sheet, use
this formula in B1.

=VLOOKUP(A1,Sheet2!A1:B10,2)

You can adjust the range of A1:B10 as needed.

HTH,
Paul

--

"Bob" wrote in message
...
I've got a column part table - column A is the Part name and Column B is
the
Product Category. I add to the part column monthly and would like to have
a
formula in column B that if column A contains a specific word that it
would
be equal to a part category in column B. I could also have the 8 product
categories in a separate sheet so I could reference them in the formula.


Thanks.
--
Bob





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Bob is offline
external usenet poster
 
Posts: 972
Default Formula to Populate Cells

Thanks, what I need though is for example if a Part in Column A contains a
specific
word or number that it will be equal to a specific product category in
Column B.
For example, Column A would have this as a part Number:
1-1/4" X 22-1/2" CLASS L SS I would like to populate Column B with a
specific category based on the word CLASS. If column A contains the word
CLASS then Column B would equal the product category.

--
Bob


"PCLIVE" wrote:

Forgot to mention. When you create the table on Sheet2, the lookup column
(parts in column A) needs to be in Ascending order.

--

"PCLIVE" wrote in message
...
On Sheet2, create a table with your parts in column A beginning in row 1
and the corresponding category in column B. Then on your other sheet, use
this formula in B1.

=VLOOKUP(A1,Sheet2!A1:B10,2)

You can adjust the range of A1:B10 as needed.

HTH,
Paul

--

"Bob" wrote in message
...
I've got a column part table - column A is the Part name and Column B is
the
Product Category. I add to the part column monthly and would like to have
a
formula in column B that if column A contains a specific word that it
would
be equal to a part category in column B. I could also have the 8 product
categories in a separate sheet so I could reference them in the formula.


Thanks.
--
Bob






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
Formula to Populate Cells nejohnso76 Excel Discussion (Misc queries) 1 September 27th 07 01:25 AM
Creating a formula to populate information from multiple cells in another workbook Sullycanpara Excel Worksheet Functions 8 June 30th 06 04:17 PM
Help! Formula that can Ref. hidden data & Populate Cells with desired text [email protected] Excel Worksheet Functions 1 April 8th 06 06:12 AM
Auto populate cells based on 2 cells division. Chance224 Excel Discussion (Misc queries) 0 April 4th 05 09:35 PM
How to populate formula in range of vertical cells to next colum Robert Excel Worksheet Functions 0 November 17th 04 05:09 AM


All times are GMT +1. The time now is 03:25 PM.

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

About Us

"It's about Microsoft Excel"