Updating macro / formula to hide rows with zero values from all days of the month

vladimiratanasiu

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


I posted about 2 weeks ago the message from link Hide rows with zero values in all days of the month , needing a formula or macro to automatically filter and show in a worksheet only the rows of products with no zero values in any day of the month, and hide the ones without positive/negative numbers. I got a good macro at that moment, as shown in the linked file Inventory stocks-packaging .xlsm. In works properly, filtering in November a.c. the content from the Summary table sheet according to my initial needs. Presently I had to use a new workbook for December a.c. with the same requests (see the Monthly amount column), but taking into account the results from the previous month too (see Previous month amount column). When I run the macro inserted in the Summary table worksheet, it filters only the rows with new content from day(s) of December but hides the values for some old elements from November (e.g. AI7, AI13, AI14 etc.). For this purpose, I ask you if is any macro, formula etc., to filter and show the rows corresponding to the non-zero values from the yellow column (Total amount - including previous month).

Thank you!
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,215,050
Messages
6,122,868
Members
449,097
Latest member
dbomb1414

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