INDEX & MATCH: exclude specific cases

virtuosok

Board Regular
Joined
Sep 2, 2020
Messages
209
Office Version
  1. 365
Platform
  1. Windows
Hi,
I have the following formula:
Excel Formula:
=IFERROR(INDEX('Seizure diary'!$E$13:$E$15000,MATCH(0,INDEX(COUNTIF($C$1:C1,'Source'!$E$13:$E$15000),0,0),0)),"")
(pulled down across the whole column)
It returns the list of numerical values as follows
0081-0074
0081-10056
....
The Source tab gets updated dynamically so the actual list is always changing as well.
Is it possible to exclude 2 cases automatically so that they aren't shown? I'd like to exclude specifically 013-9012 and 013-9013
 
Last edited:

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
How about
+Fluff 1.xlsm
EFGH
12
130081-00740081-0074
140081-100560081-10056
15013-90120031-1234
16013-9013 
170031-1234 
18
19
Result
Cell Formulas
RangeFormula
H13:H17H13=IFERROR(INDEX($E$13:$E$24,AGGREGATE(15,6,(ROW($E$13:$E$24)-ROW($E$13)+1)/($E$13:$E$24<>"013-9012")/($E$13:$E$24<>"013-9013")/($E$13:$E$24<>"")/(ISNA(MATCH($E$13:$E$24,H$12:H12,0))),1)),"")
 
Upvote 0
Solution
A-we-some! Thanks!
I wonder how many years of Excel experience are needed to come up with something like that :)
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,980
Messages
6,122,563
Members
449,088
Latest member
Motoracer88

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