LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default 2 columns of data in 2 worksheets to compare and then SUMIF

Put this in C1 of worksheet 1:

=SUMPRODUCT((Sheet2!A$1:A$100=A1)*(Sheet2!B$1:B$10 0=B1),Sheet2!C$1:C
$100)

I've assumed you have 100 rows of data in Sheet2 - adjust as required.

Hope this helps.

Pete

On Apr 21, 5:06*pm, ACFO 57 <ACFO
wrote:
I want to use a sumif formula, but have two columns of data that need to
match two columns of data in worksheet 2 and then a third column of $ to sum
if both match. *See data below - worksheet 2 also has the column of $, and
below is where the formula will be in Col C. *Thanks!

CWC_BROOKS-CANDELA * * *BCBS
CWC_BROOKS-CANDELA * * *COMM
CWC_BROOKS-CANDELA * * *HMO/PPO
CWC_BROOKS-CANDELA * * *INDUSTRIAL BILLING
CWC_BROOKS-CANDELA * * *MCD
CWC_BROOKS-CANDELA * * *MCR
CWC_BROOKS-CANDELA * * *O GOV
CWC_BROOKS-CANDELA * * *O NON-GOV
CWC_BROOKS-CANDELA * * *SELF PAY
CWC_TIPPETT * * BCBS
CWC_TIPPETT * * COMM
CWC_TIPPETT * * HMO/PPO
CWC_TIPPETT * * INDUSTRIAL BILLING
CWC_TIPPETT * * MCD


 
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
Compare 2 worksheets all 6 columns in each worksheet Bud Excel Worksheet Functions 7 September 25th 08 02:26 PM
Compare 2 columns - new worksheets DTTODGG Excel Worksheet Functions 1 November 29th 05 03:36 PM
compare two columns with different ranges in two worksheets ch90 Excel Discussion (Misc queries) 2 October 14th 05 02:13 PM
how to compare columns in 4 worksheets Ellen Excel Discussion (Misc queries) 0 September 26th 05 07:01 PM
compare columns of different worksheets Classic Excel Discussion (Misc queries) 2 December 2nd 04 10:09 PM


All times are GMT +1. The time now is 01:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"