index, match using OR

gtd526

Well-known Member
Joined
Jul 30, 2013
Messages
657
Office Version
  1. 2019
Platform
  1. Windows
Hello,
Looking to add <>"FNGG" OR <>"TECL" in the following formula: I already have the <>TECL.
INDEX('2x3x'!$A$9:$A$30,MATCH(TRUE,INDEX('2x3x'!$A$9:$A$30<>"TECL",0),0))

Thank you

The Whole Enchilada.xlsm
ABCDE
8 Symbol Sector Type Shares Cost
9FNGGFANGs Bull 2xLong1$ 31.00
10TECLTech 3xLong1$ 22.77
11DXQLXMthly NASD-100 1.75xLong1$ 33.15
12UBOTAI & Automation 2xLong1$ 12.30
13SPXLS&P 500 3XLong1$ 63.03
2x3x
Cell Formulas
RangeFormula
B9:B13B9=IF(COUNTIF(Sectors!$A$2:$AAT$47,$A9)=1,INDEX(Sectors!$A$2:$AAT$2,MAX((Sectors!$A$2:$AAT$47=$A9)*(COLUMN(Sectors!$A$2:$AAT$2)))),"")
Press CTRL+SHIFT+ENTER to enter array formulas.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Try the following formula, which needs to be confirmed with CONTROL+SHIFT+ENTER...

Excel Formula:
=INDEX('2x3x'!$A$9:$A$30,MATCH(TRUE,ISNA(MATCH('2x3x'!$A$9:$A$30,{"FNGG","TECL"},0)),0))

Hope this helps!
 
Upvote 0
Solution
Try the following formula, which needs to be confirmed with CONTROL+SHIFT+ENTER...

Excel Formula:
=INDEX('2x3x'!$A$9:$A$30,MATCH(TRUE,ISNA(MATCH('2x3x'!$A$9:$A$30,{"FNGG","TECL"},0)),0))

Hope this helps!
Thank you. I tried the array, but didn't have the ISNA.
 
Upvote 0

Forum statistics

Threads
1,215,089
Messages
6,123,058
Members
449,091
Latest member
ikke

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