Disable Sorting in excel - excel

I have an excel document with many columns and many rows filled with data.
I want to be prevent user for sorting the data completely, but user should be able to insert and delete row as they wish. They can also edit any cells that they want.
May I know if there is anyway to achieve that?
Thanks.

I think this should work-
Protect the worksheet and check all the option other than the Sort and autofilter and you should be good to go.

Related

How to organize this excel page in proper rows and columns?

I want to organize this sheet in proper rows and columns. can anyone suggest to me the steps to do it?
You can utilize Text to Column feature. It is in DATA tab under Data Tools section.
Or if you want to go with Excel formula then could use-
=DROP(REDUCE(0,A1:INDEX(A1:A50000,COUNTA(A1:A50000)),LAMBDA(a,b,VSTACK(a,TEXTSPLIT(b,"|")))),1)
Little bit simpler approach.
=DROP(REDUCE(0,TOCOL(A:A,1),LAMBDA(a,b,VSTACK(a,TEXTSPLIT(b,"|")))),1)

Howto Clear a Sort on a Query on VBA?

I have a query on my Excel sheet which is sorted on 2 different columns and I wish to keep it that way because I make searches on data that require this particular order
I noticed that if I manually sort on a column of the sheet, when I refresh the query, the pre-defined order is not reapplied...
And if I remove the sort manually... then the query is well applied and I get the order I wanted
Is this normal behavior ?
I tried to remove on VBA with a Sort.SortFields.Clear... but it didn't remove it and kept the "manual sort".
Is there a way to force the removal of the Sortfields ?
Thanks to all.

Format of Data Dictionary

I have been creating a data dictionary with each table having a separate Excel sheet.
However now I've got so many tables that using the tabs has become cumbersome.
Has anyone got any suggestions to make them more manageable?
Thanks
I think Darren Bartrup-Cook's answer should do it.
If you right-click the arrows to the left of the tabs you'll get a list of the first 15 tab names and a more sheets option to open a dialog box of sheet names.
(Darren I'm trying to work out how to say your comment was the answer but this was the best I could do)

Comparison of data in Access

I have written some pretty lengthy VBA code in excel for the comparison of 2 worksheets. My code does the following:
Lets you import 2 sheets for comparison
arranges the columns
removes departments which require different comparisons into a new worksheet
In sheet 1 checks if the id's appear more than once then checks, which row of data to use for comparison based on the latest update, and deletes the old rows
compares the sheets based on the header and then the cell contents as header names are different, for different values it then highlights them red
finally giving me a breakdown per column per department of differences and any id's that are missing
I have now found that my data set is becoming to big and looking to use MS Access, is it possible to copy my VBA code over to access? What do you guys suggest for this?
Any advice would be helpful.
From the nature of your question it sounds like you may not have used a database before. If you were using access, you would need to totally re-write the code using SQL statements. eg An Aggregating SQL SELECT statement to find the most recently updated update and ignore the rest.
You can use conditional formatting in an access form, but it's no better than using it in excel. How many rows does your data have? Will it fit in an excel sheet?
You might use access to pre-process the data to remove the unwanted rows that you use in excel. OR use power query or sql directly from excel to remove them.
You have a way to go.
Harvy

Restrict sorting to defined range for Excel

I need to distribute about 100 spreadsheets to different users, and get their feedback on each row.
I have say 120 columns by 2,000 rows, and that's 240,000 cells.
I want to lock down these 240,000 cells, so any sorting on the sheet does not happen unless the sorting is applied to the full 240,000 cells.... this is to prevent unexperienced users from selecting only a few columns or a few cells and apply the sorting, and corrupt the data. Anyone with best practice on this? I am afraid I will get fired if I do not find a solution... thanks to you all, gurus.
Embed a pivot table and use some slicers to automate the sorting. Link to the data on another sheet and then hide that sheet so the actual data cannot be directly accessed. If you have SharePoint, publish the workbook and just enable the one sheet with your "UI" on it by way of Browser Options in the backstage.

Resources