Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Matching two numeric values

Hi,

I have two sheets. I want to show in sheet 2 column B values in sheet 2
column A that match from column E sheet 1 and if they do not exist in sheet 1
column E then say do not exist and that cell in red colour.

Sheet 1 Sheet 2
Column E Column A Column B
1233 4875
1355 5875
4875 1355


Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 39
Default Matching two numeric values

Assuming there are no duplicate records in Sheet 1 Column E, a simple IF and
COUNTIF may do.

Sheet 1 Sheet 2
Column E Column A Column B
1 1233 4875 =if(countif(Sht1!$E:$E,Sht2!A1)=0,
"record not found",Sht2!A1)
2 1355 5875 (Copy the formula downward)
3 4875 1355


Hope this helps.



tipoo wrote:
Hi,

I have two sheets. I want to show in sheet 2 column B values in sheet 2
column A that match from column E sheet 1 and if they do not exist in sheet 1
column E then say do not exist and that cell in red colour.

Sheet 1 Sheet 2
Column E Column A Column B
1233 4875
1355 5875
4875 1355

Thanks


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200908/1

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
Exclude #N/A values and Return Numeric values to consecutive cells in Single Row Sam via OfficeKB.com Excel Worksheet Functions 5 February 9th 08 03:07 AM
Return Numeric Labels that have different Numeric Values Sam via OfficeKB.com Excel Worksheet Functions 8 December 3rd 06 02:06 AM
Return across Row Numeric Values Matching EXACT Month & Year for Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 October 22nd 06 11:30 PM
Return Numeric Values Matching EXACT Date for Criteria Sam via OfficeKB.com Excel Worksheet Functions 4 October 20th 06 11:20 PM
Matching numeric values. mohd21uk via OfficeKB.com Excel Discussion (Misc queries) 1 May 17th 06 02:40 PM


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