Sort hidden columns

SaraR

New Member
Joined
Oct 9, 2009
Messages
1
Hi,
I just attended a webinar and thought of a question about 10 minutes after it was over. After you hide columns, how do you make sure they are still included when you sort the rest of your sheet?

We have lists of employees with their titles, office, hire date, ID number, etc. It is customary in our company to hide the ID number on documents. Then, somewhere down the line, someone sorts by the hire date or title, and the ID numbers don't sort correctly. You can imagine the trouble when we come back to those documents later and try to do a vlookup on ID number! How do we fix that? Is there any other option besides unhiding columns, sorting, then re-hiding?
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
A quick way is to select your whole worksheet before sorting. Click the small box to the left of column header "A", just above row header "1". That will select all columns, hidden or not, and you can then sort safely.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

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