Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default matching data on seperate worksheets

I want to accomplish the following but am having a problem getting it
to work.

Two worksheets.
Sheet1 colA has a value of 123 and colb has no value yet.
Sheet2 colA row1, 2, and 3 have a value of 123 colB row1, 2 and 3 have
a value of say 100.

I want to from Sheet1 ColB row1 sea sheet2 col A for all matches to
sheet1!A1
if any row in colA of sheet2 matches Sheet1!A1 it adds the contents of
Sheet2 col B whatever rows have been matched, in this case row1, 2 and
3 and places the total in Sheet1!B1

HELP!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 422
Default matching data on seperate worksheets

Say Sheet 2 Range A1:B6 has:

123 100
123 50
123 25
234 50
234 35
234 10

Sheet1 Range A1:B2 has:

123 =SUMIF(Sheet2!$A$1:$A$6,Sheet1!A1,Sheet2!$B$1:$B$6 )
234 =SUMIF(Sheet2!$A$1:$A$6,Sheet1!A2,Sheet2!$B$1:$B$6 )

B1 will display 175
B2 will display 95

Is this close?










"Dale" wrote in message
om...
I want to accomplish the following but am having a problem getting it
to work.

Two worksheets.
Sheet1 colA has a value of 123 and colb has no value yet.
Sheet2 colA row1, 2, and 3 have a value of 123 colB row1, 2 and 3 have
a value of say 100.

I want to from Sheet1 ColB row1 sea sheet2 col A for all matches to
sheet1!A1
if any row in colA of sheet2 matches Sheet1!A1 it adds the contents of
Sheet2 col B whatever rows have been matched, in this case row1, 2 and
3 and places the total in Sheet1!B1

HELP!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default matching data on seperate worksheets


does exactly what I want it to do..thanks


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
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 & combining data from seperate worksheets sshaefer Excel Worksheet Functions 2 May 10th 10 02:47 PM
Matching address with two seperate worksheets Christie Excel Worksheet Functions 5 January 27th 09 01:36 AM
Matching data/columns from two seperate files Mike Excel Discussion (Misc queries) 5 August 22nd 08 08:09 PM
How do I seperate data from a pivot into seperate worksheets? Shannon Excel Discussion (Misc queries) 5 August 25th 05 06:07 AM
Vlook up for matching data in two seperate sheets funky via OfficeKB.com Excel Discussion (Misc queries) 1 June 3rd 05 10:16 PM


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