INDEX AND MATCH MULTIPLE WORKSHEETS

TMAX

New Member
Joined
Jan 7, 2008
Messages
16
Workbook 1 has a data base with several sheets of data.

Sheet 1 (Fruits)

Row A Item (apples, oranges)

Row B Cost ($)



Sheet 2 (Grains)

Row A Item (Nuts, Grains)

Row B Cost ($)

This book will remain closed.



Workbook 2

Row A (Drop down menu for Fruits or Grains)

Row B (Drop down menu for apples or oranges if Row A is Fruit)

(Drop down menu for Nuts or Grains if Row A is Nuts)

Row C Price

Before I had Workbook 1 with only one worksheet with apples, oranges, nuts, grains all together.

This is the formula that I used and it worked well except my data sheet grew to large.

=IF(B8="","",INDEX('[Inventory Sheet.xls]Vitamin Mineral'!$T$5:$T$700,MATCH(B8, '[Inventory Sheet.xls]Vitamin Mineral'!$E$5:$E$700,0)))

I wanted to break it up into several sheets in Workbook 1 but I am having trouble selecting worksheets.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
My question is can you make an index and match function to select specific worksheets in a closed workbook based on the data from A1(drop down menu) and B1 (drop down menu). I am not sure if I am explaining myself correctly or if this has been covered before. Thank you for any help.
 
Upvote 0

Forum statistics

Threads
1,215,223
Messages
6,123,715
Members
449,118
Latest member
MichealRed

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top