Updating macro / formula to hide rows with zero values from 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 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

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,222,312
Messages
6,165,268
Members
451,949
Latest member
bovacik

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