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.
Monthly I am sent a spreadsheet detailing cost centre approval ranges for our management team. Unfortunately, the data provided shows a low range and high range in two different columns. Is their a formula to automatically generate the values for the missing numbers
For example columns A 1001 & columns B 1007
Can excel automatically generate the 1002, 1003, 1004, 1005 & 1006
1. Using a formula, I am trying to to obtain a list of unique values (string) (caveat: see #2) from the range E2:E10000 (arbitrarily chose 10000 - the row number is variable)(see #3).
I currently have a formula that seems to work for this purpose but I don't know how to add the condition in #2 (below)
2. To include all unique string values except those starting with the letters "IC"
3. Is there a way to make this formula so that it can only seek values up to the last row, and not go to the 10000th row if not necessary? The E column has no empty cells until after the last row that contains data.
Here is the formula I currently use which serves #1 (above):
Any way to improve/simplfy this formula for the purpose describbed in #1? How can I add the condition in #2? Can you see a way to include #3? The most important issue here is #2.
Example of desired results:
Column A | Column B AA | AA DD | CC AA | DD CC | DD | DD | IC | IC |
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 a number of text columns, side by side in a worksheet, containing names. I wish to combine these columns into one new column, removing any duplicates, to create a single list of names. Is there a simple way to do this?
I'm trying to use Advanced Filter to generate all the unique values within a list, only at times I want to Autofilter the data, then use the advanced filter to determine all the values of the slimmed list. For some reason, this works fine on column A, only returning the values that begin with a 1 when the column is filtered for all values beginning with 1. However, when I run the advanced filter on column 2 with column 1 filtered to all beginning with 1, all values all returned regardless of whether column 1 criteria is met. Either way, after the advanced filter, the autofilter has been removed.
I am trying to automatically construct a unique consolidated lists from several other lists. I want this to be formulated in such a way that the mother list is uptodate and reflect all changes made to the subsidiary lists. I have attached an example of what I am trying to achieve.
I've read a lot of tutorials on how to use pivot tables, but found them either too basic, or too advanced, and never finding any example of what I am looking to do.
I have a database, column A holds names, and column B their phone numbers. I'd like to generate a list of unique names and their associated telephone numbers. I figure I can use a pivot table to do this.
But I do not quite understand how to format the pivot table to put the name in one column and the phone number in the next. I will use this pivot table as a vlookup range. I assume I can do this.
I have two lists and I would like a formula which only returns unique values - similar to an advanced formula. Is this possible?
In the attached example my data is in columns C and D and I would like a formula in column E if possible. I need it to ignore the capitals. E.g. BLACKBURN and Blackburn appears in each list but I would only want one instance pulled through in column E.
I have a list of 9 values ranging from 1 to 9 generated by formulas in column A. they can only be "1,2,3,4,5,6,7,8, or 9" and can be repetitive. Is there a formula i can use (not macro please) that will show me what values are missing from the list?
A B 1 4 5 1 2 1 8 7 1
*Note there are 9 values in column A in any order. In this scenario the answer i would like shown is "3,6,9".
If seen a couple of examples but for whatever reason it doesn't work on my sheet. (Excel 2010 32 bit) I don't understand how to highlight the entire column to see this particular value is not in this list. I have two lists, I want to see what data am I missing In list 2 that I have in list one. Basically all I am trying to do is see what values are not in the second list but are in the first list so I can later add them to the second list. (Also the 2nd list is longer than the first if that makes a difference.)
I have a list in excel with ten values, but I need to get all combinations possible, picking 4 of 10 each combination. This must be as a combination and no permutation or variations either, I mean, values can't be repeated in a single combination.
I'm struggling to do this in a Macro but I don't get it.
The function below should return the value in a cell IF the string in the cell two cells to the left of it is "Nemo" Omitting the part highlighted in blue, my function returns a list of unique values...but when it's included, nothing is returned at all. Perhaps, there is an error in the syntax that I'm overlooking?
Function listUnique(rng As Range) As Variant Dim row As Range Dim elements() As String
I have been searching the forum for weeks now for an solution to my need, but was unsuccessful. I have two Workbooks. One is for tracking new enrollments in the school for whom I work named WVT.xls and the other is for tracking the school materials assigned to each student named 2007.xls (for inventory accounting). I need to streamline adding new enrollments names to both Workbooks by adding to only one manually and then using VBA code to update the names in the other workbook. The sequence would be to type the names into WVT.XLS and run a macro in 2007. XLS to automatically update the names. Below is the locations of the same named columns in each workbook.
First Name Last Name WVT.XLS Column B Column A
2007.XLS Column B Column C
In 2007.XLS, there is a sheet for each school location that is represented by a unique school code. In WVT.XLS, there is one sheet for all enrollments from the start of distributing materials. Each row is a student. There is a column that contains the unique school code to identify in which school the student has enrolled.
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 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:
fred 10 dave 1 jill 4 fred 11 marc 74
dave 1, fred 10,11 jill 4, marc 74,
so I start with a list
dave fred jill marc
and then run my code.
My code is:
Option Explicit Sub Compare() 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.