I have a list of names, some of which occur several times, with values attributed to the names in the adjacent column. I want a list in which the names occur once and the all the values belonging to the name appear in the row the name is in. I have code which almost does it, but not quite.
My data looks like this example:
so I start with a list
and then run my code.
My code is:
Dim ws1 As Worksheet, ws2 As Worksheet
Dim i As Long, j As Long, LR As Long
Set ws1 = Sheets("Deutsch")
Set ws2 = Sheets("Deutsch2")
It works fine for a while, then gives me an 'error 1004 object or application error' at always the same point, when it gets to row 144 in the destination list.
The editor tells me I should debug the line 'If ws1.Cells(i, 5) = ws2.Cells(j, 5)' in the second 'Do'-block in the code.
I have two Excel lists. One master list (list A) contains all our email addresses from our customers. The other list (list B) contains a list of people who do NOT want to recieve emails. How do I take the emails from list B (there are 1,200 of them) and compare them automatically to list A? Basically if any email address from list B appears in list A, I want it to delete in list A.
I have two lists of data and am trying to write a formula that will return a "1" if the second list firstly contains one or more entries that are not in the first list and secondly the fourth cell on the same row of one or more of the entries not in the first list contains an "F".
The first list is in a sheet called "Select" cells J2:J7 and the second list is in a sheet called "Model" cells A2:A50. The second list will occasionally contain blank cells.
I have tried to use a combination of COUNTIF and VLOOKUP but am struggling to make any progress.
I have two lists in the same sheet. List one spread over 3 columns contains all the possible postcodes available to my job, the second list once again over 3 columns contains all the postcodes my job is currently using.
How can I find out the Postcodes that I am not currently using from the available list. I am sure it is a simple Lookup command, but cant for the life of me figure it out.
I have a worksheet that contains six columns (A-F). I am trying to compare the values found in column F (~50 values) with the values found in column E (~1500 values). Both columns contain unique values. The majority of values in Column F are contained within Column E. The goal is to run a function that returns all rows in column E that contain a value found in Column F. I've been trying VLookups and what not, but my overall goal is to match up all values found in Column F with the appropriate row that contains the same value in Column E.
I'm trying to set a formula that will calculate the price difference between two identical items in two different sheets. The items' order is not the same and each list includes some different items along the identical ones.
I'm trying to compare two lists of songs to see which songs are not shared by both lists. I wrote a simple function to try to do this but ran into problems pretty fast. I want to create a function which will tell me if the song in a cell (lets say cell B2) is the same as any of the cells in Column A.
I have two lists of serial numbers which I want to compare to find those number which are not in both lists. I have used the following formula: =IF(A2=$G$2:$G$283,"",A2) where A2 equals the first cell in list 1, G2:G283 the range of the second list, true value "" false value display the contents of the original cell.
This works so far; where the contents in the A and G cells are the same on the row eg A2 and G2, but where they are different the contents of the A cell are being returned even if they are elsewhere in the range.
I'm trying to compare filtered lists across several worksheets. What I'd like to do is:
1) compare the filtered list from Sheet 1 with the filtered lists from Sheets 2-5, and if an item from Sheet 1's filtered list appears on ALL the other filtered lists, said item will be pasted to a new list on Sheet 6, under the heading "Sheet 1".
2) I need to do this for every item on every filtered list, ultimately creating five new lists on Sheet 6 (i.e. after going through sheet 1's filtered list, move on to sheet 2 and compare each item to Sheets 1, 3, 4, 5, and qualifying items pasted in Sheet 6 under heading "Sheet 2", etc.).
He wants to be able to cross check all the names in A with the names in F, and if any matches then also compare Column B with Column G. Again, if any matches then finally check Column C with Column H and pull the results
I would be extremely grateful if someone had an idea on this and could possibly give me a formula that could do this, or am i asking too much from Excel?
I have a list of names and a seperate list of names with emails.
In column A there is a last name, column B a first name, and then for the second list in column D there is an email.
I need to tell Excel that if column A and Column B both have a replication on the list, then in Column D populate it with the email address on the list.
I know this is confusing so I have attached a sample of my spreadsheet. The email address is in yellow and I need to have it copied to the cells in white. The list is almost 14,500 lines long and it would take forever manually.
I have 2 lists. One column has a about 200 values of 7 digit numbers. The second column has about 500 cells with text. This text should include one of the 4 digit numbers from the first list. If it doesn't, I want to purge it.
The 7 digit numbers always appear in the same spot in the column 2 figures. So say the number I'm looking for is 1122 and the second list has a cell with L2871122BD. Perhaps there is an easier way to do this, but my plan was to.
create a 3rd column that has formula =mid(B1,5,4) which should isolate the 4 digit value i want to compare to. Then create a 4th column that has the formula =ISNUMBER(MATCH("*"&C1&"*",A:A,0)) to check the newly created MID number to the numbers in column one. Afterward I would simply arange from small to large and delete all of the false entries in column 2.
The only problem is, my ISNUMBER function doesn't work when referencing from my MID formula to column 1. If I do the match and compare the smaller number in column 1 to the larger in column 2, it does work. Is there an easier way to delete or highlight entries in Column 2 whose middle 4 digits don't show up in column 1? Here is an example of what I'm working with.
I have two separate columns of text and want to identify similarities/matches. vlookup false is good for exact matches but vlookup true is too approximate - is there a way to hone vlookup true to match first 4 or 5 text characters rather than just the first? If vlookup no good for this what is best function for identifying approximate matches in two separate text lists?
If I have a column with a list of items, and another column with a different list of items, how can I get excel to check/compare both list and return a value (eg. TRUE) if there is an item that is both lists, or a different value (eg. FALSE) if there isn't?
I'm currently working on sorting a column of data from a PDF file into separate columns to later compare to another sheet. I'm having a few problems getting the data into a workable format, and also don't know how to compare to the other file.
Ultimately, I want the data in columns that look like this: Name, City, State, Zip, $123.00, mm/dd/yy
Currently it looks like this:
A 1 Name 2 City State Zip 3 $123.00 mm/dd/yy
The sheets I'm working with are thousands of rows long, with these three rows of data repeating for every person. I have two problems with them, however:
1. I ultimately need each of those pieces of information into a seperate cell, in separate columns. I've been transposing the data then doing "Text to Columns" to get it from three separate rows in Column A to one row in Columns A, B, C etc.
The problem with this is the names aren't always uniform. Sometimes there's Mr. or Mrs. in front of them, sometimes they have a middle initial, or an "esq." behind them, which completely messes up the "Text to Columns." Is there a better way to break them up into separate cells?
2. Secondly, not all of the names are individuals- some are businesses or charities. I want to remove all of these (and the two lines of data that go with each of them), so I only have individual people. Do you have any idea of how to make excel know the difference between, for example, "Mr. John Smith" and "Smith and Sons Realty"?
3. Lastly Once I have all of this data spread out into the different columns (Last Name, First Name, City, State, Zip, Date, Amount), I need to compare it to another list. Basically, I've got one list of data configured in a similar way, and I want to identify any repeats between the two lists. I know that excel has a way to delete repeats, but what I need is a way to delete everything BUT repeats.
I have two different lists of names. One is about 3000 names long and the other has about 3500 names. I want to identify the 500 people that are not in the first list that are in the second. If there anyway to do this? I was going to put them in A-Z order and then go through and using an IF(A=B,"yes","no") and go through and insert new cell when ever it says no till it says yes BUT the functions start messing up when I insert a new row and it's taking way too long.
I am working on a project, I have three different lists that I want to compare and I want to identify in 3 separate columns which titles are found on which list.
Title List 1List 2List 3 ACAROLOGIA x ACCIDENT ANALYSIS AND PREVENTION x ACROCEPHALUS x ACS CHEMICAL BIOLOGY x x x ACS CHEMICAL NEUROSCIENCE x x x ACS COMBINATORIAL SCIENCE x x ACS MEDICINAL CHEMISTRY LETTERS x x ACS SYNTHETIC BIOLOGY x x x
I have two seperate lists. One on Sheet 1 and One on sheet 2. What I need to do is take the list on sheet 2 and compare it to the list on sheet 1. If any of the items appear on sheet one, I need to delete those items form sheet 2.
So in the end the only items left on sheet 2 will be items that dont match any items on sheet 1
1. Sheet1; how to Add "B000" in the List A or "B00" if the digits and 5 in the list 2. Sheet2; how to remove "B000" or "B00" from the list 3. Sheet3; how to highlight difference or find out the difference between to lists
Is there a way to make a drop-down list optional? When I create drop-down lists the user has to make a choice from that list.
Example: a list of doctors. I need the user to be able to select from that list if the patient saw one of those physicians, but if the patient saw another doctor not on the list, I need the user to be able to enter the name of that other doctor. Currently the user has to select from the list or not enter a doctor. I am using Excel 2003.
I have one .xls file that contains an inventory list of all the products that I want.
Unfortunately this .xls file does not contain the prices for these items. I have another .xls file that contains SKU numbers and the prices related to those SKU numbers.
Is there a way to run every single SKU in the first file against the second file and, when a match is found, take the entry in the price column of the second file and place it in the first file so that my first .xls file contains all my products with prices?
I need to compare the value's on 2 cells. I have a sheet setup for my sales I would like to compare each day of the week. So in other words I would like to compare this Monday with last Monday and know what the percentage of my sales ether up or down is.
Example: Last Monday = sales $100.00 This Monday = Sales $200.00
So If sales are up I would like the percentage amount font to be in green. But if sales are down I would like the percentage amount to be in red.
I have two spreadsheets I would like to compare against each other, last weeks inventory (Sheet 1) and this weeks (Sheet 2). All items are listed by unit number, is there a way to have all unit numbers on Sheet 1 colored red that are not on Sheet 2 and vice versa?
Is there a way to compare two cells and return true if they are the same, false if different? There is text and numerical data. As a side note, can anybody recommend a lightweight reference so I can sit for an evening or two and at least get an idea of what excel can do?