Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default VLOOKUP...help please!

I have two columns that I want to compare with each other. The column on the
right has extra values in it that the column on the left does not. I want to
identity the values in the right hand column that are not in the left hand
column. Like so...

(Column A) (Column B)
(Row 1) B0001 B0001
(Row 2) B0002 B0002
(Row 3) B0003 B0003
(Row 4) B0004 B0004
(Row 5) B0005 B0005
(Row 6) C0001 B0006
(Row 7) C0002 B0007
(Row 8) C0003 B0008
(Row 9) C0004 B0009
(Row 10) C0005 C0001
(Row 11) C0002
(Row 12) C0003
(Row 13) C0004
(Row 14) C0005
(Row 15) C0006
(Row 16) C0007
(Row 17) C0008

I would like to create a column C that says whether the value in column B is
in column A.

This probably sounds quite simple to you guys but I can't for the life of me
work out how to do this. It all seems to go a bit wrong on row 7 where the
same values aren't aligned with each other.

In reality this spreadsheet has thousands of rows so if I could get this
formula to work it would be a great great help to me.

Thank you so much in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default VLOOKUP...help please!

Clare,

This will return TRUE if the value from B is not found in A:

In C1, then copy down:
=ISERROR(MATCH(B1,A:A,FALSE))

Or, to use a different flag:

=IF(ISERROR(MATCH(B1,A:A,FALSE)),"Not Found in Column A","")


HTH,
Bernie
MS Excel MVP


"ClareMylrea" wrote in message
...
I have two columns that I want to compare with each other. The column on the
right has extra values in it that the column on the left does not. I want to
identity the values in the right hand column that are not in the left hand
column. Like so...

(Column A) (Column B)
(Row 1) B0001 B0001
(Row 2) B0002 B0002
(Row 3) B0003 B0003
(Row 4) B0004 B0004
(Row 5) B0005 B0005
(Row 6) C0001 B0006
(Row 7) C0002 B0007
(Row 8) C0003 B0008
(Row 9) C0004 B0009
(Row 10) C0005 C0001
(Row 11) C0002
(Row 12) C0003
(Row 13) C0004
(Row 14) C0005
(Row 15) C0006
(Row 16) C0007
(Row 17) C0008

I would like to create a column C that says whether the value in column B is
in column A.

This probably sounds quite simple to you guys but I can't for the life of me
work out how to do this. It all seems to go a bit wrong on row 7 where the
same values aren't aligned with each other.

In reality this spreadsheet has thousands of rows so if I could get this
formula to work it would be a great great help to me.

Thank you so much in advance.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default VLOOKUP...help please!

HI Clare

In C1 enter
=IF(COUNTIF(B:B,A1)0,"Exists","")
Copy down column C as far as required

--
Regards
Roger Govier

"ClareMylrea" wrote in message
...
I have two columns that I want to compare with each other. The column on
the
right has extra values in it that the column on the left does not. I want
to
identity the values in the right hand column that are not in the left hand
column. Like so...

(Column A) (Column B)
(Row 1) B0001 B0001
(Row 2) B0002 B0002
(Row 3) B0003 B0003
(Row 4) B0004 B0004
(Row 5) B0005 B0005
(Row 6) C0001 B0006
(Row 7) C0002 B0007
(Row 8) C0003 B0008
(Row 9) C0004 B0009
(Row 10) C0005 C0001
(Row 11) C0002
(Row 12) C0003
(Row 13) C0004
(Row 14) C0005
(Row 15) C0006
(Row 16) C0007
(Row 17) C0008

I would like to create a column C that says whether the value in column B
is
in column A.

This probably sounds quite simple to you guys but I can't for the life of
me
work out how to do this. It all seems to go a bit wrong on row 7 where
the
same values aren't aligned with each other.

In reality this spreadsheet has thousands of rows so if I could get this
formula to work it would be a great great help to me.

Thank you so much in advance.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default VLOOKUP...help please!

Thank you SO MUCH for your help with this. It works perfectly.

You have made my day! :-) :-) :-)

"Bernie Deitrick" wrote:

Clare,

This will return TRUE if the value from B is not found in A:

In C1, then copy down:
=ISERROR(MATCH(B1,A:A,FALSE))

Or, to use a different flag:

=IF(ISERROR(MATCH(B1,A:A,FALSE)),"Not Found in Column A","")


HTH,
Bernie
MS Excel MVP


"ClareMylrea" wrote in message
...
I have two columns that I want to compare with each other. The column on the
right has extra values in it that the column on the left does not. I want to
identity the values in the right hand column that are not in the left hand
column. Like so...

(Column A) (Column B)
(Row 1) B0001 B0001
(Row 2) B0002 B0002
(Row 3) B0003 B0003
(Row 4) B0004 B0004
(Row 5) B0005 B0005
(Row 6) C0001 B0006
(Row 7) C0002 B0007
(Row 8) C0003 B0008
(Row 9) C0004 B0009
(Row 10) C0005 C0001
(Row 11) C0002
(Row 12) C0003
(Row 13) C0004
(Row 14) C0005
(Row 15) C0006
(Row 16) C0007
(Row 17) C0008

I would like to create a column C that says whether the value in column B is
in column A.

This probably sounds quite simple to you guys but I can't for the life of me
work out how to do this. It all seems to go a bit wrong on row 7 where the
same values aren't aligned with each other.

In reality this spreadsheet has thousands of rows so if I could get this
formula to work it would be a great great help to me.

Thank you so much in advance.




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default VLOOKUP...help please!

Thanks Roger :-)

"Roger Govier" wrote:

HI Clare

In C1 enter
=IF(COUNTIF(B:B,A1)0,"Exists","")
Copy down column C as far as required

--
Regards
Roger Govier

"ClareMylrea" wrote in message
...
I have two columns that I want to compare with each other. The column on
the
right has extra values in it that the column on the left does not. I want
to
identity the values in the right hand column that are not in the left hand
column. Like so...

(Column A) (Column B)
(Row 1) B0001 B0001
(Row 2) B0002 B0002
(Row 3) B0003 B0003
(Row 4) B0004 B0004
(Row 5) B0005 B0005
(Row 6) C0001 B0006
(Row 7) C0002 B0007
(Row 8) C0003 B0008
(Row 9) C0004 B0009
(Row 10) C0005 C0001
(Row 11) C0002
(Row 12) C0003
(Row 13) C0004
(Row 14) C0005
(Row 15) C0006
(Row 16) C0007
(Row 17) C0008

I would like to create a column C that says whether the value in column B
is
in column A.

This probably sounds quite simple to you guys but I can't for the life of
me
work out how to do this. It all seems to go a bit wrong on row 7 where
the
same values aren't aligned with each other.

In reality this spreadsheet has thousands of rows so if I could get this
formula to work it would be a great great help to me.

Thank you so much in advance.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( Oso Excel Worksheet Functions 2 January 26th 05 06:56 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 01:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"