Matching Then Aligning Data Across Rows And Down Columns
Dec 22, 2008
I have what I believe to be a simple problem, but for the life of me, i can't seem to figure it out.
I have a list companies in column A that have a corresponding revenue number in column B.
In column C, I have ANOTHER list of companies and their corresponding revenue number in column D.
Example:...
View 14 Replies
ADVERTISEMENT
Aug 13, 2014
I've got 3 pairs of columns and I need to sort through them and align the cells in columns E&F with those in A&B and C&D. The cells I need to match up are the times (columns A, C and E)
Example - convert this:
A...............................B..........C...............................D.........E...............................F......
BID TIME.....................BID.......ASK TIME....................ASK......TRADE TIME................TRADE
30/07/2014 14:21:04.....6.10.....30/07/2014 14:22:37.....6.13.....30/07/2014 14:21:04.....6.13
30/07/2014 14:21:06.....6.11.....30/07/2014 14:22:54.....6.13.....30/07/2014 14:22:37.....6.13
30/07/2014 14:22:37.....6.11.....30/07/2014 14:22:56.....6.13.....30/07/2014 14:22:54.....6.13
30/07/2014 14:22:54.....6.11.....30/07/2014 14:22:56.....6.14.....30/07/2014 14:22:56.....6.13
30/07/2014 14:22:56.....6.11.....30/07/2014 14:22:59.....6.13.....30/07/2014 14:22:59.....6.13
Into this:
BID TIME.....................BID.......ASK TIME....................ASK......TRADE TIME................TRADE
30/07/2014 14:21:04.....6.10.................................................30/07/2014 14:21:04.....6.13
30/07/2014 14:21:06.....6.11........................................................................................
30/07/2014 14:22:37.....6.11.....30/07/2014 14:22:37.....6.13.....30/07/2014 14:22:37.....6.13
30/07/2014 14:22:54.....6.11.....30/07/2014 14:22:54.....6.13.....30/07/2014 14:22:54.....6.13
30/07/2014 14:22:56.....6.11.....30/07/2014 14:22:56.....6.13.....30/07/2014 14:22:56.....6.13
............................................30/07/2014 14:22:56.....6.14............................................
............................................30/07/2014 14:22:59.....6.13.....30/07/2014 14:22:59.....6.13
I don't know VBA so hopefully there's a way of doing this with a basic Excel function.
View 2 Replies
View Related
Feb 11, 2013
How to align two columns that sometimes have rows that are unequal in number. The data is sourced from a web page that has a table layout and the table lays out the one to many values this way in the table. My data looks like this:
Table ...Term
t1 ..... term1
t2 ......term2
..........term2.a
..........term2.b
..........term2.c
t3 ......term3
..........term3.b
The editor removes leading spaces. In the column Table there are only three rows but in column Term there are multiple rows per single row from column Table. So one row t2 for column Table has three rows in column Term. Are these cells merged and can I in a mcro detect if the cells are merged? How is the addressing of the merged cells in a VBA macro?
View 2 Replies
View Related
Feb 22, 2007
How do I sort out columns aligning them to match data in another column?
Column B is 200 rows long all with data such as FLEZ054246. Columns C is 100 rows long but it will match some from B. I need to align C,D,E with B as long as C & B match. The rows that don't match can be left open for C, D, E.
EX.
Column B Column C Column D Column E
FLEZ054246..........TXEZ061244.........WCG................TX
TXEZ061411.........TXEZ059129..........DOUGLAS...........FL[code].....
View 8 Replies
View Related
Apr 30, 2013
aligning some data. Cupno has more entries than seqno and there are duplicate entries. I cannot think of a way to get seqno+results to align with cups. If it's possible to delete rows the don't have a corresponding seqno thats ok too. I've attached the example workbook. Sheet1 is the data and Sheet2 contains what ideally the results should look like
View 2 Replies
View Related
Feb 22, 2007
How do I sort out columns aligning them to match data in another column?
For instance.
Column B is 200 rows long all with data such as FLEZ054246. Columns C is 100 rows long but it will match some from B. I need to align C,D,E with B as long as C & B match. The rows that don't match can be left open for C, D, E.
EX.
Column B Column C Column D Column E
FLEZ054246..........TXEZ061244.........WCG................TX
TXEZ061411.........TXEZ059129..........DOUGLAS...........FL
TXEZ061244.........TXEZ061101..........ERNIE...............TX
TXEZ061101.........FLEZ059314..........JASON...............FL
FLEZ054336.........TXEZ064240.........ERNIE................FL
TXEZ063075........TXEZ059503.........MICHEAL............TX
FLEZ060652.........TXEZ059027.........CLAIRE...............TX
FLEZ-054341........TXEZ059063.........CLAIRE...............TX
TXEZ060723.........TXEZ059164.........PAUL..................FL
TXEZ059503
FLEZ059314
TXEZ059164
TXEZ059129
TXEZ059063
TXEZ059051
TXEZ059027
I need it too look like this:
Column B Column C Column D Column E
FLEZ054246..........FLEZ054246...........ERNIE................FL
TXEZ061411
TXEZ061244.........TXEZ061244.........WCG..................TX
TXEZ061101.........TXEZ061101.........ERNIE.................TX
FLEZ054336
TXEZ063075
FLEZ060652
FLEZ-054341
TXEZ060723
TXEZ059503.........TXEZ059503.........MICHEAL............TX
FLEZ059314..........FLEZ059314.........JASON...............FL
TXEZ059164.........TXEZ059164.........PAUL.................FL
TXEZ059129.........TXEZ059129.........DOUGLAS...........FL
TXEZ059063.........TXEZ059063.........CLAIRE..............TX
TXEZ059051
TXEZ059027.........TXEZ059027.........CLAIRE..............TX
View 6 Replies
View Related
Apr 23, 2013
I have a data set with raw data from an online survey with >2000 rows of data, with each row varying in width from 2 columns to 4 columns wide of data, located in columns A through D. Each row has the value 2 in it as well as some additional values on either the right or left side (the location of the value 2 varies -- so it's not always in the same column). Picture attached of some example data for clarification:
Picture 1.png
I want to figure out if there is a function that can align all of the 2's in the same column -- let's say Column C -- while maintaining the same data that was to the right or left of the 2 (up to two values on either side) before all of the 2's were aligned in the same column.
I could certainly manually align the central column by copying and pasting repeatedly, but that would take an incredibly long time -- and I am sure that there is a better way to do this. I can use a VLOOKUP function to align all of the 2's in a column as well as everything to the right, but I have tried using the INDEX and MATCH functions to do a VLOOKUP to the left, but this doesn't seem to be working because the source column (where the number 2 is) varies by row, so it doesn't match in the same way that a VLOOKUP function does.
View 5 Replies
View Related
Nov 10, 2011
I have a set of 50 or so large worksheets that need updating each month. My problem is the figures I need to update these sheets with are formatted differently (different alignment of blank rows) to the destination.
I'll try to illustrate, this is the sheet I need to add data to on a monthly basis... (you'll need to imagine the numbers in column form as I'm no HTML expert)
May June July
23 34 45
65 34 45
34 23 23
[Code] .......
The blank rows need to remain uniform. When I need to paste in August's data the blank rows in the raw data extract are aligned differently and it's a laborious job deleting and inserting cells to get them to align (the sheet has hundreds of rows).
I'm capable enough of recording a macro to replicate the delting/inserting of cells BUT of the 50 or so sheets I need to update there's no uniformity of where the blank rows occur. To further exacerbate, there's no uniformity over where the blank rows occur in the data that needs to be pasted in, either. The blank rows already in the worksheets HAVE to remain and can't be deleted or altered.
View 9 Replies
View Related
Jan 20, 2013
My task is to combine two large databases into one spreadsheet by extending the number of columns. The data from each database is 90% matching based on an identification number, however occasionally there are additional rows or unmatched identification numbers that need to be kept for analysis.
When this happens, there needs to be a blank row inserted to represent the missing data in the rest of the corresponding row.
I am having trouble finding a quick way to do this because I have approximately 12,000 rows (and columns up to DV when combined).
for example:
p1
data
data
data
data
p2
data
data
data
data
[Code] .....
needs to become:
p1
data
data
data
data
[Code] .....
I am guessing I will need a macro of sorts, So far I have made one column that tell me if the ID's are matching or not (1 or 0) and if they are not matching (0) I manually insert the rest of the row that is missing or make space for the duplicate data (which needs to remain).
View 5 Replies
View Related
Feb 27, 2013
I have a spreadsheet with an example attached. There is data in multiple rows across multiple columns but not all rows and columns have info in every cell. I would like all the information to align to the far left column but stay in their respective columns.
View 7 Replies
View Related
Sep 17, 2013
I have a document where there are hundreds of rows and columns. The rows contain lines of data, while the columns are topics. Each row needs to be traced to an appropriate column. Once traced, I simply check off the appropriate cell with an X. I have to make sure that each row has at least one "X".
I have attached a sample file. look at cell B8. The statement in this row reads "Issue Placard information and registration". Now, I already know what column this statement belongs to (column CT).... but I don't want to scroll over hundreds of columns to that particular column, or have to freeze any panes, to locate that cell and mark it off. I have been doing this manually and it is incredibly tedious and time-consuming. Is there a way where I can locate the appropriate cell and go to it without having to scroll? When I'm scrolling I have to not only scroll, but I have to read the rows and columns again to make sure they indeed match. I want to be able to locate the right cell instantaneously and just enter an X value.
View 1 Replies
View Related
Nov 1, 2013
I have a document where there are hundreds of rows and columns. The rows contain lines of data, while the columns are topics. Each row needs to be traced to an appropriate column. Once traced, I simply check off the appropriate cell with an X. I have to make sure that each row has at least one "X".
I have attached a sample file. look at cell B8. The statement in this row reads "Issue Placard information and registration". Now, I already know what column this statement belongs to (column CT).... but I don't want to scroll over hundreds of columns to that particular column, or have to freeze any panes, to locate that cell and mark it off. I have been doing this manually and it is incredibly tedious and time-consuming. Is there a way where I can locate the appropriate cell and go to it without having to scroll? When I'm scrolling I have to not only scroll, but I have to read the rows and columns again to make sure they indeed match. I want to be able to locate the right cell instantaneously and just enter an X value.
View 1 Replies
View Related
Jun 5, 2009
My question is about aligning text in ListBox columns. In a ListBox, I have 5 columns. I need each column's text to be aligned in its own way, independent of other columns. The following explains my need more specifically.
I need the text in column 1 to flush right against column 2, and for column 2 to flush left against column 1. I need column three centered. And I need the text in column 4 to flush right against column 5, and the text in column 5 to flush left against column 4.
View 3 Replies
View Related
Nov 21, 2006
I need to run a macro that compares two columns and Highlights the ineuality rows in both columns
View 9 Replies
View Related
Jan 9, 2009
I have a worksheet with 2 columns. The first column contains names and the second column contains numbers associated with the name.
How can I specify a name, go through the sheet to find all the occurances of that name and then paste all the numbers associated with that name in another worksheet in a set position.
View 9 Replies
View Related
Feb 5, 2009
I've got two workbooks, Workbook1 with a list in column a and Workbook2 with a list in column F. I want to compare the cells in these columns and delete the entire row in Workbook2 if there is a match.
View 3 Replies
View Related
Feb 4, 2008
I need to track only certain tasks id's out of entire task id database. I have 1 column of data on sheet "A" that represents task id's I want to track. On sheet "B" I have multiple columns of data, the first column being the task id's. I need to compare the column on sheet A with the first column on sheet B. If there is a matching task id, I need to copy the entire row of data from sheet "B" on to a new sheet "C". If there is no matching task id on sheet "B", I would like to copy just the task id. Each week I would get a new set of data for sheet "B" (which can vary in length) and I need the ability add or subtract task id's on sheet "A" that need tracking. See the attached xls file for a piece of sample data.
View 4 Replies
View Related
Oct 23, 2008
I run reports from Accounting systems that reflect different periods. Of course each period ends up having more or less accounts. See the attached file. This is just one little sample of big massive reports. I need to line up accounts across each Quarter. so that i can calculate differences between each quarter.
In the past few times, I have done this manually. There has got to be a way to do this quicker. I have tried Pivot table. but pivot table didn't help either (unless i was not doing it right).
View 3 Replies
View Related
Dec 21, 2005
I have 2 columns of data. Both should ultimately have identical data,
but both have extranious data I need to separate. These lists will be
300+ long, so by hand is taking forever. Example:
Column A Column B
12345 12344
12346 12345
12347 12346
12348 12347
12349 12349
I need a way to extract the 12344 from column B since it is not in A,
and 12348 from A since it is not in B. They do not have the same number
of entries.
View 12 Replies
View Related
Jan 16, 2010
i am using this spreadsheet to monitor when equipment is being borrowed in the office and want a quick view reference (columns A-C) based on the data entry in columns &G. Please note that htis is an example as the original file is confidential, if someone can answer my query here i will transfer the formula to my actual workbook. In the actual workbook the data entry and quick view will be on different sheets if this makes a difference.
View 3 Replies
View Related
Mar 15, 2007
I have 2 columns of text A & C and I want to find any text in C where the entry is matched in A, and then have the text entered into column B next to the match found in column A. As always an example as my explanations are usually poor.
View 2 Replies
View Related
Apr 18, 2013
So I have this problem in excel with comparing 2 columns.
Basically, I have 2 columns(a &B) that I need to compare with one another and find out the matching data. I am trying to use that matching data to enter in our reports.
Both columns might have duplicate items because I am dealing with premium numbers.
Formula to compare these 2 columns and find the matching data and extract it to a separate column. Keep in mind, i am dealing with almost 20,000 lines of data.
View 2 Replies
View Related
Feb 19, 2008
I'm working on a excel sheet to compare data of 2 columns. One column (or array), let's say C3:C13 contains "x" in some of its cells. The other column, let's say P3:P13, contains "d" in some of its cell. What I would like to do is compare the cells of the same row, see if they contain any data and return 1.
So if C3 contains an "x" and P3 contains a "d", therefore it returns 1. If C4 doesn't have an "x" and P4 has a "d", it will return a 0.
The closest I can get to this is the following formula
=SUM(IF(AND(C3="x",P3="d"),1,0), IF(AND(C4="x",P4="d"),1,0), IF(AND(C5="x",P5="d"),1,0), IF(AND(C6="x",P6="d"),1,0)), IF(AND(C7="x",P7="d"),1,0)), IF(AND(C8="x",P9="d"),1,0)), IF(AND(C6="x",P6="d"),1,0))...
However, this formula is way too long. Is there another way of writting or simplifying this formula?
View 13 Replies
View Related
Dec 31, 2008
Column A contains the date, every day since 1/2/07 to present
Column B contains a value for that date
Column D has dates within the range in Column A but at odd days (e.g. 4/2/07, 10/2/07)
Column E has data which corresponds to the date in Column D.
Can anyone advise of a formula which can allow me to put the data in Column E in line with the dates on column A rather than the dates in column D?
I want to have in Column C values from Column E that match with the dates in Column A, so for example next to 1/2/07 the cell would be empty but next to 4/2/07 in column A would be the value corresponding with that date in columns D & E.
View 9 Replies
View Related
Feb 18, 2014
I'm using the code below to compare columns on two sheets (1 column for each) and where there is a match, copy data from the 'Source' to 'Destination' sheet.
[Code] ...........
The code works fine, but I'd like to amend this, but I'm a little unsure about how to proceed.
The script currently compares column C on the 'Source' sheet with column D on the 'Destination' sheet and where a match is found copy column G from the 'Source' sheet and pastes this to column O on the 'Destination' sheet.
I'd still like to copy and paste the same columns, but I'd like to compare two columns from each sheet, so from the 'Source' sheet compare columns C and E to columns D and J on the 'Destination' sheet.
View 2 Replies
View Related
Dec 1, 2008
I am trying to do a multiple compare.
First I have a table that has these headings with data..
Name, Level, Req1, Req2, Req3, Req4
Bob, 2, 423, 506, 649, 798
Fred, 4, 601, 799, 1023, 1547
In another section I have..
name Drop down, level drop down. with the 4 Req.
Basically, when you select Fred and 4, I want to to display 601, 799, 1023, and 1547 in the columns to the left of where you do the selection. (which is not in the same place as that table at the top of this question.
View 9 Replies
View Related
Jan 18, 2014
I work on graphics which show financial data. The base is day data together with calculated added values the graphic worked and showed good pictures.
But now I encountered a problem with the graph - related to not listed days, points are "generated" which do not be in line with the rest of the data !?
EXCEL_Forum_20140118.jpg
View 1 Replies
View Related
Jul 10, 2006
I'm trying to use a vlookup or some formulae in sheet 3 that looks at AGDP and matchs column A with a number in statement file worksheet column b. If they match not all of them will then the row is cut and paste into Sheet 3.
View 9 Replies
View Related
Sep 27, 2013
I have data below that is misaligned. I would like to know if there is a simple way to automate it's alignment like below
Table:
PC HW
PC
Operating Income
PC MN HW
PC MN
PC
Operating Income
[code].....
View 1 Replies
View Related
Sep 27, 2013
I need to find if there are matching addresses in 2 different excel files. If the same address appears in both files, I would like the new worksheet to return the address along with the sale price from the 1 file and the rental amount from the other file.
I have tried using vlookup but the problem is the exported data file contains the street number in one column and the street name on another column. I have attached a truncated example of both the rental data and the residential sales data.
View 5 Replies
View Related