ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Pulling non-zero data from table (https://www.excelbanter.com/excel-discussion-misc-queries/228667-pulling-non-zero-data-table.html)

Akkori

Pulling non-zero data from table
 
I have a large table with around 30 columns and about a hundred rows. This
table is used to break down the ingredients (columns) to make items (rows).
I'd like to choose one of the items from a drop-down box, and have the
function pull all the non-zero entries for that item from the table.
***********
sugar wheat gum coloring flour
Pop Tart 20g 5g
Bread 1g 200g 200g
Gummy Bear 100g 15g 5g
***********
I hope that formats okay...
So, the result if I chose "bread" would be a vertical list...
Bread
Sugar - 1g
wheat - 200g
flour - 200g

The function would ignore all the blank cell's, and return only the ones
with data.

How would I get started here?

Thanks!


AndyLV

Pulling non-zero data from table
 
On a separte tab, create a pivot table

"Akkori" wrote:

I have a large table with around 30 columns and about a hundred rows. This
table is used to break down the ingredients (columns) to make items (rows).
I'd like to choose one of the items from a drop-down box, and have the
function pull all the non-zero entries for that item from the table.
***********
sugar wheat gum coloring flour
Pop Tart 20g 5g
Bread 1g 200g 200g
Gummy Bear 100g 15g 5g
***********
I hope that formats okay...
So, the result if I chose "bread" would be a vertical list...
Bread
Sugar - 1g
wheat - 200g
flour - 200g

The function would ignore all the blank cell's, and return only the ones
with data.

How would I get started here?

Thanks!



All times are GMT +1. The time now is 01:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com