Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Trying to compare the datas...

Is there a function I can use for the following:

Sheet1:
A B
1 John OK
2 Mark
3 Dan OK

Sheet2:
A
1 John
2 Dan

So if "John" from Sheet1 can be found in Sheet2 column A, then display OK at
Sheet1 column B Row 1. Can this be done?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Trying to compare the datas...

Use this formula in Sheet1 B1

=IF(ISNA(MATCH(A1,Sheet2!A:A,0)),"","OK")

--
If this post helps click Yes
---------------
Jacob Skaria


"Astro" wrote:

Is there a function I can use for the following:

Sheet1:
A B
1 John OK
2 Mark
3 Dan OK

Sheet2:
A
1 John
2 Dan

So if "John" from Sheet1 can be found in Sheet2 column A, then display OK at
Sheet1 column B Row 1. Can this be done?

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
Counting datas in one range based on datas in another range Irene Excel Discussion (Misc queries) 1 November 11th 08 11:51 PM
A chart with 2 datas ymcj Charts and Charting in Excel 2 May 2nd 08 12:23 PM
import datas from one excel to another Krishnakanth New Users to Excel 1 May 2nd 07 06:19 PM
Looking Up Datas when Key Values are Identical Frank Excel Worksheet Functions 3 November 2nd 06 03:06 AM
Datas from Access Saboto Excel Discussion (Misc queries) 1 July 3rd 06 03:14 PM


All times are GMT +1. The time now is 02:36 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"