Formula Needed For Matching Multiple Criteria

richp803

New Member
Joined
Dec 29, 2010
Messages
30
I have a spreadsheet with two tabs test and TotalMetro

test tab

A B C D E
1 Quick Report Summary
2 Data Report Month:
Last 3 Months
3 Days & Dayparts:
Mon-Sun 6a-mid
4 Demo:
A12-17
5 Created:
4/8/2013
6
7 Stations
8 Market
StationOwner Group
Format
Population
9 Abilene, TX

74,400
10 Akron, OH

11 Albany, GA


<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>


I need to use the data in B4 (in this case A12-17, but this will be different from time to time), to find a match in the second sheet. In this case it will be the values in "C" (other times it could be D, etc, based on B4 from the first sheet)

TotalMetro

A B C D E F
4Mkt
Market
A18-49
Total
Persons
12+
W18-49A35-64
5a
Abilene, TX
74,400 139,900 35,200 59,400
6b
Akron, OH
293,900 602,800 149,000 288,000
7c
Albany, GA
70,200 136,500 36,300 63,000

<colgroup><col><col><col><col span="3"></colgroup><tbody>
</tbody>

I then need the name from the first sheet column "A" to match the names from the second sheet Column "B" and return the correct population in column "E" on the first sheet.

For if i were looking at Abilene in both sheets for A18-49, i would need 74,400 returned to E9 on the first sheet.
if i were looking at Akron i would need 293,900.

Depending on the market and demographic, i need the correct population from sheet two returned to sheet one.

I was able to write this for column "E", but i identified the demo before hand and repeated the formula for 30 other tabs. i would like one formula that looks at B4 and the other variables and fills in the data.

=SUMPRODUCT((TotalMetro!$B$4:$B$287=$A9)*1,TotalMetro!AH$4:AH$287)


Any help is greatly appreciated.

thanks
Rich
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,214,979
Messages
6,122,552
Members
449,088
Latest member
davidcom

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