#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Lookup problem

I have a two-column worksheet containing the following data; column A
(Category) contains 12 text values and column B (Markup) contains 12 related
text values. This table resides on a separate worksheet named "Rates". My
main worksheet, named "Data", contains several thousand records of about 20
columns each; two columns in this worksheet are also labeled "Category" and
"Markup".

For each record in the Data worksheet, the Category column contains one of
the 12 possible values found in the Category column of the Rates worksheet,
and the Markup column is blank. I want to place a formula in each cell in
the Markup column of the Data worksheet that looks in the Category column of
the Rates worksheet to find the value that matches the value in the Category
column of the Data worksheet, and when the match is found, places into the
Markup column of the Data worksheet the corresponding Markup value found in
the Rates worksheet.

Is there a formula that will do this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 772
Default Lookup problem

Sounds like you want to do a simple vlookup. Click the function key to the
left of your formula bar and do a search for it, the excel help is pretty
good with vlookups.
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"murrmeik" wrote:

I have a two-column worksheet containing the following data; column A
(Category) contains 12 text values and column B (Markup) contains 12 related
text values. This table resides on a separate worksheet named "Rates". My
main worksheet, named "Data", contains several thousand records of about 20
columns each; two columns in this worksheet are also labeled "Category" and
"Markup".

For each record in the Data worksheet, the Category column contains one of
the 12 possible values found in the Category column of the Rates worksheet,
and the Markup column is blank. I want to place a formula in each cell in
the Markup column of the Data worksheet that looks in the Category column of
the Rates worksheet to find the value that matches the value in the Category
column of the Data worksheet, and when the match is found, places into the
Markup column of the Data worksheet the corresponding Markup value found in
the Rates worksheet.

Is there a formula that will do this?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 353
Default Lookup problem

Yes, there is...

=VLOOKUP(D2,Rates!$A$1:$B$13,2,0)
Enter in Markup column on the Data sheet.
D2 should be changed to the cell address of the first rows Category cell.
Copy down to the rest of the column.
As long as your table on the rates sheet is in the A1:B13 range, this should
do what you wanted...

"murrmeik" wrote:

I have a two-column worksheet containing the following data; column A
(Category) contains 12 text values and column B (Markup) contains 12 related
text values. This table resides on a separate worksheet named "Rates". My
main worksheet, named "Data", contains several thousand records of about 20
columns each; two columns in this worksheet are also labeled "Category" and
"Markup".

For each record in the Data worksheet, the Category column contains one of
the 12 possible values found in the Category column of the Rates worksheet,
and the Markup column is blank. I want to place a formula in each cell in
the Markup column of the Data worksheet that looks in the Category column of
the Rates worksheet to find the value that matches the value in the Category
column of the Data worksheet, and when the match is found, places into the
Markup column of the Data worksheet the corresponding Markup value found in
the Rates worksheet.

Is there a formula that will do 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
lookup problem Jaan Excel Worksheet Functions 2 January 24th 08 02:14 PM
lookup problem. MyFairLady Excel Worksheet Functions 3 January 31st 07 10:33 PM
little problem with lookup i think jose001 Excel Discussion (Misc queries) 1 March 27th 06 11:50 AM
Lookup problem jamesjohn Excel Discussion (Misc queries) 2 November 4th 05 05:48 PM
Lookup Problem StephanieH Excel Worksheet Functions 1 December 20th 04 06:17 PM


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