#1   Report Post  
Adnan
 
Posts: n/a
Default VLOOK

Hi,
while using Excel i came across with the problem of comparisions.

In Sheet 1 i have three Columns (A, B & C ) and on Sheet 2 i have two
columns A& B. I need to match sheet 1 column A & B with Column Sheet 2 A & B
if both matched then Sheet 1 Column C text will be placed in sheet 2 column c
..

regards

  #2   Report Post  
Domenic
 
Posts: n/a
Default

Try...

Sheet2!C1, copied down:

=INDEX(Sheet1!$C$1:$C$100,MATCH(1,(Sheet1!$A$1:$A$ 100=Sheet2!A1)*(Sheet1!
$B$1:$B$100=Sheet2!B1),0))

....confirmed with CONTRO+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article ,
"Adnan" wrote:

Hi,
while using Excel i came across with the problem of comparisions.

In Sheet 1 i have three Columns (A, B & C ) and on Sheet 2 i have two
columns A& B. I need to match sheet 1 column A & B with Column Sheet 2 A & B
if both matched then Sheet 1 Column C text will be placed in sheet 2 column c
.

regards

  #3   Report Post  
RagDyeR
 
Posts: n/a
Default

Domenic's suggestion works with text and/or numbers being returned from
Column C.

However, if Column C *only* contains numbers, you have this non-array
option:

=SUMPRODUCT((Sheet1!$A$1:$A$20=A1)*(Sheet1!$B$1:$B $20=B1)*Sheet1!$C$1:$C$20)
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================



"Domenic" wrote in message
...
Try...

Sheet2!C1, copied down:

=INDEX(Sheet1!$C$1:$C$100,MATCH(1,(Sheet1!$A$1:$A$ 100=Sheet2!A1)*(Sheet1!
$B$1:$B$100=Sheet2!B1),0))

....confirmed with CONTRO+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article ,
"Adnan" wrote:

Hi,
while using Excel i came across with the problem of comparisions.

In Sheet 1 i have three Columns (A, B & C ) and on Sheet 2 i have two
columns A& B. I need to match sheet 1 column A & B with Column Sheet 2 A &

B
if both matched then Sheet 1 Column C text will be placed in sheet 2

column c
.

regards



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
vlook up and if formula Stuart Excel Worksheet Functions 5 June 6th 05 07:29 PM
Vlook up for matching data in two seperate sheets funky via OfficeKB.com Excel Discussion (Misc queries) 1 June 3rd 05 10:16 PM
Vlook up or index match jerry Excel Worksheet Functions 1 February 24th 05 04:29 AM
How do I use drop down list selections/values in a vlook up formu. CL Excel Discussion (Misc queries) 2 January 19th 05 10:39 PM
"Vlook up + IF" paula smith Excel Worksheet Functions 2 November 28th 04 03:20 PM


All times are GMT +1. The time now is 07:55 PM.

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"