Array formula based on a multiple criteria

BabyFish2019

New Member
Joined
Nov 25, 2019
Messages
6
Office Version
  1. 2016
Platform
  1. Windows
Hi

I am looking to create an array to help schedule resourcing but it needs to somehow I think include an IF statement as well but I cant work out how to do it. The formula I have at present is this

The data in column A is what looks up against the assumptions table and will then return columns 3,4,and 5 from that in columns C,D and E

So say columns 3, 4 and 5 say Product1, Product 2 and Product 3 my formula below will return the following

(VLOOKUP($A$2,'Assumption Tables'!$A$8:$AC$12,{3,4,5},FALSE))

Feb 20Mar 20Apr 20May 20June 20July 20
SmallMay 20Product 1Product 2Product 3

What I want to do is add in a second variable which is in cell B2. So if row 1 matches column B2 then it will perform the array formula. If I were to change the date in column B like I have in Row 3 then the data shows in Apr 20 etc

Feb 20Mar 20Apr 20May 20June 20July 20
SmallMay 20Product 1Product 2Product 3
SmallApr 20Product 1Product 2Product 3
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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