Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default 2 spreadsheets multiple criteria into summary sheet

Hello all-

I have two sheets, sheet1 and sheet2. I am condensing sheet1 (filled with
approx 5000 rows to sort through)

Sheet1:
branch acct# name total
1 12345 misc $100.00
2 12345 misc $50.00
1 12367 oil $100.00

Sheet2:
branch acct# name total
1 12345 misc ???

If I was doing an if/then setup on this, it would be IF branch=1 AND
acct#=12345 AND name=misc on Sheet1 THEN put the total from sheet1 into the
total cell for sheet2. What would be the best way to tackle this? What
formula would I be placing in sheet2 total cell? Thanks In Advance - Jason
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default 2 spreadsheets multiple criteria into summary sheet

Try:

=SUMPRODUCT((Sheet1!$A$2:$A$4=Sheet2!A2)*(Sheet1!$ B$2:$B$4=Sheet2!B2)*(Sheet1!$C$2:$C$4=Sheet2!C2)*( Sheet1!$D$2:$D$4))

I assume there are multiple entries for a given combination otherwise what
is diferent between the two sheets?

The above will cater for 1 or more entries.

HTH

"ORLFREIGHTBOY" wrote:

Hello all-

I have two sheets, sheet1 and sheet2. I am condensing sheet1 (filled with
approx 5000 rows to sort through)

Sheet1:
branch acct# name total
1 12345 misc $100.00
2 12345 misc $50.00
1 12367 oil $100.00

Sheet2:
branch acct# name total
1 12345 misc ???

If I was doing an if/then setup on this, it would be IF branch=1 AND
acct#=12345 AND name=misc on Sheet1 THEN put the total from sheet1 into the
total cell for sheet2. What would be the best way to tackle this? What
formula would I be placing in sheet2 total cell? Thanks In Advance - Jason

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 270
Default 2 spreadsheets multiple criteria into summary sheet

Jason
If I am reading you right then the following might do the job:-

Type the formula below into Sheet 2 A2 and then copy across to D2.
Then copy all down as far as you need to go (5000 rows you said)

=IF(AND(Sheet1!$A2=1,Sheet1!$B2=12345,Sheet1!$C2=" misc"),Sheet1!A2,"")

Sort the list if you want after that

Sandy
"ORLFREIGHTBOY" wrote in message
...
Hello all-

I have two sheets, sheet1 and sheet2. I am condensing sheet1 (filled with
approx 5000 rows to sort through)

Sheet1:
branch acct# name total
1 12345 misc $100.00
2 12345 misc $50.00
1 12367 oil $100.00

Sheet2:
branch acct# name total
1 12345 misc ???

If I was doing an if/then setup on this, it would be IF branch=1 AND
acct#=12345 AND name=misc on Sheet1 THEN put the total from sheet1 into
the
total cell for sheet2. What would be the best way to tackle this? What
formula would I be placing in sheet2 total cell? Thanks In Advance -
Jason



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
Summary sheet for multiple worksheets JohnnieBoy Excel Discussion (Misc queries) 1 October 30th 06 05:41 PM
Summary Sheet help with multiple sheets lacey125 Excel Discussion (Misc queries) 1 September 21st 06 08:40 PM
How do I compare two dBs(spreadsheets) based on multiple criteria? Zac-Diggity Excel Worksheet Functions 2 July 9th 06 06:48 PM
Summary Based on Multiple Criteria Phillycheese5 Excel Worksheet Functions 2 January 6th 06 03:06 PM
Summary of multiple spreadsheets: Peter Excel Worksheet Functions 2 January 4th 06 05:09 AM


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