Index with Multiple Conditions

kivikatz

New Member
Joined
Sep 12, 2020
Messages
27
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi All. I am trying to use an Index function with two conditions, but seem to be having trouble with the correct formula. The formula works when I use each condition separately. Probably missing something obvious, but I would appreciate your help. The Excel worksheet is attached for your reference. Thanks.


Index Formula.xlsx
ABCDEFGHI
1SymbolDateLossConditionsDate Loss Combined
2ABT10/12/23-37%ABTAEMD
3ADGM10/04/24-74%DateAHCOAIMD
4AEMD08/05/24-100%11/13/2023AORTALUR
5AHCO11/08/23-85%LossARAYAMIX
6AIMD10/31/24-100%-90%ATECAORT
7ALUR09/09/24-95%AVNSAPYX
8AMIX10/25/24-95%AXGNARAY
9AORT08/15/02-97%AXNXATEC
10APYX08/05/24-94%BIOAXDX
11ARAY03/25/20-96% AXGN
12ATEC02/08/19-99% BBLG
13AVNS10/27/23-76% BFLY
14AXDX04/18/24-100% BJDX
15AXGN11/01/23-94% BMRA
16AXNX05/31/23-40%  
17BBLG09/13/24-100%  
18BFLY04/25/24-98%  
19BIO10/30/23-69%  
20BJDX11/04/24-100%  
21BMRA08/05/24-99%  
Sheet1
Cell Formulas
RangeFormula
G2:G21G2=IFERROR(INDEX($A$2:$A$21, SMALL(IF($B$2:$B$21<$E$4, ROW($A$2:$A$21)-ROW($A$2)+1), ROW(1:1))),"" )
H2:H21H2=IFERROR(INDEX($A$2:$A$21, SMALL(IF($C$2:$C$21<$E$6, ROW($A$2:$A$21)-ROW($A$2)+1), ROW(1:1))),"" )
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Try:
Excel Formula:
=FILTER(A2:A21,(B2:B21<E4)*(C2:C21<E6))
 
Upvote 0
Solution

Forum statistics

Threads
1,223,630
Messages
6,173,457
Members
452,516
Latest member
archcalx

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