Excel array formula help

pwl2706

Board Regular
Joined
Mar 12, 2013
Messages
60
Hi,

We have a workbook with one sheet for each month, and on each month we have a list of web sites with some data provided by that website.


The list of websites is different from month to month, but always between A2:A13.


On my summary sheet I need a dynamic list of the available websites plus the sum of column 2 on each sheet.


So for example column A on January might have moneysavingexpert.com, and column B would have a value, on my summary sheet

I want to sum all of the month data for moneysavingexpert.com wherever that site is found

data provided by that website.
The list of websites is different from month to month, but always between A2:A13.
On my summary sheet I need a dynamic list of the available websites plus the sum of column 2 on each sheet.
So for example column A on January might have moneysavingexpert.com, and column B would have a value, on my summary sheet I want to sum all of the month data for moneysavingexpert wherever that site is found
I have started like this:
In column B of my summary sheet I put this INDEX/MATCH formula for January & February and it works:

Code:
=INDEX('January '!$A$2:$B$11,IF(ISNA(MATCH('Top ten summary '!B13,'January '!$A$2:$A$12,0)),0,MATCH('Top ten summary '!B13,'January '!$A$2:$A$12,0)),2)+INDEX(Feburary!$A$2:$B$11,IF(ISNA(MATCH('Top ten summary '!B13,'January '!$A$2:$A$12,0)),0,MATCH('Top ten summary '!B13,'January '!$A$2:$A$12,0)),2)


But ideally I don't want to have to repeat this for all months, and as I said, a dynamic array would be better.
What is the best approach to this, to do it dynamically?
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,216,531
Messages
6,131,209
Members
449,636
Latest member
ajdebm

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