Vlookup - Compare Two Columns
Oct 26, 2009
I need a Vlookup to look at two columns when searching. here is an example:
Sheet 1 is my report grid to hand out to the employees, A1 has a drop-down list with my employees names and A2 one for the month, when you click an employee name the vlookup formula fills in the information from sheet 2 (data sheet).
Sheet 2 has data like: Col 1= Month, col 2=employee L-name, col 3= production etc...
currently the vlookup formula messes up because the employee name is in there multiple times because of the months column, i have to delete all months except the one i need. formula is: =vlookup(A1,'sheet2'!,B:C,2,false)
this formula will pull the data in sheet two column 3 (production) for the employee that matches.
how can i make it compare first to col 1 (month) and then col 2 (employee).
View 10 Replies
ADVERTISEMENT
Oct 26, 2012
I'm having difficulties using vlookup to compare two columns of TEXT data. My goal is find out how many of items in the "Eligible Serial Numbers" list have been ordered for destruction. The items listed for destruction are listed in the "Serial Numbers (destroyed).
Whenever I put in a VLOOKUP, I get a serial number that doesn't make sense to me. For example, if I want to find out if "362351581" from the Eligible List appears on the destroyed list. What do you suggest?
Code:
Destroyed? (i.e. Vlookup formula in this column)
Eligible Serial Numbers
Serial Numbers (destroyed)
362351581
362351581
[Code]....
View 9 Replies
View Related
Oct 13, 2008
I'm trying to compare values in 2 separate columns to see how many times the same value appears in both columns. Ideally I would be able to insert a range function to compare the values in the column "ID 1" against the values in column "ID 2" and return the count of times that a value appears in both columns. For example 2122, 1112 and 1718 appear in both columns and I would like the formula to return a count of 3.
ID 1ID 2
12342122
45671112
89101718
11122678
13144544
15162324
17189987
19201215
21221928
1976
2576
2345
4678
In my actual project I'm comparing 2 columns in the same worksheet. The column are column B with data in cells B2:B10266 against column C with data in cells C2:C18560.
View 4 Replies
View Related
Feb 21, 2009
what I'm after is a macro to check the contents of Column 'A' against column 'B' and display any duplicates in Columns 'C' & 'D'.
N.B. The headings of Columns C & D are :-
C = Value Found in Column A
D = Value Found in Column B
Any duplicate entries logged in columns C & D should be listed in C2,C3,C4....C20 and D2,D3,D4......D20 etc (in effect creating two new lists)
View 5 Replies
View Related
Jun 23, 2013
I'm trying to compare two quantities on two different sheets. I've used VLOOKUP in the past on other sheets. This time round I cannot understand how to us it on this query when the data is contained and mixed in one cell.
Here goes explaining..
Sheet1, shows we have stock of Mini Speakers in blue, the 'Main SKU', 'Size' and 'Current Stock'
'Current Stock' is the cell we are trying to compare
Sheet1.PNG
Sheet2 shows the 'SKU', 'Name' and 'Option1'. Option1 contains the values I'm trying to compare... sku":"X-MiniB-S","value":"S","quantity":"1"
Sheet2.jpg
Basically, I need to check that 'Current Stock' matches the value in 'Options1' and return a value if they do not match.
View 9 Replies
View Related
Jan 8, 2010
comparing cell data 1 from data 2 but what I need to extract are only the numbers and using a vlookup.
Data from 1 Data from 2 DN000254162 GSODN000254162 IN0513231 GSOIN0513231 CI/0003216535/BAH CI/3216535/BAH
View 9 Replies
View Related
Apr 23, 2009
SHEET1 Cell A1 HAS EIGHT CHARACTERS THAT MATCH THE FIRST 6 CHARACTERS IN A1 OF SHEET2. BUT, SHEET1 CELL A1 THE FIRST CELL HAS 8 OR MORE CHARACTERS.
HOW DO I GET A VLOOKUP TO COMPARE TO FIRST 6 CHARACTERS OF SHEET1 TO FIRST 6 IN SHEET 2? In columm B sheet1 i would like the result of column c sheet to, e.g. 9
E.G.
SHEET1
A B C
DOGGIEDO
SHEET2
A B C
DOGGIE 5 9
View 3 Replies
View Related
Mar 18, 2013
I have a somewhat convoluted problem. I am trying to develop a QA tool that compares data from a user-created spreadsheet against data from an automated spreadsheet. From my (admittedly small) understanding of Excel, this would be easy to do using VLOOKUP, however there will not be any unique IDs between two columns.
To better visualize this, imagine on Sheet A the following:
Placement Name
Ad Tag
Clickthrough URL
[Code]....
Essentially what I am trying to do compare data from a manually filled in sheet against data that would output the above, and make sure that everything matches up correctly. .
View 9 Replies
View Related
Jul 24, 2014
I'm trying to compare two very large files to find some that are in one AND also in the other. I'm using =VLOOKUP(C2,Parts2!C:D,1,FALSE) and my results are #N/A for all of them. I have formatted both columns as 'General' because there can be letters and numbers in the serial number, I have also tried formatting as text to no avail. I have confirmed no preceding or trailing spaces or other special characters.
I am however, able to locate values in both documents using Ctrl F. I'm totally puzzled because I've always been able to figure out what's causing my Vlookup issues when I have them but this time I'm not able to.
View 14 Replies
View Related
Sep 1, 2013
I am trying to compare two lists and extract from one to add back to the source. However neither are alphabetically.
List 1
accessories
belt
boots
cardigan
coat
glasses
gloves
hat
List 2
tshirt
tshirt
jumper
jumper
jumper
tshirt
shoes
cardigan
So i would the vlookup to add automatically back to list 1 tshirt, jumper and shoes.
List 1 would now look like this
accessories
belt
boots
cardigan
coat
glasses
gloves
hat
tshirt
jumper
shoes
View 3 Replies
View Related
Sep 25, 2008
I'm curious if there's a way to use the Vlookup function to compare TWO values in TWO cells with two values in two OTHER cells (same row though) and return one value from another column. Something like
Vlookup(A2 & C2, Sheet2!A1:C400, 3, FALSE & FALSE)....? Does that make sense?
Say the values in A2 and C2 are in A24 and B24 respectively in Sheet2. Can it return C24 for me?
View 9 Replies
View Related
Mar 4, 2010
jane....kaser...highschool......A
jack....Anderson....college.....B
Jill....Lovin.....college.......C
if both jack+anderson in a same row adjacent cells
as per in my table it should return column 4 value (A)
can I use VLOOKUP?
is there another way ?
I want to search a block of two adjacent cells in a table and return its forth column value.
View 9 Replies
View Related
Jul 30, 2014
2014-07-30_16-52-23.png
Fist I want to compare ColB=ColH, if TRUE, compare colA=colG, if TRUE, again compare colC=colI, IF all this conditions true, then give (colD-colJ) on colL.
all the unmatched rows in 2 tables to populate with different for each table
View 4 Replies
View Related
Oct 22, 2012
I need to compare a string from say A1 to a range of cells in another workbook and if found return the value of a cell on the same row.
Something like - look up string value in A1 in other workbook.sheet1.A1:A65535 if matched return the value of matched row column b.
OR
IF Otherworkbook.sheet1.A20 = A1 return the value of B20
View 6 Replies
View Related
Jul 26, 2013
I need to compare add Column A&B in sheet1 and column A&B in sheet two and compare the two result for the difference(like vlookup).
formula to merge two cells in two sheet and compare.
View 3 Replies
View Related
Apr 18, 2007
i've check the other threads on how to compare two columns but for some reason it is still not working for me.
I have 2 columns. Column A is the master column and column B is the comparing list. If the company that is listed in Column B (Anywhere in column B) matches exactly with the company name in column A, I would like it to say "check" in column C.
View 9 Replies
View Related
Jan 23, 2009
I have two diffrent sets of columns of data on a spreadsheet one column set is A,B the other is D,E I want a formula or makro that will check columns A,B and compare it to D,E and if it finds a match will paste it in G,H is that possible and how would I do this?
View 9 Replies
View Related
Dec 12, 2006
I have two worksheets but have a same column named "Admin No.". I will need to compare the 2 "admin no." column.
Example:
Worksheet 1
Admin No.Name
1111Ali
2222James
3333Janet
4444Lihua
5555Ting Ting
6666Jasmine
Worksheet 2
Admin No.Name
1100Alvin
2200John
3300Mavis
4411Haoyi
5555Ting Ting
6677Jason
I will ike to compare both "admin no." column and when worksheet 1 5555 can be find in worksheet 2, it will return True. 6666 cannot find in worksheet 2 then it will return false.
View 4 Replies
View Related
Apr 14, 2014
I have numeric value in columns B, D, F, H.
I want to compare the values of these four cells in each row and update columns M (with the minimum value) and N (with the column of minimum value).
How can I manage this comparison?
View 2 Replies
View Related
Apr 30, 2014
I need to compare two columns A and B with a result in column E. BUT I don't want the result to be added together. ( since it's receipt numbers ) SO my formula is incorrect I need a formula that will show the receipt numbers next to each other divided by a comma or forward slash...
View 7 Replies
View Related
Jan 26, 2009
I have column A with 228 rows and column D with 314 rows. Both columns have the same data except that D has different data. I would like to line up everything that is the same in A and D and everything else in column D that is not the same move to G. Is there a quick way to do this?
View 5 Replies
View Related
Mar 3, 2009
I can find lots of ways to compare two lists with single columns, but I need a very basic guide to comparing multiple ones across two sets of data and then highlighting or extracting the unique records. I would prefer to keep the data in the existing columns for later sorting and other purposes.
I currently have the two datasets as two separate worksheets in an Excel 2003 file. The two datasets consist of the same three columns containing strings of text, but there is quite a difference in the number of rows. Dataset One is c. 3550 records, Dataset 2 is c. 1600. There are no duplicate records within each dataset, but there are duplications across the datasets and the records are in a different order, so it's not a matter of comparing Row 1 to Row 1 and so on. The data look a bit like this (semi-colons to show columns):
DATASET 1
Group;Family;Name
PM;Smith;Mary Anne
PM;Jones;Fred Henry
PD;Wilson;Peter John
PG;Green;William Laurence
...............
View 2 Replies
View Related
Dec 11, 2012
I want to compare Columns A and B and Insert value in C.
So if Column A is null, then place value of column B in C, otherwise place Value of A in C.
View 6 Replies
View Related
Aug 22, 2013
I want to compare two Excel workbooks which have multiple columns and identify the rows only if all the valves match in both the workbooks, i am attaching a file to understand better.
View 3 Replies
View Related
Sep 13, 2013
I have two columns that each contain about 100 serial numbers. Most of the serial numbers shoud be in both columns. How to I determine if there is a serial number that is only in one of the columns and not in the other?
View 4 Replies
View Related
Mar 6, 2014
I want to compare many columns and find duplication in the last one;
Example:
Column A Column B Column C Column D Column E
1234 1234 1 A OK
1235 1235 1 A OK
1236 1236 3 A OK
1237 1236 0 A OK
1238 1236 1 B Duplication found in different column
1239 1238 0 A OK
To get Column "C" which is calculate how many numbers in that row are repeated with respect to Column "B", I solve it by using : =COUNTIF(B:B,A2) ;
But I want to get a result of duplication in "Column E" by see if "Column B" + "Column D" has the same value regardless of number then say "OK", but if it is not than the before, then write "Duplication found in different column".
View 4 Replies
View Related
Apr 30, 2009
The code below compares values on sheet 4 column A to sheet 3 column A and then colors a cell "Green" (Temporary), later I will place data from sheet 4 into sheet 3.
I dont know why but when it finds data on sheet 4 that is not 100% numeric it errors out.
Run-time error '91'
Object variable or With block variable not set.
The data in sheet 4 column A is primarily numeric, there are and always will be some numeric/alpha strings.
I can change the value of sheet 4 A2 to "123x" from "123" and the code stops as described. Leaving sheet 4 A1 as 100% numeric, which works fine.
View 4 Replies
View Related
Sep 22, 2008
i'm trying to do some analyzing on an excel sheet and was seeing if there was a function that I could use to speed this up.
So in the file...
I want to Group what's in Column A So the 1's together and the 2's together... Once that is selected I want to know what the largest number in Column C is...
So if the function can select 1 in column A then tell me that 10 is the biggest number in Column C....
View 14 Replies
View Related
Dec 13, 2011
I'm trying to compare the 1st 7 days average this year vs the 1st 7 days average last year. How do I write the formula?
Last YearThis Year
536,212
852,865 417,290
345,981 702,816
850,560 189,808
335,285 691,152
572,165 283,036
842,145 404,916
735,364 528,332
121,475
348,793
697,944
876,360
671,170
928,103
View 4 Replies
View Related
Feb 15, 2012
I would like to have a macro or a function, which could compare two "A" columns in different workbooks. macro should run from the first one wb, which gonna have less data in a column than wb2. so, if, let's say, A3 in wb1 differs from A3 in wb2, an empty row should be added in wb1, and now we would jump and compare A4 in wb1 with A4 in wb2 and so on..
View 2 Replies
View Related