Prohibit Sorting In A Worksheet

Oct 28, 2009

This might sound like a weird question, but is there any way to prohibit a user to using the sort function in a particular sheet?

Filtering for values is okay but sorting must be prohibited so that no rows "change place" in a sense.

View 4 Replies


ADVERTISEMENT

Text() Function :: How To Prohibit A String Value

May 3, 2007

I have a problem when using the function of text(). I set "=TEXT(SUM(A1:A5), 0) + 5" in Cell A6. Assume the answer of SUM(A1:A5) is 10, the result in A6 will be 15.

My question is how to prohibit a string value [Text(SUM(A1:A5),0)] add a number value [5] to form the result 15.....

View 11 Replies View Related

Prohibit Data Entry Based On Adjacent Cell

Mar 14, 2013

I have the following formula in cell H2:

=AND(EXACT(G2,UPPER(G2)),(LEFT(G2)>="A")*(LEFT(G2)<="Z")*(MID(G2,2,1)>="0")*(MID(G2,2,1)<="9")
*(MID(G2,3,1)>="A")*(MID(G2,3,1)<="Z")*(MID(G2,4,1)>="0")*(MID(G2,4,1)<="9")*(MID(G2,5,1)>="A")
*(MID(G2,5,1)<="Z")*(MID(G2,6,1)>="0")*(MID(G2,6,1)<="9")*(LEN(G2)=6))

I would like to prohibit data entry in G2 if H2 reads "false" and allow data entry in G2 if H2 reads "true" .

View 2 Replies View Related

Sorting To New Worksheet

Jul 15, 2009

I have a report to compile where i have a master list of data with three columns.

A=Name B=Type C=Location

I have 3 Types to sort. These being D, E, F

I need to sort into three new worksheets from the first sheet the D's into one, the E's into another and the F's
into the last.

I have over 3000 different A's to sort by the Type.

View 9 Replies View Related

Sorting In WorkSheet Based On First Two Digits

Jan 13, 2008

how to sort based on the first two digit..

I need to sort the COMM CODE ( which is at Column no 3 )

View 14 Replies View Related

Sorting And Filtering The Records To New Worksheet

Jan 14, 2009

I need to do sorting and filtering the similar records to new worksheet. I need you help to do this job, give some idea or command to use for the following steps.

I have attached the worksheet newtran.xls.

1. I need to find the last column, the column will be increased or decreases. so that we need to find the last column at time of running the macro. Now the value is there till column DD

2. I need to concatenate the column B, D, F to last column find out at 1 step. Insert a new column and place the concatenated value.

3. Entire row will be Sorted based on concatenated value column.

4. Find the similar row on concatenated column and entire row need to be moved to new worksheet.

View 11 Replies View Related

Sorting A List From Data In Another Worksheet

Feb 21, 2010

I have the attached workbook that contains a list of produce in the Produce sheet and I am wanting to have the Availability sheet show what produce is available each day sorted into Good, Limited and None as per the data on the Produce sheet. I should end up with a list of each type of produce listed under the relevant availability each day.

Sorry but I have limited knowledge of VB, I assume that the best way to do this is some code behind the Availability worksheet but I am not able to determine what this code should look like.

View 9 Replies View Related

Sorting Worksheets With References To Second Worksheet

Apr 21, 2009

I have a workbook with two worksheets.

Worksheet one is "Company ID" info, in it are the columns:"Company Name", "street add", "city", "state".

Worksheet two is "Company Contact Person" in it are the columns: a reference to worksheet one column one "Company Name", and column two is 'Contact Person name'.

I want to be able to sort worksheet one at will, By city, or state, or any of the various columns. When sorting worksheet one I want the relationships in worksheet to to remain intact.

"Company Name" - "Company Contact Person".

View 6 Replies View Related

Sorting VBA Array On Worksheet On Two Columns?

Aug 30, 2013

I'm trying to sort an array which is of variable height/rows when put on a worksheet. I need to sort by column C ascending (smallest to largest) and then by column D ascending (oldest to newest). I tried recording a macro but the code is just junk.

Code:

Dim BookSPSortingWorksheet As Worksheet
Dim TR As Range
Set BookSPSortingWorksheet = ThisWorkbook.Worksheets.Add
Set TR = BookSPSortingWorksheet.Range("A1").Resize(UBound(array_book_SPNames), UBound(array_book_SPNames, 2))
TR = array_book_SPNames

Is there a way I can use the sort function like the below by indexing my TR range for columns 3 and 4?

Code:

TR.Sort key1:=TR, order1:=xlAscending, MatchCase:=False

View 3 Replies View Related

Prevent Sorting Of Entire Worksheet

Dec 27, 2006

I have a worksheet thats makes things easier by sorting to users needs. heproblem I have is I have totals in columns p:AJ rows 1:3. How can I prevent the user of sorting the whole worksheet. Most of my users have basic Excell understanding so sorting is usually the whole page. I've tried hiding and protecting the columns but must be doing some thing wrong. I just need them to only be able to sort column A:N. I'm already working on moving totals to a separate sheet to I know this will work but curious for future worksheets.

View 3 Replies View Related

Sorting Non Unique Rows Of Data Into Another Worksheet

Jul 7, 2009

I have one worksheet which acts like a data dump (actuals) where data is just pasted in. This worksheet is sorted and edited on a continues basis. I need this data to be sorted into their respective coded worksheets (110, 120, 130).

I would like a function in Worksheet 110, 120, 130 that captures the data for that 'code'. Now the issue is that much of the data is non-unique, dates, codes, accounts may sometimes be duplicated however i still want to display the entries separately in their respective coded worksheets. (I had a solution using column numbers however it isn't viable because the data gets resorted often)....

View 14 Replies View Related

Sorting A Column, But Placing Results In A Different Worksheet

Jan 2, 2008

I have a simple one-column section (column A) of values in Sheet1:

Column-A
Hal
Sonny
Betty
Adam
James

I would like to sort this, but have the sorted results displayed in Column-A of Sheet2.

How can I do this?

Note: I need to be able build flexibility into this such that I can add names to the bottom of the list in Sheet1, knowing that the results in Sheet2 will be able to accomodate the additions.

View 9 Replies View Related

Allow Sorting: Protected Worksheet Doesn't Allow A Sort

Sep 11, 2006

I have a column containing 365 entries, one for each day of the year. This I intend to send out to Army bands, to have them fill in their forecast of engagements. I do not want them to be able to amend the original diary, but to scroll to the bottom of the list, add a new entry with the applicable date and then be able to 'sort' back to chronological order. This would then allow a separate entry for every engagement to allow me to interrogate the spreadsheet. As I have protected the sheet, the 'sort' facility does not function even though when protecting I ticked the box to allow users to 'sort'.

View 2 Replies View Related

Sorting Multiple Worksheet Tabs In Alphabetical Order

Nov 24, 2008

I have a spreadsheet saved with one worksheet with all the results on it and 130 worksheets with calculations on them, each with its' own named tab along the bar at the bottom of the page. What I'd like to know is if it is possible to sort the tabs into alphabetical order so I don't have to roam through up to 130 to find the tab (and it's corresponding worksheet) I'm looking for.

View 2 Replies View Related

Excel 2010 :: Sorting Different Sections Of The Same Worksheet Differently?

Aug 14, 2013

I am using Excel 2010 64-bit (with SP2 and all other updates installed).

I have a worksheet where some cells have a yellow background, based on conditional formatting of what is in column A. (Note that data in column A changes, so the row can sometimes be yellow and sometimes be white.)

I need to sort this worksheet as follows:

1. By background color, so yellow is on top, white is on bottom.
2. Then, within the yellow rows, data in column J.
3. Then, within the white rows, data in column A.

Currently, I do this manually by sorting the entire worksheet by column A, then selecting only those rows that are yellow and sorting by column J.

Is there a way to combine these steps, perhaps with a macro?

I initially thought to make each "background color" its own table, but since column A can change and thus the background color of a row can change, I need to be able to have rows move from yellow section to white section. I don't think having two separate tables allows that.

View 2 Replies View Related

Sorting (or Maybe Filtering) Worksheet With Multiple Data In Cells

Nov 1, 2008

Background: I am HR manager for a construction company & keeper of the call-in list of personnel who are looking for work. I have a simple sheet that has columns:

Date Name Craft Experience ...more info...

If each call-in had only one craft, wouldn't have a problem. Those who are multicrafted ar listed e.g. "EL, MW, BM" In the column C. A caller two days later may be listed as "MW, BM, EL" We input the data as they say it since that is usually their order of expertise. (Yes, I know that it should have been set up with each craft having its own column, but I inherited the sheet & it has 4000+ entries)

I wrote a couple of small macros & assigned buttons on the sheet to allow the users to sort the sheet by date, or name, or craft. My customers (project managers) have requested to be able to sort by craft but have all the folks with any specific craft listed together.

Example (Excel 2003): ..

View 4 Replies View Related

Copy Worksheet In Workbook With All Formulas On New Worksheet Referencing Previous Worksheet

Apr 21, 2012

I have a workbook that contains 50 worksheets named 1-50. I need to add more worksheets. all the formulas in the worksheets always refers to the previous worksheet.

How can i make a copy of the worksheet named 50, name it 51 and have all the formulas in worksheet 51 refer back to worksheet 50?

View 1 Replies View Related

Sorting Hi To Low

Mar 6, 2009

how to create the database and the resulting Pivot Table. My Sales Database includes the Sales $ and GP$ for each line. In the Pivot Table I've managed to create a calculated field for GP %, no problem.

i have also managed to figure out how to express each Row as a % of the Pivot Total, also very easy.

What I need to know is how can I sort my Pivot Table High to Low using these calculated fields?

View 9 Replies View Related

Sorting MP3 With VBA

Oct 4, 2003

I don't understand all of it, but I observed that it works only with mp3 with tag id v1, not v2, anyway I also see another code for tag id v2 given by NateO.

But before entering in detail of what I want, is it possible to edit tag id v1 or even v2, with VBA? Because I want to complete my mp3 informations that are missing, or modify the wrong one, in excel, and then with a macro update my mp3 files...

I've found this code on the forum to get my mp3 informations :

Option Explicit

Public Type mp3Info
Header As String * 3
Title As String * 30
Artist As String * 30
Album As String * 30
Year As String * 4
Comment As String * 30
Genre As Byte
End Type

Sub Getmp3Info()
Dim mp3ID As mp3Info
Dim lngRow As Long, lngFile As Long
Dim lngFileCnt As Long

With Application.FileSearch
.NewSearch
.Filename = "*.MP3"
.LookIn = "H:Daniel" 'Change this to the folder you wish to search
.SearchSubFolders = True........................

View 9 Replies View Related

Sorting

Jun 21, 2007

I have a sheet with fixed number of rows but variable number of columns. I have to sort this sheet on the basis of column A starting A2. i am using the following code

Range("A1", Range("A1").End(xlToRight).End(xlDown)).Select

Selection.Sort Key1:=Range("A2"), Order1:=xlAscending, Header:=xlYes

But it does not sort properly. To illustrate, i have 10 rows, some 4 columns wide and some 5 columns wide. Since the first row is 5 columns wide , all the rows with 5 columns populated get sorted but the rest get left out.

View 2 Replies View Related

Chronological Sorting

Feb 18, 2007

This is an example of what is being worked on:

(There are 500+ more lines like the ones below, in groups of approximately 17 lines per page of information.)


* C.B.A. Bank - 2nd reference to branch near Mike's store. (21/03/1956)
* Berwick exams results. (06/06/1877)
* Berwick exams (09/05/1877)
* Steps taken for erection of Berwick. (11/07/1874)
* Berwick tenders for work at home. (11/07/1877)
* W. was a storekeeper at Berwick. (25/07/1881)
* Berwick Brass. (27/06/1877)
* Commercial erected for son. (27/06/1878)

I need to do the folowing to it:
(not necessarily in the following order)

- Insert into Excel
- Remove brackets
- Sort chronologically
- Copy back into program I am using again, in same chronological order.

The desired outcome is to be able to throw into Excel all the lines and press a button, (possibly the Sort Ascending one) and have a chronological list of all entries.

View 10 Replies View Related

Automatic Sorting

May 11, 2007

I have a table which holds scores as well as other data for players. Is it possible to automatically sort a table based on their points score to see who is top of the league?

View 9 Replies View Related

Sorting 4 Columns Together

Nov 6, 2007

Is there a code or some way for me to sort 4 columns together? I want to sort a list of employees and for each employee theres a column with their Lost Business, customer satisfaction, and two more columns. I want to sort all the columns at the same time so that the best employees overall will go to the top of the list and the worst ones will be at the bottom. Whenever I use the sorting feature it does each column independant of the others so everytime I sort a new column it just moves around the last one I sorted.

View 14 Replies View Related

Sorting Data Out

Jan 12, 2008

I have five columns of data A to E. In each row there can be data in either 2 3,4 or 5 of the columns. What I want to do is essentially condense the data. So in columns, say, G,H,I J,K if there is data in column A then It goes into column g, if not it asks if there is any data in column b and so on. Then for H it does the same but one on. I have attached an example to show what I would like to happen.

View 9 Replies View Related

Sorting Hyperlinks

Jun 20, 2008

I created a data base that had a hyperlink to a plan of the store so we can find parts easy. With a lot of help for people here on this web site, it works very well.

My only problem now is that I sorted my Database by the hyperlink column. It made it easy to do one hyperlink and pull the fill handle down for the rest of the same hyperlink reference.

When I went to resort the database so that the parts were in alphabetical order. The sort worked well except that the hyperlink for lets say cell F87 was not sorted. Example : - F87 hyper link presort had the reference to Rack 10 self B. Post sort it had the reference to Rack 16 shelf C. But when clicked on it still took you to Rack 10 self B.

View 11 Replies View Related

Spreadsheet Sorting..

Nov 14, 2008

I'm trying to sort this spread sheet so that each email address will have its own column assigned to it. Ie jaz@hello.com will alway be column C and harry@hello.com will always be in D. The problem is I've around 1200 rows of infor and the email addresses are all over the place..

View 5 Replies View Related

Sorting By Frequency

Dec 20, 2008

how can data sorted be more frequency as most frequent on top and as the following:
1
1
1
2
2
3
3
3
3
to
3
3
3....................
i attach file

View 3 Replies View Related

Sorting DD/MM/YYYY Into DD/MM

Aug 9, 2009

I have around 1900 dates that I need to sort into order but I need the data to be displayed as DD/MM in chronological order eg 01/01, 02/01 etc.

At the moment the dates are DD/MM/YYYY in one column. Have tried sorting them into date order but have found that they're sorted by YYYY. Is there a way of sorting them DD/MM instead?????

View 5 Replies View Related

Sorting Numbers Like 1.2.2.3, 12.4.2.3 Etc

Aug 26, 2009

I should sort numbers in ascending order from left to right, but the numbers sort only from right to left.

This is what I want:

1.3.2.2
1.4.1
2.1.1.1.1
3.2.3.12
3.3.1

And this is how it goes:

2.1.1.1.1
3.3.1
1.4.1
1.3.2.2
3.2.3.12

There are also numbers that have letter at the end (1.2.3a), and the cell format is text.

View 10 Replies View Related

Sorting Problems

Sep 8, 2009

I have an array of data that I need sorted. I did a Custom Sort. However, the data did not all sort properly (some of it did). Any ideas as to why this happened and how I can get it to sort correctly?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved