Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / July 2006

Tip: Looking for answers? Try searching our database.

Eliminate 0 values from pivot table

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mogens - 24 Jul 2006 15:33 GMT
I have a stock detail sheet where I have a line for all stock
transactions. Basically they are organized as SKU (stock codes), LOT
(lot number) and UNITS (+/- incoming/outgoing). This sheet is summarized
in a pivot table.

The problem now is than when a certain SKU/LOT is used up, for instance
as +10 UNITS and 2 lines showing a usage of a total of -10 UNITS, I do
not want this SKU/LOT to occur in the pivot table.

Therefore I have considered to add a column that for each line shows for
instance an "E" for all lines where the stock as SKU/LOT is empty. Then
I could omit these rows from the pivot table to avoid these to be
displayed as "0" lines.

But can't figure out how to do this :-( Tried a sumproduct, byt this did
not succeed.

Hope for some help. Thanks!

Mogens
steven1001 - 25 Jul 2006 10:37 GMT
for data with the StockCode in column A and the Qty in Column B and data
in rows 2 to 5, the following formula in C2 to C5 will return a label
value that can be selected in the pivot table to exclude the items
netting to zero (which will have a value of "don't show").

=IF(SUMIF($A$2:$A$5,$A$2:$A$5,$B$2:$B$5)=0,"don’t show","show")

regards..

Signature

steven1001


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.