excel equivalent to google sheets =filter()

highway6

New Member
Joined
Dec 21, 2016
Messages
8
the subject says it all.
Google sheets has a very useful function, filter(), that allows you to search one column for data, and return a value in another column. And unlike Vlookup, It returns more than just the first instance of the search value.

What formula could I use to search A:A, and for every instance it find in a search cell (Say E1 is 2 in this case), and it returns the equivalent value in B:B. So for search cell 2, it would return "3" and "6" in the cell below, and so on and so on.

344qsco.jpg
 
I think we are getting somewhere.. and I appreciate that you've gotten what I'm trying to do.

your code isnt working for me yet.. I'm getting a circular reference error.
Also the last ($A$1:A1).. is that an error.. seeing as such nothing else in the example uses A1? I also used A16:A24 there to no avail
 
Upvote 0

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Also.. realized one difference.. in your example, you are using Column A for search, but also displaying A.
In my example, A is for search only, a hidden column... I want to lookup in A, to display B, then lookup in A to display C (next formula over), etc.
 
Upvote 0
Actually.. I guess my last post, displaying the column with the search term isnt the end of the world as a) it can be hidden and b) thats what the google filter command does.

To demonstrate more clearly what I'm trying to do.. Here's an example I did in google sheets.
G5 is the only cell that contains a formula... it searches through B:D, for G3 and displays all matches.

Seriously.. why Excel doesnt have this is beyond me.. and excel users that only use filtering in the tab.. you have no idea the power you are missing out on.

2ujmgpc.jpg
 
Upvote 0

Forum statistics

Threads
1,215,172
Messages
6,123,447
Members
449,100
Latest member
sktz

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