Hi Sara

You can also use 

 

=SUMPRODUCT(--(Sheet2!$A$2:$A$7=Sheet1!B2)*--(Sheet2!$B$2:$B$7=Sheet1!C2)*Sh
eet2!$C$2:$C$7)

 

 

 

Regards

Rajan verma

+91 7838100659 [IM-Gtalk]

 

From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com]
On Behalf Of NOORAIN ANSARI
Sent: 07 May 2012 1:50
To: excel-macros@googlegroups.com
Subject: Re: $$Excel-Macros$$ match 2 columns

 

Hi Sara,

Please use..

=INDEX(Sheet2!$C$2:$C$7,MATCH(1,(Sheet2!$A$2:$A$7=Sheet1!B2)*(Sheet2!$B$2:$B
$7=Sheet1!C2),0))
or
=LOOKUP(2,1/((Sheet2!$A$2:$A$7=Sheet1!B2)*(Sheet2!$B$2:$B$7=Sheet1!C2)),Shee
t2!$C$2:$C$7)

with ctrl+shift+enter

See attached sheet,,,

-- 
Thanks & regards,
Noorain Ansari
www.noorainansari.com

 <http://www.excelmacroworld.blogspot.com> www.excelmacroworld.blogspot.com

 

On Sun, May 6, 2012 at 11:35 PM, Sara Lee <lee.sar...@gmail.com> wrote:

hi 
 i would like to have wgt column in sheet 1 updated based on whenever there
is a match on ozip and dzip columns in sheet1 and sheet 2. Can u pls give
exact formula?



-- 
FORUM RULES (986+ members already BANNED for violation)
 
1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
not get quick attention or may not be answered.
 
2) Don't post a question in the thread of another member.
 
3) Don't post questions regarding breaking or bypassing any security
measure.
 
4) Acknowledge the responses you receive, good or bad.
 
5) Cross-promotion of, or links to, forums competitive to this forum in
signatures are prohibited. 
 
NOTE : Don't ever post personal or confidential data in a workbook. Forum
owners and members are not responsible for any loss.
 
----------------------------------------------------------------------------
--------------------------
To post to this group, send email to excel-macros@googlegroups.com



 

 

 

-- 
FORUM RULES (986+ members already BANNED for violation)
 
1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
not get quick attention or may not be answered.
 
2) Don't post a question in the thread of another member.
 
3) Don't post questions regarding breaking or bypassing any security
measure.
 
4) Acknowledge the responses you receive, good or bad.
 
5) Cross-promotion of, or links to, forums competitive to this forum in
signatures are prohibited. 
 
NOTE : Don't ever post personal or confidential data in a workbook. Forum
owners and members are not responsible for any loss.
 
----------------------------------------------------------------------------
--------------------------
To post to this group, send email to excel-macros@googlegroups.com

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

Reply via email to