Related:

- Excel match two columns and output third
- Compare values in two columns and return the value from third ✓ - Forum - Excel
- Comparing two columns using partial match logic ✓ - Forum - Excel
- Excel: Comparing two columns and output data ✓ - Forum - Excel
- Excel partial match two columns - How-To - Excel
- Excel - Match a string to a column & increment by 1 - How-To - Excel

Ivan-hoe

- Posts
- 433
- Registration date
- Saturday February 16, 2008
- Status
- Member
- Last seen
- October 17, 2008

Hello,

use a VLOOKUP formula ; something like =VLOOKUP(A2;Sheets2!A:B;2;FALSE)

if the customer does not exist in the second sheet, this will return #N/A

I.

use a VLOOKUP formula ; something like =VLOOKUP(A2;Sheets2!A:B;2;FALSE)

if the customer does not exist in the second sheet, this will return #N/A

I.

Report

hai

Thanks...this solution really helped me to understand VLOOKUP....

Report

tra

=does if(a:b:c)

karthik

HI IVAN

i expect a similar kind of solution for my problem.

i have a list of 6 digit cheque numbers in ascending continuos serial order. for example, 223000,223001,223002.....etc. in one column 'A'.

then I have a list of 6 digit enchashed cheque numbers randomly in ascending oreder. i.e., 223002,237652, 238645,245674......etc like this in coumn 'B'

now I want to match these two columns and form a 3rd column with all un-encashed cheque nunbers.

akindly assume that all cheque numbers in column 'B' are defenitely available in column 'A'.

in terms of set theory, I want A-B ( here 'B' is a subset of set 'A').

kindly provide me with some solution for this

thank u

with regards

karthik

i expect a similar kind of solution for my problem.

i have a list of 6 digit cheque numbers in ascending continuos serial order. for example, 223000,223001,223002.....etc. in one column 'A'.

then I have a list of 6 digit enchashed cheque numbers randomly in ascending oreder. i.e., 223002,237652, 238645,245674......etc like this in coumn 'B'

now I want to match these two columns and form a 3rd column with all un-encashed cheque nunbers.

akindly assume that all cheque numbers in column 'B' are defenitely available in column 'A'.

in terms of set theory, I want A-B ( here 'B' is a subset of set 'A').

kindly provide me with some solution for this

thank u

with regards

karthik

karthik

hi xiao,

the above clomns are not correct.

see thie below column orders.

A B C

Issued Encashed Un-encashed cheq

230001 230002 230001

230002 230005

230003 230008 230003

230004 230009 230004

230005 230014

230006 230020 230006

230007 230024 230007

230008 230029

230009 230030

230010 230032 230010

230011 230033 230011

230012 230012

230013 230013

230014

230015 230015

230016 230016

230017 230017

230018 230018

230019 230019

230020

230021 230021

230022 230022

230023 230023

230024

230025 230025

230026 230026

230027 230027

230028 230028

230029

230030

230031 230031

230032

230033

230034 230034

the above clomns are not correct.

see thie below column orders.

A B C

Issued Encashed Un-encashed cheq

230001 230002 230001

230002 230005

230003 230008 230003

230004 230009 230004

230005 230014

230006 230020 230006

230007 230024 230007

230008 230029

230009 230030

230010 230032 230010

230011 230033 230011

230012 230012

230013 230013

230014

230015 230015

230016 230016

230017 230017

230018 230018

230019 230019

230020

230021 230021

230022 230022

230023 230023

230024

230025 230025

230026 230026

230027 230027

230028 230028

230029

230030

230031 230031

230032

230033

230034 230034

karthik

hi xiao,

sorry I tried to paste the columns from excel sheet but its alignment gets changed after posting.

hence I type directly here.

---------A ----- ---------B -------- -------C--------

Issued cheq Encashed cheq Un-encashed cheq

230001 230002 230001

230002 230004

230003 230006 230003

230004 230010

230005 230016 230005

230006 230020

230007 230007

230008 230008

230009 230009

230010

230011 230011

230012 230012

230013 230013

230014 230014

230015 230015

230016

230017 230017

230018 230018

230019 230019

230020

230021 230021

230022 230022

kindly help me

than u

with regards

karthik

sorry I tried to paste the columns from excel sheet but its alignment gets changed after posting.

hence I type directly here.

---------A ----- ---------B -------- -------C--------

Issued cheq Encashed cheq Un-encashed cheq

230001 230002 230001

230002 230004

230003 230006 230003

230004 230010

230005 230016 230005

230006 230020

230007 230007

230008 230008

230009 230009

230010

230011 230011

230012 230012

230013 230013

230014 230014

230015 230015

230016

230017 230017

230018 230018

230019 230019

230020

230021 230021

230022 230022

kindly help me

than u

with regards

karthik

Benzolio

Try putting the following in C1 and dragging it to fill down column C just as far as you have data in column A :

=IF(COUNTIF(B:B,A1)<1,A1,"")

Alternately, you could use soething like this array formula in column C:

{=IF(COUNTIF(B:B,A:A)<1,A:A,"")} [press ctrl-shift-enter]

Although it would be an inefficient solution as is, it should theoretically work with some tweaking. I tried it this way, but as an array function on the entire row C, it took a few minutes wasting time to compare all the empty cells.

=IF(COUNTIF(B:B,A1)<1,A1,"")

Alternately, you could use soething like this array formula in column C:

{=IF(COUNTIF(B:B,A:A)<1,A:A,"")} [press ctrl-shift-enter]

Although it would be an inefficient solution as is, it should theoretically work with some tweaking. I tried it this way, but as an array function on the entire row C, it took a few minutes wasting time to compare all the empty cells.

karthik

hi xiao,

thank u for ur advice . I tried ur formula but I could not get the result as I desired. I explain my problem in the following way.

Sheet-1

A B C

Issued Encashed Un-encashed cheq

230001 230002 230001

230002 230005

230003 230008 230003

230004 230009 230004

230005 230014

230006 230020 230006

230007 230024 230007

230008 230029

230009 230030

230010 230032 230010

230011 230033 230011

230012 230012

230013 230013

230014

230015 230015

230016 230016

230017 230017

230018 230018

230019 230019

230020

230021 230021

230022 230022

230023 230023

230024

230025 230025

230026 230026

230027 230027

230028 230028

230029

230030

230031 230031

230032

230033

230034 230034

i want a result in column 'C' as above. we can also put column B data in 1st column and column A data in 2nd column but the result must be column C as abobe.the no. of data in column'B'(as above) will be defenitely less than that in column'A'(as above).

in a nutshell, out of 1000 cheques issued 700 cheques have been encashed randomly. but how to find out the remaining 300 cheques from the original list.

all data are in the same sheet. kindly tel me about what 'sheet!a:b" represent in ur earlier formula.

kindly help me.

thank u

with regards

karthik

thank u for ur advice . I tried ur formula but I could not get the result as I desired. I explain my problem in the following way.

Sheet-1

A B C

Issued Encashed Un-encashed cheq

230001 230002 230001

230002 230005

230003 230008 230003

230004 230009 230004

230005 230014

230006 230020 230006

230007 230024 230007

230008 230029

230009 230030

230010 230032 230010

230011 230033 230011

230012 230012

230013 230013

230014

230015 230015

230016 230016

230017 230017

230018 230018

230019 230019

230020

230021 230021

230022 230022

230023 230023

230024

230025 230025

230026 230026

230027 230027

230028 230028

230029

230030

230031 230031

230032

230033

230034 230034

i want a result in column 'C' as above. we can also put column B data in 1st column and column A data in 2nd column but the result must be column C as abobe.the no. of data in column'B'(as above) will be defenitely less than that in column'A'(as above).

in a nutshell, out of 1000 cheques issued 700 cheques have been encashed randomly. but how to find out the remaining 300 cheques from the original list.

all data are in the same sheet. kindly tel me about what 'sheet!a:b" represent in ur earlier formula.

kindly help me.

thank u

with regards

karthik

DON'T MISS

- How to Create a Gmail Account
- How to Disabled Write Protection on a USB
- How to Recover a Disabled Facebook Account
- How to Fix a Blurry Snapchat Video
- How to Recover Your Yahoo Account
- How to Get More Followers on Instagram
- Computer Boots to Black Screen
- How to Upload High Quality Photos to Instagram
- Facebook Code Not Received
- How to Install a VPN