Multi Criteria Code - Sort, Filter, Hide/Unhide

kathleen0927

New Member
Joined
Feb 7, 2018
Messages
32
Hi guys! I am having trouble figuring out how to do the following. Basically, I have a spreadsheet that I need to add controls to so the end user can re-sort the log based on how they want to see the data.

Rows 1:6 are headers
Print Range is A7:AG1525, but range will grow as new rows are inserted

The first sort is by Work Area and criteria is:
1. Filter data in column AE where value = Open or Work Area or Legend. All other rows are to be hidden
2. Resort the print range by Column C (low to high), then a secondary sort by Column E (low to High)
3. Hide column M
4. Unhide Column G

The second (or default view) brings the spreadsheet back to the original view by Vendor with criteria:
1. Filter data in column AE where value = Open or Legend or Vendor. All other rows are to be hiddne
2. Re-sort the Print Range by Column B (Low to High) then a secondary sort by Column E (Low to High)
3. Unhide column M
4. Hide Column G.

Any ideas? Thanks so much!
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Forum statistics

Threads
1,214,911
Messages
6,122,195
Members
449,072
Latest member
DW Draft

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