Importrange, but exclude certain text

Literae

New Member
Joined
May 11, 2018
Messages
27
Bonjour!

I am trying to create a sheet for a report we use to locate vehicles. We have the list, but would like to exclude 2 items from a certain column. I have looked up formulas, but the only one I can find is:

=FILTER(IMPORTRANGE(“Google Sheets - create and edit spreadsheets online, for free. LIST!B:D”), INDEX(IMPORTRANGE(“Google Sheets - create and edit spreadsheets online, for free. LIST!B:D”),0,D)=”Groceries”)

This is only an example, but this only pulls through the items that have "Groceries" in Col D. I would use this, but the items I want it to pull through total upto 1240 out of 1242. Its the additional 2 I dont want pulled through. These would be "GWS" and "GWSIN" for reference. Otherwise I would have to put in 1240 entries which im not sure if would crash the formula, but also take ages when I only want to ignore 2 results.

Any help would be much appreciated.

Thanks,
Dan
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,223,670
Messages
6,173,704
Members
452,528
Latest member
ThomasE

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