consolidate and count if quantity is not zero

Vagus

New Member
Joined
Jul 31, 2018
Messages
5
Hello and Thank You in advance!
Column B is what I want to consolidate and count. I only want it to appear on the consolidated list If correlated column C has a value greater than zero.
Bid Code

<tbody>
</tbody>
Breakdown Code

<tbody>
</tbody>
Quantity

<tbody>
</tbody>
1LPostGLLM10ft3x6

<tbody>
</tbody>
GLLM 3-1/8 x 6 @ 10ft

<tbody>
</tbody>
0
1LPostGLLM10ft5x8

<tbody>
</tbody>
GLLM 5-1/8 x 7-1/2 @ 10ft

<tbody>
</tbody>
3
2LPostGLLM10ft3x6

<tbody>
</tbody>
GLLM 3-1/8 x 6 @ 10ft

<tbody>
</tbody>
1
2LPostGLLM10ft5x8

<tbody>
</tbody>
GLLM 5-1/8 x 7-1/2 @ 10f

<tbody>
</tbody>
0
3LPostGLLM10ft3x6GLLM 3-1/8 x 6 @ 10ft0
3LPostGLLM10ft5x8

<tbody>
</tbody>
GLLM 5-1/8 x 7-1/2 @ 10f

<tbody>
</tbody>
0
4LPostGLLM10ft3x6GLLM 3-1/8 x 6 @ 10ft4
4LPostGLLM10ft5x8

<tbody>
</tbody>
GLLM 5-1/8 x 7-1/2 @ 10f

<tbody>
</tbody>
7

<tbody>
</tbody>

<tbody>
</tbody>
Thanks again for any help.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
What do you mean you don't want it to appear? You can filter out the zeroes in the quantity column. You can make them not appear using conditional formatting, or you can write a macro to delete the rows- all three ways will make them not appear, but all three are very different results.
I hope this helps.
Ken
 
Upvote 0
I have to agree with Ken. It depends on how comfortable you are with excel and if you want to permanently delete rows with zeroes. Sorting data in column C by unchecking zero column will give you the result you are after by hiding zeroes, but will be easy to sort back to its original state if needed later. Macro will permanently delete those rows.
 
Upvote 0
is that what you want to achieve?

Breakdown CodeCNT
GLLM 5-1/8 x 7-1/2 @ 10ft
1​
GLLM 3-1/8 x 6 @ 10ft
2​
GLLM 5-1/8 x 7-1/2 @ 10f
1​
 
Upvote 0
Thank you Ken, Yaro and Sandy for helping me refine my inquiry.
I need to generate a secondary list that is a consolidated summary of all column B items that have a value greater than zero.
The column B is a repeating list (repeats based on intervals that can be seen column A eg.1L,2L,3L,4L).
My example does not show another condition of my data; that some column B items will have a zero quantity value on all Column A intervals/instances; so those are ones that would not show up at all on the final list.
 
Upvote 0
I think you should show representative example of source data and expected result
 
Upvote 0
I think you should show representative example of source data and expected result

I would love to - I was trying to just past the excel sheet here but that wasnt working and I was trying to paste a screenshot but that also was not working...what is the best way to share the data?
 
Upvote 0
IMHO put example desensitized excel file into any server like google drive or one drive , allow access to it then share link here

one more question: are you allowed to use PowerQuery?
 
Last edited:
Upvote 0
sorry mate but in preview Quantity is all 0
or (If downloaded) there is a unknown fuction: =ETkoBidQty("1LPostGLLM10ft3x6")
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,748
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top