Hide rows with zero values in all days of the month

vladimiratanasiu

Active Member
Joined
Dec 17, 2010
Messages
347
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Hello!

I have a sheet containing inventories of different stocks from a company, as is shown in the link Inventory stocks-packaging .xlsm .The difference(s) between system list (total quantities) and inventories values are summarized and placed in the worksheet Summary table, according to day when they were collected. At the same time, every inventory list, generated by the informatic system, includes only some elements of the main list from the file Summary table. As a result, not all the rows will be populated with numerical data and a large number of them will show only the 0 value for different products. In this condition, I wonder if there is any formula or macro to automatically filter and show only the rows of products with no zero values in any day of the month, and hide the ones without positive/negative numbers.

Thank you!
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
See if this macro does what you want:
VBA Code:
Sub showVals()
    Range("A1").CurrentRegion.AutoFilter 34, "<>0"
End Sub
 
Upvote 0
Solution

Forum statistics

Threads
1,223,911
Messages
6,175,325
Members
452,635
Latest member
laura12345

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