I have only started to learn Google Sheets instead of Excel. I find it easier to understand if I have a problem to solve but the Query function quite difficult to understand.
I have table of fruit orders (quantity), the fruit labels on top row and customers names in the rows of left column.
With the customers names in a drop-down box I want the Query function to create another table with the fruit in the rows of the first column and quantity in the second column but ignoring the fruit that has zero or empty entries.
Currently I'm using the TRANSPOSE function to transfer fruit labels into the rows of the first column and I use the VLOOKUP function to extract the quantity of the chosen customer. Then I use filter on the quantity to remove the zero or empty entries
Please see my Sample sheet here: https://docs.google.com/spreadsheets/d/1vyh3gdOr6wugxH5CQtV4B--1K0_gghWI-ou7e0PZ6yY/edit?usp=sharing