Returning Non Zero labels and quantities Without arrays

IDS2019

New Member
Joined
Mar 29, 2019
Messages
1
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.

[FONT=&quot]Inventory Type

<tbody class="">

[FONT=&quot]# Installed[/FONT]
[FONT=&quot]Type 1[/FONT]
[FONT=&quot]0[/FONT]
[FONT=&quot]Type 2[/FONT]
[FONT=&quot]10[/FONT]
[FONT=&quot]Type 3[/FONT]
[FONT=&quot]5[/FONT]
[FONT=&quot]Type 4[/FONT]
[FONT=&quot]0[/FONT]
[FONT=&quot]Type 5[/FONT]
[FONT=&quot]0[/FONT]
[FONT=&quot]Type 6[/FONT]
[FONT=&quot]1[/FONT]

</tbody>





[FONT=&quot]Type 2[/FONT]
[FONT=&quot]Type 3[/FONT]
[FONT=&quot]Type 6[/FONT]
[FONT=&quot]# Installed[/FONT]
[FONT=&quot]10[/FONT]
[FONT=&quot]5[/FONT]
[FONT=&quot]4[/FONT]
[FONT=&quot]Price[/FONT]
[FONT=&quot]$x[/FONT]
[FONT=&quot]$y[/FONT]
[FONT=&quot]$z[/FONT]
[FONT=&quot]Location[/FONT]
[FONT=&quot]Location 1[/FONT]
[FONT=&quot]Location 1[/FONT]
[FONT=&quot]Location 2[/FONT]
[FONT=&quot]Etc.[/FONT]







<tbody class="">
</tbody>
[/FONT]
 

Forum statistics

Threads
1,082,139
Messages
5,363,363
Members
400,731
Latest member
Jackserver

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top