Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 57
Default SUMPRODUCT against rows, columns

I am trying to capture values that are based on companies/locations and
particular months. I think SUMPRODUCT can only work with columns or rows,
not both.

Category DEC JAN
COMP A $3,906,032.30 ($994,746.11)
COMP B $273,508.16 $218,465.10
COMP C $447,052.11 $447,560.21
COMP D $38,951.27 $102,457.13

What can I do to capture say Company C for Jan, so the value returned is
$447,560.21?

The system I pull the reports from to dump into excel sorts alphabetically.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default SUMPRODUCT against rows, columns

=SUMPRODUCT((A2:A5="COMP C")*(B1:C1="JAN"),B2:C5)


"Scott A" wrote:

I am trying to capture values that are based on companies/locations and
particular months. I think SUMPRODUCT can only work with columns or rows,
not both.

Category DEC JAN
COMP A $3,906,032.30 ($994,746.11)
COMP B $273,508.16 $218,465.10
COMP C $447,052.11 $447,560.21
COMP D $38,951.27 $102,457.13

What can I do to capture say Company C for Jan, so the value returned is
$447,560.21?

The system I pull the reports from to dump into excel sorts alphabetically.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 57
Default SUMPRODUCT against rows, columns

Appreciate the assist. Tried that earlier and it didn't work for me. I
probably missed a minor detail which you apparently got.

Again, thank you for the help.

"Teethless mama" wrote:

=SUMPRODUCT((A2:A5="COMP C")*(B1:C1="JAN"),B2:C5)


"Scott A" wrote:

I am trying to capture values that are based on companies/locations and
particular months. I think SUMPRODUCT can only work with columns or rows,
not both.

Category DEC JAN
COMP A $3,906,032.30 ($994,746.11)
COMP B $273,508.16 $218,465.10
COMP C $447,052.11 $447,560.21
COMP D $38,951.27 $102,457.13

What can I do to capture say Company C for Jan, so the value returned is
$447,560.21?

The system I pull the reports from to dump into excel sorts alphabetically.

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
Excel 2003 - change columns to rows and rows to columns Trish Excel Discussion (Misc queries) 0 August 17th 07 02:22 AM
Excel 2003 - change columns to rows and rows to columns JLatham Excel Discussion (Misc queries) 0 August 17th 07 02:05 AM
Combine multiple columns into two long columns, Repeating rows in first column [email protected] Excel Discussion (Misc queries) 2 July 31st 06 09:45 PM
Combine multiple columns into two long columns, Repeating rows in first column [email protected] Excel Discussion (Misc queries) 0 July 31st 06 05:07 PM
how to interchange rows to columns & columns to rows in a table kotakkamlesh Excel Discussion (Misc queries) 1 July 10th 06 07:58 AM


All times are GMT +1. The time now is 03:11 AM.

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"