google sheet two criteria

josvill2010

New Member
Joined
Jun 1, 2011
Messages
40
Office Version
  1. 365
Hi, I have this formula that works well to bring the data from EAST but I also would like to bring the data from WEST.
I want to avoid bringing North, South.
What do I need to do to the formula to get it working to include WEST and EAST?

This is the formula
=filter(importrange("Google Sheets: Sign-in", "Spend !A:U"),index(importrange("Google Sheets: Sign-in", "Spend!A:U"),0,1)="EAST")
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Maybe
Excel Formula:
=filter(importrange("Google Sheets: Sign-in", "Spend !A:U"),(index(importrange("Google Sheets: Sign-in", "Spend!A:U"),0,1)="EAST")+(index(importrange("Google Sheets: Sign-in", "Spend!A:U"),0,1)="West"))
 
Upvote 0
Maybe
Excel Formula:
=filter(importrange("Google Sheets: Sign-in", "Spend !A:U"),(index(importrange("Google Sheets: Sign-in", "Spend!A:U"),0,1)="EAST")+(index(importrange("Google Sheets: Sign-in", "Spend!A:U"),0,1)="West"))
it gives an error @ Formula parse error. It keeps adding two parenthesis after "West")"))
I tried with +(index) and +index. The only difference is an extra )))
+index(importrange(https:"...", "Spend!A:U"),0,1)="West")"))
 
Upvote 0
In that case you need to share your file, without that I cannot help any further.
 
Upvote 0
please share your sheet so this can be reviewed
 
Upvote 0

Forum statistics

Threads
1,223,958
Messages
6,175,635
Members
452,661
Latest member
Nonhle

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