We have a database that keeps track of installed inventory and allows an auditor to record the type of inventory installed and the number that is installed. The auditor records this in a table that has all of the types of inventory populating a pull-down menu and a column to record the number installed. Then we have another sheet that contains a summary table of all of the possible types (ie the same types found in the pull-down menu) and the total number of each type recorded, or a zero is shown where none of one or more types is not installed.
What we’re looking to do is to have the non-zero results (and only the non-zero results) from the summary table populate the column headers of another sheet. (Then we record additional information like pricing etc in those columns.) Again, we want only the total numbers from the summary page for inventory types that were found to be installed, and to skip the inventory types where none are installed.
<tbody class="">
[TD="bgcolor: #B0B3B2"] [FONT="]Inventory Type
[/TD]
[TD="bgcolor: #B0B3B2"] [FONT="]# Installed [/FONT]
[/TD]
[TD="bgcolor: #D4D4D4"] [FONT="]Type 1 [/FONT]
[/TD]
[TD="bgcolor: #D4D4D4"] [FONT="]Type 2 [/FONT]
[/TD]
[TD="bgcolor: #D4D4D4"] [FONT="]Type 3 [/FONT]
[/TD]
[TD="bgcolor: #D4D4D4"] [FONT="]Type 4 [/FONT]
[/TD]
[TD="bgcolor: #D4D4D4"] [FONT="]Type 5 [/FONT]
[/TD]
[TD="bgcolor: #D4D4D4"] [FONT="]Type 6 [/FONT]
[/TD]
</tbody>
<tbody class="">
[TD="bgcolor: #B0B3B2"]
[/TD]
[TD="bgcolor: #B0B3B2"] [FONT="]Type 2 [/FONT]
[/TD]
[TD="bgcolor: #B0B3B2"] [FONT="]Type 3 [/FONT]
[/TD]
[TD="bgcolor: #B0B3B2"] [FONT="]Type 6 [/FONT]
[/TD]
[TD="bgcolor: #D4D4D4"] [FONT="]# Installed [/FONT]
[/TD]
[TD="bgcolor: #D4D4D4"] [FONT="]Price [/FONT]
[/TD]
[TD="bgcolor: #D4D4D4"] [FONT="]Location [/FONT]
[/TD]
[TD="bgcolor: #D4D4D4"] [FONT="]Etc. [/FONT]
[/TD]
</tbody>[/FONT]
What we’re looking to do is to have the non-zero results (and only the non-zero results) from the summary table populate the column headers of another sheet. (Then we record additional information like pricing etc in those columns.) Again, we want only the total numbers from the summary page for inventory types that were found to be installed, and to skip the inventory types where none are installed.
<tbody class="">
[TD="bgcolor: #B0B3B2"] [FONT="]Inventory Type
[FONT="]0[/FONT] |
[FONT="]10[/FONT] |
[FONT="]5[/FONT] |
[FONT="]0[/FONT] |
[FONT="]0[/FONT] |
[FONT="]1[/FONT] |
[/TD]
[TD="bgcolor: #B0B3B2"] [FONT="]# Installed [/FONT]
[/TD]
[TD="bgcolor: #D4D4D4"] [FONT="]Type 1 [/FONT]
[/TD]
[TD="bgcolor: #D4D4D4"] [FONT="]Type 2 [/FONT]
[/TD]
[TD="bgcolor: #D4D4D4"] [FONT="]Type 3 [/FONT]
[/TD]
[TD="bgcolor: #D4D4D4"] [FONT="]Type 4 [/FONT]
[/TD]
[TD="bgcolor: #D4D4D4"] [FONT="]Type 5 [/FONT]
[/TD]
[TD="bgcolor: #D4D4D4"] [FONT="]Type 6 [/FONT]
[/TD]
</tbody>
[FONT="]10[/FONT] | [FONT="]5[/FONT] | [FONT="]4[/FONT] |
[FONT="]$x[/FONT] | [FONT="]$y[/FONT] | [FONT="]$z[/FONT] |
[FONT="]Location 1[/FONT] | [FONT="]Location 1[/FONT] | [FONT="]Location 2[/FONT] |
<tbody class="">
[TD="bgcolor: #B0B3B2"]
[/TD]
[TD="bgcolor: #B0B3B2"] [FONT="]Type 2 [/FONT]
[/TD]
[TD="bgcolor: #B0B3B2"] [FONT="]Type 3 [/FONT]
[/TD]
[TD="bgcolor: #B0B3B2"] [FONT="]Type 6 [/FONT]
[/TD]
[TD="bgcolor: #D4D4D4"] [FONT="]# Installed [/FONT]
[/TD]
[TD="bgcolor: #D4D4D4"] [FONT="]Price [/FONT]
[/TD]
[TD="bgcolor: #D4D4D4"] [FONT="]Location [/FONT]
[/TD]
[TD="bgcolor: #D4D4D4"] [FONT="]Etc. [/FONT]
[/TD]
</tbody>