Dear excel boffins,
I have a macro that filters some rows out based on a cell being less than zero.
99% of the time, that's fine.
There is on occasion a reason to unhide 1 or 2 of the hidden ones. Ill explain in more detail below.
[TABLE="width: 500"]
<tbody>[TR]
[TD]CompanyX[/TD]
[TD]Xcode[/TD]
[TD]1[/TD]
[TD]-1[/TD]
[/TR]
[TR]
[TD]CompanyY[/TD]
[TD]Ycode[/TD]
[TD]0[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]CompanyY[/TD]
[TD]Ycode[/TD]
[TD]2[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]CompanyZ[/TD]
[TD]Zcode[/TD]
[TD]-1[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
The macro filters out row 3 at the moment because it filters out rows with 0 or less in them. What i would like to do instead is to take to total of columns 3 and 4 and filter on that.
The end result would be that if the total of columns 3 and 4 are more than 0 then it will not get filtered out.
Thanks in advance for help.
Kind Regards,
Nasser
I have a macro that filters some rows out based on a cell being less than zero.
99% of the time, that's fine.
There is on occasion a reason to unhide 1 or 2 of the hidden ones. Ill explain in more detail below.
[TABLE="width: 500"]
<tbody>[TR]
[TD]CompanyX[/TD]
[TD]Xcode[/TD]
[TD]1[/TD]
[TD]-1[/TD]
[/TR]
[TR]
[TD]CompanyY[/TD]
[TD]Ycode[/TD]
[TD]0[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]CompanyY[/TD]
[TD]Ycode[/TD]
[TD]2[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]CompanyZ[/TD]
[TD]Zcode[/TD]
[TD]-1[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
The macro filters out row 3 at the moment because it filters out rows with 0 or less in them. What i would like to do instead is to take to total of columns 3 and 4 and filter on that.
The end result would be that if the total of columns 3 and 4 are more than 0 then it will not get filtered out.
Thanks in advance for help.
Kind Regards,
Nasser