Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default Multiple Conditions

I have a range in one sheet where

Sheet 1 (source data)
row 1 (D1:BY1)=dept (say 1100 through 1800)
Column B (B3:B277)=product code
(d3:by277) contains values

Sheet 2 (summary report)

Row 2 (d2:ad2) = Department
Column B (B4:B277) = Product Code

I need to calculate the sum of the values by department and product code.

I have tried = SUMPRODUCT('[Sheet1]Group Trial Balance -
Current'!$D$1:$BY$1=E$2)*('[Sheet1]Group Trial Balance -
Current'!$B$3:$B$277=$B144)*('[Sheet1]Group Trial Balance -
Current'!$D$3:$BY$277)

but I am not getting the correct value

Please and Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 747
Default Multiple Conditions

try this

=SUMPRODUCT((sheet1!$B$3:$B$277=Sheet2!$B4)*(sheet 1!$D$1:$BY$1=Sheet2!D
$2)*(sheet1!$D$3:$BY$277))


On Oct 22, 12:45*am, Curtis wrote:
I have a range in one sheet where

Sheet 1 (source data)
row 1 (D1:BY1)=dept (say 1100 through 1800)
Column B (B3:B277)=product code
(d3:by277) contains values

Sheet 2 (summary report)

Row 2 (d2:ad2) = Department
Column B (B4:B277) = Product Code

I need to calculate the sum of the values by department and product code.

I have tried = SUMPRODUCT('[Sheet1]Group Trial Balance -
Current'!$D$1:$BY$1=E$2)*('[Sheet1]Group Trial Balance -
Current'!$B$3:$B$277=$B144)*('[Sheet1]Group Trial Balance -
Current'!$D$3:$BY$277)

but I am not getting the correct value

Please and Thanks


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default Multiple Conditions

Disregard... Figured it out

Thanks

"Curtis" wrote:

I have a range in one sheet where

Sheet 1 (source data)
row 1 (D1:BY1)=dept (say 1100 through 1800)
Column B (B3:B277)=product code
(d3:by277) contains values

Sheet 2 (summary report)

Row 2 (d2:ad2) = Department
Column B (B4:B277) = Product Code

I need to calculate the sum of the values by department and product code.

I have tried = SUMPRODUCT('[Sheet1]Group Trial Balance -
Current'!$D$1:$BY$1=E$2)*('[Sheet1]Group Trial Balance -
Current'!$B$3:$B$277=$B144)*('[Sheet1]Group Trial Balance -
Current'!$D$3:$BY$277)

but I am not getting the correct value

Please and 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
Setting multiple conditions to return a figure from multiple cells Sapper Excel Discussion (Misc queries) 4 April 26th 09 10:33 PM
SUMPRODUCT or INDEX/MATCH for multiple conditions and multiple rec TravisB Excel Discussion (Misc queries) 21 March 16th 07 09:49 PM
How do I add multiple values that match multiple conditions? Joel Excel Discussion (Misc queries) 5 April 10th 06 01:32 PM
Combining Text from multiple cells under multiple conditions KNS Excel Worksheet Functions 2 June 15th 05 11:00 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 12:58 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"