LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default Single formula to find match across four columns?

I'm sure there is a way to do this, I'm just having trouble with the syntax.

On Sheet1, I have some values in Columns A and C
On Sheet 2, I have some values in Column D and J.

For any given row, I need to locate where in the other sheet the value in
Sheet1(A) matches the value in Sheet2(D) /and/ the value in Sheet1(C)
matches the value in Sheet2(J).

These sheets will be continuously updated and sorted by other folks, so I
need to stay away from more complicated solutions like using an extra column
to concatenate A&C in Sheet1 and a column to concatenate D&J in Sheet2, then
match against those- I'm trying to craft a match statement that will include
the concatenation in the formula itself.

=MATCH(D2&"."&J2,('Raw'!A1:A65000)&"."&('Raw'!A1:C 65000),FALSE)

There is the possibility of an overlap in the concatenated strings, so I'm
also adding a character that never shows up in the raw reports to ensure
that I don't confuse "cat" & "stick" with "cats" and "tick"; instead I'll
compare cat.stick with cats.tick and realize they don't match.

Any ideas?
Thanks!
Keith


 
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
find match formula maijiuli Excel Worksheet Functions 4 August 9th 07 07:06 PM
Find A Match Formula carl Excel Worksheet Functions 3 February 27th 07 10:57 PM
Index Match Two columns Find Last Bottom henryriver1 Excel Worksheet Functions 4 May 26th 06 04:49 PM
Find Multiple instances of Single Criterion in Row & Return To a Single Col Sam via OfficeKB.com Excel Worksheet Functions 16 May 10th 06 03:00 AM
Find match between 2 columns and then record data that is in colum Karl Excel Discussion (Misc queries) 3 December 8th 05 09:56 PM


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