I am completely new to macros in excel. I have been searching on the internet and it seems that macros are the only way I can get what I want.
I have the following problem:
example excel.PNG
Now in this picture, budget normally starts at zero for everything. When I filled in what needs to be filled in, I want a command that will allow me to do the following. Hide all the rows where budget = 0. If 2.2.1 till 2.2.7 are all 0 then the row with 2.2 also needs to hide. But if for example 2.2.4 is $50, then 2.2. has to remain. If 2.1 till 2.5 are all hidden, then the row with 2.0 needs to hide etc.
If you see the image, after the macro it should look like the following:
example excel 2.PNG
As I said, I am completely new to the world of Macro's. I have googled quite some time now, but could not find an answer to my question... I believe it can be done quite simply but my attempts at writing a code all failed miserably, where I don't even know what went wrong or even if I did anything right...
I hope someone can help me with this problem.
Bookmarks