Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Alex
 
Posts: n/a
Default calculating SUM with two conditions

I have a main spreadsheet with columns as follow:
A C AT
Product ID Group TOTAL
BBB TOP formula ?
SSS TOP
CCC AAP
BBB AAP

And some spreadsheets with the same structure
Sheet 1:
A C AT
Product ID Group TOTAL
BBB TOP 100
SSS AAP 200
CCC AAP 100
CCC TOP 400

The same product can be for different groups.

To calculate just TOTAL for Product ID without Group Im using the following
formula:
=SUMIF('Sheet 1'!$A$4:$A$390,A3, 'Sheet 1'!$AY$4:$AY$390) for the
spreadsheet where are only Product ID and TOTAL

This formula is taking the same Product ID from the Sheet1 and calculating
the SUM.
Its working well.

How is it possible to take the same product and the same group from the
Sheet 1 to calculate SUM?

Thanks



  #2   Report Post  
Gary Brown
 
Posts: n/a
Default

You need to create an array formula. Check out Chip Pearson's site.
http://www.cpearson.com/excel/array.htm
HTH,
Gary Brown


"Alex" wrote:

I have a main spreadsheet with columns as follow:
A C AT
Product ID Group TOTAL
BBB TOP formula ?
SSS TOP
CCC AAP
BBB AAP

And some spreadsheets with the same structure
Sheet 1:
A C AT
Product ID Group TOTAL
BBB TOP 100
SSS AAP 200
CCC AAP 100
CCC TOP 400

The same product can be for different groups.

To calculate just TOTAL for Product ID without Group Im using the following
formula:
=SUMIF('Sheet 1'!$A$4:$A$390,A3, 'Sheet 1'!$AY$4:$AY$390) for the
spreadsheet where are only Product ID and TOTAL

This formula is taking the same Product ID from the Sheet1 and calculating
the SUM.
Its working well.

How is it possible to take the same product and the same group from the
Sheet 1 to calculate SUM?

Thanks



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
calculating excel spreadsheet files for pensions and life insurance (including age calculation sheets) RICHARD Excel Worksheet Functions 1 March 15th 05 05:49 PM
AGE CALCULATING EXCEL SPREADSHEETS AND OTHERS! RICHARD Excel Discussion (Misc queries) 0 March 1st 05 01:53 PM
How do I count number of cels the matches 2 conditions ? Abra Excel Worksheet Functions 2 February 27th 05 08:56 PM
should be possible to add more conditions to conditional formatti. excel_jan Excel Discussion (Misc queries) 3 February 9th 05 06:41 PM
How to multiple conditions to validate more than 2 conditions to . Bhuvana Govind Excel Worksheet Functions 1 January 28th 05 07:07 PM


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