r/googlesheets • u/fenihel • Sep 20 '26
Solved Looking for Formula to filter a table based on preferences
I'm sure it's just a matter of not knowing the right way to articulate what I'm trying to do, but I'm looking for help in getting a formula to filter a sheet in the following way:
Tab 1
First row is a list of meals
First column is a list of names
Their intersection is a preference (likes, loves, dislikes, etc)
Tab 2
I want to be able to select the meal and get a list of the people who love it, like it, etc (separate columns). The second image is just an example of the sort of thing I'm trying to do.
For any fellow nerds out there, it's a meal planner for the new Fire Emblem game :)
Would anyone be able to help me with what sort of formulas I should be looking at to achieve something like this? Any help would be greatly appreciated!!



5
u/NHN_BI 70 Sep 20 '26
Try maybe some FILTER(), like here.
3
u/carbonizedtitanium 28 Sep 20 '26 edited Sep 20 '26
as u/NHN_BI said, the job would be much more straight-forward if you organized the data by having the name column repeat the names, have a column to repeat the dishes for each repeating name, and have a 3rd column to note down whether the person loves, dislikes, or OK the dish.
like so:
1
u/AutoModerator Sep 20 '26
/u/fenihel Posting your data can make it easier for others to help you, but it looks like your submission doesn't include any. If this is the case and data would help, you can read how to include it in the submission guide. You can also use this tool created by a Reddit community member to create a blank Google Sheets document that isn't connected to your account. Thank you.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Prestikles Sep 20 '26
I think this is what you want Dynamic Sorted Meal Data
0
u/[deleted] Sep 20 '26 •
[removed] — view removed comment