Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Comparing cloumns and write answer in third

I am sure this is an easy task, but at the moment I don't know where
to start.
I have an excel file with 2 tabs. In tab 1 I have 580 lines with
numbers:

Col1 col2 col3
1 80074635
2 80073639
3 93648329
..
..
..
580 80038938
============
In tab 2 I have 560 lines:

Col1 col2
1 80083476
2 80037363
3 83630923
..
..
..
560 89237383

===========
I want col3 in tab1 to have the value/text "YES" if the corresponding
number in col1 in tab1 exists ANYWHEREin col2 of tab2. If not the text
should be "NO"

What should I use to do this and how?
I am not so experienced in Excel so would appreciate to-the-point
solutions.

BH

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Comparing cloumns and write answer in third

Small error:
"I want col3 in tab1 to have the value/text "YES" if the
corresponding

number in col2 in tab1 exists ANYWHEREin col2 of tab2. If not the
text
^^^^^^
should be "NO" "

On 11 Mai, 10:42, Oladunk wrote:
I am sure this is an easy task, but at the moment I don't know where
to start.
I have an excel file with 2 tabs. In tab 1 I have 580 lines with
numbers:

Col1 col2 col3
1 80074635
2 80073639
3 93648329
.
.
.
580 80038938
============
In tab 2 I have 560 lines:

Col1 col2
1 80083476
2 80037363
3 83630923
.
.
.
560 89237383

===========
I want col3 in tab1 to have the value/text "YES" if the corresponding
number in col1 in tab1 exists ANYWHEREin col2 of tab2. If not the text
should be "NO"

What should I use to do this and how?
I am not so experienced in Excel so would appreciate to-the-point
solutions.

BH



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
Data merging from two cloumns into one AMCD Excel Discussion (Misc queries) 10 February 18th 08 11:11 PM
how to seperate cell contents into two cloumns ? TimR Excel Discussion (Misc queries) 5 February 10th 07 05:41 AM
answer to odd results when comparing hyperlink addresses Patricia Shannon Links and Linking in Excel 0 March 9th 06 07:28 PM
comparing data and write values if true Jon-Henrik Excel Programming 2 November 28th 03 09:01 AM
Pivottable total cloumns aaron merriman Excel Programming 1 October 2nd 03 09:27 PM


All times are GMT +1. The time now is 10:46 AM.

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

About Us

"It's about Microsoft Excel"