#1   Report Post  
Jon1205
 
Posts: n/a
Default pivot tables

I have four sheets in my workbook. Three of the sheets are named after the
product that they represent. In those sheets I have the quality of the
product (1-10) and the cost for that quality. On my first sheet, I want to
be able to pick the product from a drop down menu, state the quality, and
have it return the price. I am able to use vlookup to get the price, but I
want to know if there is a way that I can specify which sheet it comes off of
with the drop down menu.

Thanks for any help.
  #2   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

I'm not sure why you mentioned pivot tables in your subject line, but
perhaps I'm missing something.

If you have a product name in cell B4, and a quality number in cell C4,
you can use the following formula to return the cost from a lookup range
on the appropriate product sheet.

=VLOOKUP(C4,INDIRECT("'"&B4&"'!$A$2:$B$11"),2)

Jon1205 wrote:
I have four sheets in my workbook. Three of the sheets are named after the
product that they represent. In those sheets I have the quality of the
product (1-10) and the cost for that quality. On my first sheet, I want to
be able to pick the product from a drop down menu, state the quality, and
have it return the price. I am able to use vlookup to get the price, but I
want to know if there is a way that I can specify which sheet it comes off of
with the drop down menu.

Thanks for any help.



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #3   Report Post  
Jon1205
 
Posts: n/a
Default

Thanks that is what I was looking for.

"Debra Dalgleish" wrote:

I'm not sure why you mentioned pivot tables in your subject line, but
perhaps I'm missing something.

If you have a product name in cell B4, and a quality number in cell C4,
you can use the following formula to return the cost from a lookup range
on the appropriate product sheet.

=VLOOKUP(C4,INDIRECT("'"&B4&"'!$A$2:$B$11"),2)

Jon1205 wrote:
I have four sheets in my workbook. Three of the sheets are named after the
product that they represent. In those sheets I have the quality of the
product (1-10) and the cost for that quality. On my first sheet, I want to
be able to pick the product from a drop down menu, state the quality, and
have it return the price. I am able to use vlookup to get the price, but I
want to know if there is a way that I can specify which sheet it comes off of
with the drop down menu.

Thanks for any help.



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html


  #4   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

You're welcome. Thanks for letting me know.

Jon1205 wrote:
Thanks that is what I was looking for.

"Debra Dalgleish" wrote:


I'm not sure why you mentioned pivot tables in your subject line, but
perhaps I'm missing something.

If you have a product name in cell B4, and a quality number in cell C4,
you can use the following formula to return the cost from a lookup range
on the appropriate product sheet.

=VLOOKUP(C4,INDIRECT("'"&B4&"'!$A$2:$B$11"),2)

Jon1205 wrote:

I have four sheets in my workbook. Three of the sheets are named after the
product that they represent. In those sheets I have the quality of the
product (1-10) and the cost for that quality. On my first sheet, I want to
be able to pick the product from a drop down menu, state the quality, and
have it return the price. I am able to use vlookup to get the price, but I
want to know if there is a way that I can specify which sheet it comes off of
with the drop down menu.

Thanks for any help.



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

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
overlapping pivot tables cwinters Excel Discussion (Misc queries) 2 July 4th 06 05:02 PM
Blank Cells in Pivot Tables Greg Excel Discussion (Misc queries) 1 March 16th 05 09:23 PM
Macro for Pivot Tables Thomas Excel Discussion (Misc queries) 1 March 15th 05 01:03 AM
Product Function in Pivot Tables from Multiple Consolidation Range bbishop222 Excel Worksheet Functions 0 February 22nd 05 04:55 PM
How does the term 'pivot' apply to Excel's Pivot tables and Pivot. stvermont Excel Discussion (Misc queries) 1 February 17th 05 01:34 AM


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