A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

matching & combining data from seperate worksheets



 
 
Thread Tools Display Modes
  #1  
Old May 10th, 2010, 02:25 PM posted to microsoft.public.excel.worksheet.functions
sshaefer
external usenet poster
 
Posts: 1
Default matching & combining data from seperate worksheets

Hi, I am working on a data import and need to get the opportunity name from
one data source into the appropriate row to matching shipments from another
data source, I have two matching fields in each database. customer id and
part number..

I need to search 2 columns of data by row on two seperate worksheets and
return a seperate column if they match.

Ex:
Worksheet A: Shipment Data, Column C (customer id) & column F (Item Id)
Worksheet B: Opportunity Data, Column A (customer id) & column B (Part Number)

on worksheet A Column E, I need a formula that will search column C on
current worksheet and compare it to column A from worksheet B, if a customer
id matches, I need it to compare the item id's from the same row, if both the
customer id and item/part # match on a row, then I need it to return the
opportunity name (column C from Worksheet B) to the row that contains the
matching cust. Id and part numb on worksheet A .

is this even possible?

Thanks
  #3  
Old May 10th, 2010, 02:47 PM posted to microsoft.public.excel.worksheet.functions
Don Guillett[_2_]
external usenet poster
 
Posts: 607
Default matching & combining data from seperate worksheets

Sounds like a sumproduct formula will work for you.
=sumproduct((a2:a22="name")*(b2:b22=number)*c2:c22 )

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"sshaefer" wrote in message
...
Hi, I am working on a data import and need to get the opportunity name
from
one data source into the appropriate row to matching shipments from
another
data source, I have two matching fields in each database. customer id and
part number..

I need to search 2 columns of data by row on two seperate worksheets and
return a seperate column if they match.

Ex:
Worksheet A: Shipment Data, Column C (customer id) & column F (Item Id)
Worksheet B: Opportunity Data, Column A (customer id) & column B (Part
Number)

on worksheet A Column E, I need a formula that will search column C on
current worksheet and compare it to column A from worksheet B, if a
customer
id matches, I need it to compare the item id's from the same row, if both
the
customer id and item/part # match on a row, then I need it to return the
opportunity name (column C from Worksheet B) to the row that contains the
matching cust. Id and part numb on worksheet A .

is this even possible?

Thanks


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:07 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.