shakethingsup
Board Regular
- Joined
- May 21, 2017
- Messages
- 64
- Office Version
- 365
- Platform
- Windows
[TABLE="width: 500"]
<tbody>[TR]
[TD]Cost center[/TD]
[TD]Dept[/TD]
[TD]Account Desc[/TD]
[TD]Budget[/TD]
[TD]Actual[/TD]
[TD]$ Var[/TD]
[TD]% var[/TD]
[/TR]
[TR]
[TD]712[/TD]
[TD]Acctg[/TD]
[TD]Revenue[/TD]
[TD]10[/TD]
[TD]1[/TD]
[TD]-9[/TD]
[TD]90%[/TD]
[/TR]
[TR]
[TD]712[/TD]
[TD]Acctg[/TD]
[TD]Salaries[/TD]
[TD]5[/TD]
[TD]8[/TD]
[TD]-3[/TD]
[TD]60%[/TD]
[/TR]
[TR]
[TD]712[/TD]
[TD]Acctg[/TD]
[TD]Total[/TD]
[TD]5[/TD]
[TD]-7[/TD]
[TD]-12[/TD]
[TD]240%[/TD]
[/TR]
[TR]
[TD]814[/TD]
[TD]HR[/TD]
[TD]Revenue[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]814[/TD]
[TD]HR[/TD]
[TD]Salaries[/TD]
[TD]11[/TD]
[TD]11[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]814[/TD]
[TD]HR[/TD]
[TD]Total[/TD]
[TD]-1[/TD]
[TD]-1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Let's say I have the above table.
Through any means - formula, VBA (I'm novice) or basic excel filters :
I only want to analyze cost centres with variances in any line that meet my required threshold and hide everything else. Does that make sense?
1. I want to identify absolute $ var > 10 and % var > 10%. In the above example only one row qualifies. 712, Acctg, -12 and 240%.
2. I want to keep all rows associated with the cost center 712
3. I want to hide or delete all rows that don't meet this threshold
Final result:
[TABLE="width: 500"]
<tbody>[TR]
[TD] center[/TD]
[TD]Dept[/TD]
[TD]Account Desc[/TD]
[TD]Budget[/TD]
[TD]Actual[/TD]
[TD]$ Var[/TD]
[TD]% var[/TD]
[/TR]
[TR]
[TD]712[/TD]
[TD]Acctg[/TD]
[TD]Revenue[/TD]
[TD]10[/TD]
[TD]1[/TD]
[TD]-9[/TD]
[TD]90%[/TD]
[/TR]
[TR]
[TD]712[/TD]
[TD]Acctg[/TD]
[TD]Salaries[/TD]
[TD]5[/TD]
[TD]8[/TD]
[TD]-3[/TD]
[TD]60%[/TD]
[/TR]
[TR]
[TD]712[/TD]
[TD]Acctg[/TD]
[TD]Total[/TD]
[TD]5[/TD]
[TD]-7[/TD]
[TD]-12[/TD]
[TD]240%[/TD]
[/TR]
</tbody>[/TABLE]
How can I efficiently achieve this? My spreadsheet is 2,000 rows.
<tbody>[TR]
[TD]Cost center[/TD]
[TD]Dept[/TD]
[TD]Account Desc[/TD]
[TD]Budget[/TD]
[TD]Actual[/TD]
[TD]$ Var[/TD]
[TD]% var[/TD]
[/TR]
[TR]
[TD]712[/TD]
[TD]Acctg[/TD]
[TD]Revenue[/TD]
[TD]10[/TD]
[TD]1[/TD]
[TD]-9[/TD]
[TD]90%[/TD]
[/TR]
[TR]
[TD]712[/TD]
[TD]Acctg[/TD]
[TD]Salaries[/TD]
[TD]5[/TD]
[TD]8[/TD]
[TD]-3[/TD]
[TD]60%[/TD]
[/TR]
[TR]
[TD]712[/TD]
[TD]Acctg[/TD]
[TD]Total[/TD]
[TD]5[/TD]
[TD]-7[/TD]
[TD]-12[/TD]
[TD]240%[/TD]
[/TR]
[TR]
[TD]814[/TD]
[TD]HR[/TD]
[TD]Revenue[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]814[/TD]
[TD]HR[/TD]
[TD]Salaries[/TD]
[TD]11[/TD]
[TD]11[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]814[/TD]
[TD]HR[/TD]
[TD]Total[/TD]
[TD]-1[/TD]
[TD]-1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Let's say I have the above table.
Through any means - formula, VBA (I'm novice) or basic excel filters :
I only want to analyze cost centres with variances in any line that meet my required threshold and hide everything else. Does that make sense?
1. I want to identify absolute $ var > 10 and % var > 10%. In the above example only one row qualifies. 712, Acctg, -12 and 240%.
2. I want to keep all rows associated with the cost center 712
3. I want to hide or delete all rows that don't meet this threshold
Final result:
[TABLE="width: 500"]
<tbody>[TR]
[TD] center[/TD]
[TD]Dept[/TD]
[TD]Account Desc[/TD]
[TD]Budget[/TD]
[TD]Actual[/TD]
[TD]$ Var[/TD]
[TD]% var[/TD]
[/TR]
[TR]
[TD]712[/TD]
[TD]Acctg[/TD]
[TD]Revenue[/TD]
[TD]10[/TD]
[TD]1[/TD]
[TD]-9[/TD]
[TD]90%[/TD]
[/TR]
[TR]
[TD]712[/TD]
[TD]Acctg[/TD]
[TD]Salaries[/TD]
[TD]5[/TD]
[TD]8[/TD]
[TD]-3[/TD]
[TD]60%[/TD]
[/TR]
[TR]
[TD]712[/TD]
[TD]Acctg[/TD]
[TD]Total[/TD]
[TD]5[/TD]
[TD]-7[/TD]
[TD]-12[/TD]
[TD]240%[/TD]
[/TR]
</tbody>[/TABLE]
How can I efficiently achieve this? My spreadsheet is 2,000 rows.
Last edited: