I've set up a filing system which saves sheets/ workbooks based on the value of a cell - Range("B1") Everything works great apart from when ThisFile String length exceeds 31 characters which you may know is the max useable character length for a sheet name - I had no idea! 8-0
Is there a way i can check if string length exceeds 31 characters then, if it does, shorten it to 31 characters?
My worksheet contains data with the reaction times on a psychological test. Each respondent in the test has 280 rows in my excel sheet.
The 'perfect' length of the row, is from A to M. When an error is made in the test, the length of the row will increase. So the error length can be A to AA.
For me it is important to analyse the error. So I would like to give a perfect row length, the value 1, and an error row length a value 2.
So, in conclusion:
If: Cell length = A1 - M1? --> Copy A1 B1 C1 (A B Cof that row) to Sheet3, and give D1 in sheet 3 the value 1
Cell length >= A1 - M1? --> Copy A1 B1 C1 (A B C of that row) to Sheet3, and give D1 in sheet 3 the value 2
In this example, I am attempting to look up one value based on two criteria. The month must match, and the location must match. In doing so, the value "1" should be returned in the example.
I working on a macro that re-arrange a table, but can not find the code. In the attached file, my original data are on the Sheet1. I would like a macro that create as many sheet as there are different values in Column D and rename each sheets by that value.
I run a spreadsheet that manages golf tournaments. i have to group the # of players evenly as possible on each hole once they are entered into the tournament. since the number of players varies from tournament to tournament the math gets complicated trying to get the groupings right. i can do the math on paper but do not know how to code the math in a macro. this would save me a ton of time if someone can figure this out. i have attached a sample .xls that includes all the info i could think of a person needs to see what is going on. If i am asking to much i understand and will remove the thread.
i have a huge data in excel some rows has been shifted down ...e.g. from column.AY3200 data shifted down :-in column B3201 & i want arranged that B3201 in AY3200,so .it;s seem like below ..
My main objective is speed and automatization in the competition organization.
Im almost finishing it but now im stuck in this situation:
I have a table with 13 cells
A: athlete name B: athlete weight C: random number (raffle) and then from 1 to 10 is the final Groups.
E.g
Name Weight No 1 2 3 4 5 6 7
[code].....
Now i need to create a macro to display the itens in the groups when the weighing is finished...
E.g
Name Weight No 1 2 3 4 5 6 7 8 9
[code].....
The conditions are:
The numbers should be displayed in the athletes groups
The difference between all the athletes weights shouldn't be > 3 kilos If theres is more than 5 athletes per group the heaviest should go to next athletes group and pop up one message informing that maximum athletes per group was reached...
I do not know much about macros so thats is possibly an easy problem to solve. My problem is basically rearranging the rows and columns. Example is below.
M.N= Material Name C.N= Country Name
M.N C.N 1 A 1 B 1 C 1 G 2 A 2 H 3 C 3 F 3 K 4 A 4 C 4 E
Here i have two columns. I would like to take the country list to rows as shown below.
M.N. A B C D E F* * * 1 2 3 4 5 * *
And if the country has that material name it should show "Y" in the crossing cell. ( eg 1 A, 4 C)
I'd appreaciate your help. If you can help me with how to do this kind of layout changes with macro, it'd be more useful i guess, because i come accross with this kind of issues so often.
Would like to know if there is a way to arrange two different sheet under the same workbook horizontally? I have used the excel help box but did not manage to find a way.
I would like to have the cell contents show the string descriptions first then all the numbers at the back which includes the x. the lenght of the text and numbers could vary. the top 6 examples are correct i also need a space between thwe string and the numbers
I am starting a data sheet that I will be pasting from the internet into my data sheet daily, the problem I have is that the content data is pasting with blank rows between data and also there is one piece of data that is situated on the row below which i need moving to the end of the main data row, the idea is to have single data rows with no blank rows.
I have attached an example sheet showing the layout it repeats with only the amount of data that changes.
I have colored the data as follows:
Grey= Blank Rows Yellow= Data Move to end of main row Green= Unwanted Data
I am starting an excel file that extracts file from another worksheet, then after it is extracted, A2 cell has a value in cell B2, I wanted to copy all the cells in column A&B to column C&D in such a way that when the word "check is encountered in column A, it will arrange itself in the last with the other cells that contain same words before the word "check". I wanted to do this in macro or formula if possible.
I want to know is there any way to arrange bars in the chart with respect to their magnitude (ascending or descending) without making changes in the source data?
This is for a race track. Drivers sign in on one sheet. On that sheet there is 4 different columns. Column 1 lists the division that they race in. Column 2 is the name of the driver. Column 3 is his car #. Column 4 is the number that he draws that decides his starting position. Typically there is 2 heat races per division with the odd number that is drawn being in the first heat and the even number being in the second heat. I created a second sheet called heat races. I am using an index function with a small function with a row. I have my divisions listed separately with 2 heats per division. I want to display the car number per division but lined up by the position that they draw. I have figured out how to display all of the cars per division, but I can't figure out how to separate them by what they draw (odd and even and in order from lowest to highest).
I'm trying to write code which allows me to cut and paste arrange of data from one sheet to the next.
the critical field is MRPC column i, I need to select all data that when I apply a auto filter allows me to cut and paste from the line below the header. And repeater using the a value
>=200 Cut all cells, rows paste. then repeat this >=155 to 199 >=145
How do I rearrange the data columns in a pivot table? I have a table with year to date months, open PO's, & budget numbers, but I'd like to change the order in which they show up in the pivot table.
I have to complete a task using Excel. Normally I would complete the task using a database, but this one needs to be complete using Excel (for others to use afterwards)
I have a flat semicolon delimited text file which holds x amount of lines OR I can get the data using an ODBC connection (directly from the DB) Each line starts with a date, a name, a second name, and a price. See: 1.input.jpg
I want to take a list of phone numbers in a single column(800,000+ rows)and spread the numbers across the page horizontally to fill the page. Each of the new rows will have probably 4-5 phone numbers. below is an illustration:
Drop list. First of all I have sheet with all my data and i have define the name of each table.
I have about 15 categories table and a table with min 2 and max 100 items in each category.
I have made in a different sheet a drop list for my categories. Near this list i made another drop list with the items by using the formula =indirect() to arrange my items by categories.
The problem that i have is: - Some categories they have many items and is difficult to find some items. i need to put a formula to put some letters and find what i need easily (easy searchable).