Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Bob Bob is offline
external usenet poster
 
Posts: 972
Default matching multiple columns on different worksheets

I have two worksheets with the same information in columns A,B and C. My
second worksheeet has hours worked in Column D. What I would like to do is
have a formula that states if columns A B and C are equal in both tables to
have the result in column D in my seocnd table to appear in column P of my
first table.
For Example:

if A2 Worksheet1 = A2 Worksheet2
if B2 Worksheet1 = B2 Worksheet2
if C2 Worksheet1 = C2 Worksheet2
then put amount in D2 Worksheet2 in cell P2 of Worksheet1.

Thanks.


--
Bob
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,533
Default matching multiple columns on different worksheets

Hi Bob

Enter this formula in P2 of sheet1.

=IF(Sheet1!A2=Sheet2!A2,IF(Sheet1!B2=Sheet2!B2,IF( Sheet1!C2=Sheet2!C2,Sheet2!D2)),"")

Regards,
Per

"Bob" skrev i meddelelsen
...
I have two worksheets with the same information in columns A,B and C. My
second worksheeet has hours worked in Column D. What I would like to do is
have a formula that states if columns A B and C are equal in both tables
to
have the result in column D in my seocnd table to appear in column P of my
first table.
For Example:

if A2 Worksheet1 = A2 Worksheet2
if B2 Worksheet1 = B2 Worksheet2
if C2 Worksheet1 = C2 Worksheet2
then put amount in D2 Worksheet2 in cell P2 of Worksheet1.

Thanks.


--
Bob


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
Matching across multiple worksheets Pete Excel Worksheet Functions 2 February 9th 08 06:58 PM
Matching Multiple Columns [email protected] Excel Worksheet Functions 4 October 1st 06 06:18 AM
Matching multiple columns Rothman Excel Worksheet Functions 5 April 13th 06 12:39 PM
MATCHing through multiple worksheets [email protected] Excel Worksheet Functions 1 December 27th 05 08:31 PM
Find Matching Data in different columns of different worksheets No Name Excel Programming 0 June 30th 04 10:02 PM


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