Lookup and return data based on multiple criteria

brchiz

New Member
Joined
Apr 28, 2009
Messages
20
Hello, I have been able to sucessfully adapt the below formula into my spreadsheet, however, I would like to know if you can add any criteria to the index information that is returned.

To be more specific, I have a worksheet with several columns of data that I have this formula returning information from. There is one column on that spreadsheet with values of 0 and 1. I want this formula to only return values from rows with a 1 in column AB.

Here is my current formula:
{=IF(ROWS(F$6:F6)<=$J$4,INDEX('Oct 2011'!A:A,SMALL(IF('Oct 2011'!C:C=$B$4,ROW('Oct 2011'!C:C)-ROW($L$6)+1),ROWS(F$6:F6))),"")}

Here i what I have in J4:
{=SUM(('Oct 2011'!C:C='3 Month Drop'!B4)*('Oct 2011'!AB:AB=1))}

I want the formula in F6 to only return data from 'Oct 2011' if AB=1

Thanks
<!-- / message -->
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,225,072
Messages
6,182,697
Members
453,132
Latest member
nsnodgrass73

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