Reorder Paired Data In Rows
Apr 29, 2014
I've got a lot of data like this. They are paired letter/number and I want to keep it like that.
a202b520t630s630d689
a265s687b953t953d1062
a47t547b890s890b1015
However I want to re order them in pairs so that its alphabetical eg. a 202 b 520 d 689 s 630 t 630
View 3 Replies
ADVERTISEMENT
Aug 22, 2009
I need some VBA help in copying ranges from one sheet to another and pasting them on a predifined order. I have one worksheet that contains a large number of ranges with data on alphabetical order. Each entry on this sheet contains several rows of data and is identified by a name (e.g. entry "David" = rows 6:11, "Mark" = rows 13:18 and "Rose" = rows 20:25). I need to select certain ranges from this sheet and copy them on a predefined order on a different sheet (e.g 1) Rose, 2) David 3) Mark. The sequence is neither set by date, alphabetical order, nor by value. I have the order already predifined. I guess I could do this by specifiying the source sheet ranges and the destination ranges as well, but as I have over 2000 entries (each consisting of six rows), I need an efficient way to do it. Any help you could provide would be greatly appreciated.
View 9 Replies
View Related
Mar 25, 2014
I have a workbook containing many pivot tables. When I create a pivot table everything works fine. When I close the workbook, reopen it, and refresh the pivot table, the new data will appear at the bottom of the table instead of being inserted in the proper row in the table. Since the table is no longer in sequential order my VLOOKUP functions don't work properly. What do I need to do to get the already established pivot table to refresh properly?
View 6 Replies
View Related
Feb 11, 2014
In my worksheet i have pairs of data from A2:A18. cell A2 is paired with A3, cell A5 to A6.
In cell C2, I have the formula =IF(A2>A3,A2,A3). then in C3 I have =IF(A5>A6,A5,A6).
I would then like to be able to drag these formulas down to C7 and take the appropriate data.
So another example, cell C4 should be =IF(A8>A9,A8,A9).
I have seen many formulas for how to drag skipping a row, but couldn't find anything on pairs of data while skipping a row as well.
The worksheet is attached : TEST.xlsx
View 3 Replies
View Related
Jan 2, 2007
_A_______B______C___
1-Jan___13:00___13:40
1-Jan___13:10___13:50
1-Jan___13:10___14:00
2-Jan___16:00___16:35
2-Jan___16:20___16:40
3-Jan___10:25___11:20
Is it possible to run something so that either somewhere else on this sheet or on another sheet that I can get the number rearranged like this.....
_A_______B_______C______D_______E______F
1-Jan___________2-Jan___________3-Jan
13:00___13:40___16:00___16:35___10:25___11:20
13:10___13:50___16:20___16:40
13:10___14:00
And do it as the infrmation is entered into the original form above. The number of entries for each date will vary.
View 9 Replies
View Related
Jan 4, 2007
I have a data entry sheet for attendance that shows the individuals name, date and hours attended. Each individual attendance is addedd to a new row. I need to transpose this data and display it in a report table, with the names in column A and showing hours worked for each day of that week. The formula needs to accomodate the growing data entry sheet as records are added (I'm using a date picker to change the week in the report sheet).
I've tried match, lookup and index and have confused myself thoroughly! Below is a sample of the data entry sheet (on left) and report table (on right)
******** ******************** ************************************************************************>Microsoft Excel - Book1___Running: 11.0 : OS = Windows XP (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutH1I1J1K1L1M1=
ABCDEFGHIJKLM1SurnameDateHours**Surname1-Jan2-Jan3-Jan4-Jan5-Jan6-Jan7-Jan2Smith1-Jan-076**Smith63600363Jones1-Jan-076**Jones66000304Rogers1-Jan-076**Rogers60600005Hathaway1-Jan-076**Hathaway60600006Pearson1-Jan-076**Pearson60000007Wills1-Jan-076**Wills60000008Smith2-Jan-073**********9Jones2-Jan-076**********10Smith3-Jan-076**********11Rogers3-Jan-076**********12Hathaway3-Jan-076**********13Smith6-Jan-073**********14Rogers6-Jan-073**********15Rogers7-Jan-076**********16Rogers8-Jan-076**********17Rogers5-Feb-076**********18Smith6-Feb-076**********19Jones6-Feb-076**********20Rogers
View 9 Replies
View Related
Jun 6, 2013
My data is like this
A
B
C
D
E
F
G
H
[code]......
now i want after the last data column to put formula "= ROUND((C2-D2)/100000,2)" in S2 similary "= ROUND((E2-F2)/100000,2)" in T2 using VBA till all data colimns upto column R are used in subsequent columns
I tried following code
Sub tot()
' This subtracts credits from debits and divides by 100000
Application.Goto Reference:=Range("s4")
Dim dr, cr, clmn, ansclmn, cln As Integer
For ansclmn = 19 To 26
[code]....
View 1 Replies
View Related
Mar 3, 2009
I have a database of names, (several hundred). These names are divided between 3 columns beginning at Row 20, C:20, D:20, E:20 Each name is within it's own cell. The entire list has been given a Named Range : ("Names_List"). Here's an example
Bob Mary Jane
Ted Frank Tom
Sue Fred Frank
Joe Tim Sue
Bren Max Lee
Luc John Paul
Frank Joe Ted
Karl Mary Jane
The names often repeat throughout these columns. Is it possible to create a script which can detect paired names? Say, to have an indication of a letter "x" in an offset column wherever these paired names appear. As an example, If i want to locate the names Frank and Ted, I could type these names in a blank cell, then run the script,( via a button) in which an indication of "x" would appear in an offset column. To look something like this:.........
View 4 Replies
View Related
Apr 26, 2009
This formula in E1 has worked before. I have attached an example, in reality Column A and B have 2000 rows and column D about 250 randomized numbers out of Column B that need to be paired with their equal in Column A.
View 4 Replies
View Related
Nov 9, 2008
i have consolidates five paired lists on same worksheet into a new list? Each pair of columns (First Column (Acct #) and Second Column (Day N Count)) contains numbers and the range of data in each column and/or row will be unknown each week, so need the formula to auto adjust. New list should have this format:......
View 4 Replies
View Related
Aug 13, 2014
In the attached spreadsheet my data consists of columns A through K. Essentially I want to line up the data so Column E matches column K. When no data exists in the other section, then a blank line should be inserted. The example I gave has the data formatted the way I want it. As you can see, line 11 is blank. Column L can be ignored as my manual way to handle this was to create an if statement that returned "Error" when something didn't match.
My spreadsheet has 29,000 lines in it. So doing this with my IF statement method would take enormous amounts of time.
Sample Problem.xlsx
View 5 Replies
View Related
Apr 27, 2014
A table re-organisation issue I have. Best described with an example I think:
Header
ID1
ID2
Q1
Q2
Q3
Q4
Data
1
8
A1
A2
A3
A4
[code]....
For the original data row (at the top) there are always 2 'ID' columns and 4 data columns.
There are about 100 rows, so the resulting table will be roughly 400 lines long.
I'm on the verge of doing this manually as the formulas and scrappy VB have so far been unsuccessful.
View 9 Replies
View Related
Jan 22, 2009
-- I have one sheet with 100 columns. (Master)
-- I have a report that only needs 10 of these columns, in a certain order. (Report)
What is the most efficient way to do this? Note I am not a VBA guru.
Can I add the column headers and positions (in Master) to an array?
Then in a new sheet (Report), copy and paste the desired columns.
View 9 Replies
View Related
Nov 3, 2009
In the first colum there are sub-columns that i need to reorder into flat format. This would be easy if all sub-columns were from the same size, but this isn't the case.
I think that I need to use a macro that finds the records on the colum, based on each title (A, B, C, D for the illustrative example attached). and then paste them into a new column.
View 11 Replies
View Related
Nov 8, 2012
I figure the before/after image would be best to describe what I need. I have various sections of data saved in this one spreadsheet which a program reads from for comparisons.
Right now they are in a list form like this:
Now the end result I want to look like this. Basically take the items in the column, and add the items selected next to it, one in each column not including itself of course.
These are basically the comparables, example this list would be "car manufacturers", and below that in cell A7 I might have another list started that has to do with "motorcycle manufacturers" etc
The end result would give a row of all possible combinations. The app we use pulls from the rows so it needs to have all of the items that are comparable in there and I can't seem to find a way in which to do this.
Hopefully this is understandable when you see what I manually did (unfortunately I need to do this for about 4000 entries, a few hundred groups of different characteristics).
View 1 Replies
View Related
Apr 1, 2008
I have a Pivot Table on which I am unable to drag the row items (Salesperson Names) to a different position. What am I doing wrong? Attached Sample
View 9 Replies
View Related
Oct 2, 2012
Nothing else?
What settings do I need to change as it's handy to amend recorded code rather than write it all out.
View 2 Replies
View Related
Feb 24, 2014
I'm trying to sort out a list of names from a website that publishes names in the following format:
DOE John
VAN GOGH Vincent
DA VINCI Leonardo
NADAL PARERA Rafael
JIMENEZ RODRIGUEZ Miguel Angel
What I'd like to do is get the names in the following format
John Doe
Vincent Van Gogh
Leonardo Da Vinci
Rafael Nadal Parera
Miguel Angel Jimenez Rodriguez
Basically all the last names - which are all capitalized - would be moved to the end of the text string. Of course any leading spaces should be removed and I guess using the Proper() function, all capitalized words could be capitalized in a standard way.
I found the following function, here: [URL] ...
but what it does is just take the capitalized words and separate them into a separate cell, which is not all of what I want.
View 1 Replies
View Related
Nov 30, 2009
need to create a macro that inserts 3 rows below each existing row of data and simply copies and pastes that data into each of the empty rows before moving on to the next unique row and doing the same thing again.
This is what I have so far, but I can't seem to get the loop right.
Rows("2:2").Select
Do
Selection.Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
Selection.Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
Selection.Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
activecell.Offset(-1, 0).Select
Range(activecell, activecell.Offset(0, 5)).Copy
activecell.Offset(1, 0).PasteSpecial
activecell.Offset(1, 0).PasteSpecial
activecell.Offset(1, 0).PasteSpecial
Selection.Offset(1, 0).EntireRow.Select
Loop
View 5 Replies
View Related
Jul 16, 2014
I am trying to average different rows and columns within a larger block data set in a series. This data is from a 96-well absorbance microplate reader experiment. I only mention this to describe the raw data output I am dealing with.
Each set of data is in a 12 x 8 block with the next block below it with one blank row between. So I have a block of data contained between A1->L1->L8. The next block is contained between A10->L10->L17. This continues for a total of 28 blocks.
I want to take averages from rows or columns from each block and autofill them into a single column. So for example I'll need =Average(A1-C1) with =Average(A10-C10) below it and so on and so forth. My problem is that if I try to autofill from this already started column the third row will take the average of A2-C2 instead of A19-C19.
Is there a formula/script for me to skip the correct number of rows to the next data block?
I have attached my spreadsheet to this thread. I am using Excel 2013
FeS_Kinetics.xlsx
View 1 Replies
View Related
Apr 30, 2014
I am an undergraduate biology major working on a geometric morphometrics project. It is focusing on wing asymmetry, so I have data for the left and the right wings for a sample population of 30 individuals. The data from the software is exported as a spreadsheet with two rows of data for each individual, since each wing was calculated separately, and my mentor has asked me to average the data for subsequent analyses in another program.
I'd like to do this easily with an Excel formula, but when I try to do the averages I'm having a little trouble getting the formula to carry on correctly. I need it to average, say, E2:E3 then the next cell average E4:E5, but instead the only thing I can get it to do is average E2:E3 then the next cell do E3:E4. Which obviously doesn't work for me, since E3:E4 is data from two different individuals.
Is there a way I can do this for my data? One of my spreadsheets is a 60x32 matrix of landmark coordinates, so I'd really rather not try to do all the cells individually.
View 1 Replies
View Related
Apr 16, 2014
removing duplicate rows and move other data frm rows to columns.xlsx.
I am attaching a sample excel sheet showing what I need to do.In the first tab, I have a list that includes duplicate rows (first column only). I want to remove those duplicate rows but I don't want to lose the data in the following columns which can be unique or duplicates as well.
see the desired result tab in the sheet to get an idea of what I am looking for as the end result.
Keep in mind that the actual source file I am working with could have up to 50000 row, and the expected results could be around 2000 rows. So nothing can be done manually.
View 5 Replies
View Related
Oct 30, 2013
I have a spread sheet with values in the area of A1:H834
In column H, I have number values from 1-7.
Essentially that number value means that the values in the row are duplicate.
So, for example, if H2 has a value of 4, that means that $A$2:$G$2, really should have an additional 3 rows underneath with the EXACT same data in each cell, however, the way the sheet was created, was to remove the duplicate values and just indicate in column H, the number value of how many duplicates $A$2:$G$2 really is.
I need to unpackage this and create what it was originally. What type of formula can I use, to look at the value in H2, and then insert underneath that number of rowes with the exact same data as A2:G2 and do the same for the remainder of the table all the way down to A834:G834
View 1 Replies
View Related
Aug 5, 2009
See the attached xls. There are two worksheets contained therein, one with the original data, and the other showing how I'd like it organized.
I have rows of product data consisting of a product id followed by repeating attributes of quantity and associated price. I need to convert each product row to multiple rows of each quantity/price pair while preserving the id for each pair.
View 10 Replies
View Related
Oct 12, 2011
I have a worksheet with 40 colums and 9200 rows. There are columns with empty data in the rows. Can I have a macro to copy data in the rows in Column E, F, I, J K and L to empty rows below?
View 3 Replies
View Related
Jun 28, 2014
I have raw data stored in one row which I would like to break up into four individual rows.
I cannot get the formula to repeat and I don't want to manually do it.
View 3 Replies
View Related
Mar 9, 2013
I have a game where people are scored on the spreadsheet, but they can join anytime, so everyday, I get a combined list of points. The list consists of people who joined previously, and the new players. How should I combine the points?
[URL] ..........
View 4 Replies
View Related
Oct 1, 2009
I want copy the data from Rows 25-29 (B25:E29) to under Rows 20 (B20:E20) or Rows 21 and next rows, When I click this Button (New).
And then after copy the data, data in Rows 25-29 (B25:E29) will be deleted, And insert new row for the next data.
View 3 Replies
View Related
Apr 30, 2014
I am attempting to create a macro to generate emails based on data in a sheet. The goal is to run the Macro, and have it generate emails to send to contractors letting them know what they are going to be paid. For instance:
Name in Column J
Email in Column L
Memo in Column N
Balance in Column T
Due Date in Column P
Week Ending Date in Column H
Now what I would like to happen, is to tie a macro into a button that will create the email as follows:
To Field: Email address from Column L
Subject: "Company Payment Remittance Payment Date *Date from Column P*"
Body: Hello *Name from Column J*,
For *WE Date in Column H* you will be paid *Balance from Column T* for the time worked of *Memo in Column N*
Now the tricky part is that I want the email to contain all line items for each email address. So instead of sending one email per line, have the macro automatically put all of the information that needs to be sent to one email address into the message. I don't know if that is possible, but it sure would make my life easier if it was.
I have attached a sample workbook of the data that will be used
Example Workbook for Email Macro.xlsx
View 1 Replies
View Related
Apr 15, 2014
I'd like to have a sheet with multiple columns of data (say A thru K for instance.). Id like to reserve column A for ONLY imputing an X. The rest of the columns b-K would have data in the cells. I'd like to have a macro that when it saw an X in column A, would copy all of the data in cells B-K in that row, paste it into the next empty row of a second sheet (for history tracking), then go back to the original sheet and continue looking for additional "X"'s and repeat. Once all of the X's were copied, it would "clear" (Not delete because some of the cells would have formulas in them that would need to remain for future use.) the cells based on the "X" then finally move all of the remaining data up to the empty rows to fill in the empty rows. This last piece would be more for esthetics to have a clean looking sheet.
View 1 Replies
View Related