#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default finding a match

That worked great! Now, is there a way to highlight the row if there is a
match?

"Mike H" wrote:

Hi,

You need a header row for this to work so with your first row of data in
A2&B2 put this in c2

=IF(ISERROR(MATCH(A2&B2,$A$1:$A1&$B$1:$B1,0)),"",M ATCH(A2&B2,$A$1:$A1&$B$1:$B1,0))


Enter as an array (CTRL+Shift+Enter) and drag down.

Mike
"SandyL" wrote:

I've got a spreadsheet that is getting new entries posted to it. I want to
know if a the same person with the same dollar amount has already been
entered before. The problem is that the MATCH formula is matching the line
with itself if it doesn't find a prior match. Is there any way to have the
match stop at the row just prior to the one being entered? (Without the user
having to maintain the formula)
Ex:

{=MATCH(A4&B4,$A:$A&$B:$B,0)}

NAME $$ Matched Row
joe 20 1 {=MATCH(A1&B1,$A:$A&$B:$B,0)}
sam 15 2 {=MATCH(A2&B2,$A:$A&$B:$B,0)}
ralph 50 3 {=MATCH(A3&B3,$A:$A&$B:$B,0)}
joe 20 1 {=MATCH(A4&B4,$A:$A&$B:$B,0)}

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
need to return next match of table, only finding first match...HEL nwtf_vol[_2_] Excel Worksheet Functions 0 January 23rd 08 01:42 AM
finding all cells that match a certain value OTS Excel Worksheet Functions 10 July 31st 07 03:24 AM
Finding Closest Match andyiain Excel Worksheet Functions 1 March 15th 06 07:24 PM
Finding a match in several columns Keren Excel Worksheet Functions 3 May 26th 05 02:32 PM
Finding a match Ken Excel Discussion (Misc queries) 4 March 18th 05 04:42 PM


All times are GMT +1. The time now is 09:16 AM.

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"