Pull Data from Database AND Specific Cells Based on Cell Value

Mister P

New Member
Joined
Dec 20, 2015
Messages
9
I created a sheet where I can rank the expected performance of new titles coming out along with the performance of older titles (For the case of this example, I'll be using music albums).

I have 2 sheets. A Forecast sheet where all the data is displayed and organized and another sheet with a big table where I input the data and later pulled either through Vlookup or Index and Match

Attached is an image of the basic version of the sheet I'm working on
http://i.imgur.com/bjx744r.png

In the Top 10 section, I have a table set up to order the titles in whatever form necessary.

Columns O through R use an INDEX and MATCH to pull data based on whatever Column M contains. If it finds a match it spits out whatever data is in the database sheet. Pretty basic stuff.

What I want it to do is have Columns Q and R search the 3 sections on the left in addition to the separate Database sheet. If there is a match in either A2, A12, or A22, then I want it to pull the Number 1 and Number 2 data located in cells H10 and J10 (for A2) / H20 and J20 (for A12) / H30 and J30 (for A22), otherwise it just pulls from the database if it were a regular title.

The main reason I want to pull data from the section from the left is because Number 1 and Number 2 are just forecasted numbers. I don't want them in my database at all until I get the real numbers the following week, but I still want to be able to rank our forecasted numbers for the new titles coming along with the older title's hard numbers.

I could just have my crew input these numbers manually into the Top 10 titles, but they always tend to break my cells, formulas and they just plain don't know how to use excel. The only boxes I want them touching are the H10 + J10 / H20 + J20 / H30 + J30 ones and the header sections.

I tried using a combination of AND and OR but I can only manage to get it working for just one of the 3 sections, not all. I'm wondering if this is at all possible and if it is, if there's a method where it's not a very convoluted series of IF, AND, OR

At the moment, I just have a very basic INDEX and MATCH formula in Q and R

=IFERROR(INDEX(Database!$D$2:$D$2105,MATCH($M7,Database!$A$2:$A$2105,0)),"")

Any help would be greatly appreciated
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,216,128
Messages
6,129,036
Members
449,482
Latest member
al mugheen

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